Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-30 Thread Jay Pipes
On 04/29/2014 03:34 PM, Steven Kaufer wrote: Jay Pipes wrote on 04/29/2014 02:26:42 PM: > From: Jay Pipes > To: openstack-dev@lists.openstack.org, > Date: 04/29/2014 02:27 PM > Subject: Re: [openstack-dev] [Cinder] cinder not support query > volume/snapshot with reg

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-29 Thread Steven Kaufer
Jay Pipes wrote on 04/29/2014 02:26:42 PM: > From: Jay Pipes > To: openstack-dev@lists.openstack.org, > Date: 04/29/2014 02:27 PM > Subject: Re: [openstack-dev] [Cinder] cinder not support query > volume/snapshot with regular expression > > On 04/29/2014 02:16 AM, Zhangl

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-29 Thread Jay Pipes
to implement in Juno... Best, -jay zhangleiqiang (Trump) Best Regards *From:*laserjetyang [mailto:laserjety...@gmail.com] *Sent:* Tuesday, April 29, 2014 1:49 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [Cinder] cinder not support query

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-28 Thread Zhangleiqiang (Trump)
Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression It looks to me the Nova API will be dangerous source of DoS attacks due to the regexp? On Mon, Apr 28, 2014 at 7:04 PM, Duncan Thomas mailto:duncan.tho

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-28 Thread laserjetyang
It looks to me the Nova API will be dangerous source of DoS attacks due to the regexp? On Mon, Apr 28, 2014 at 7:04 PM, Duncan Thomas wrote: > Regex matching in APIs can be a dangerous source of DoS attacks - see > http://en.wikipedia.org/wiki/ReDoS. Unless this is mitigated sensibly, > I will c

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-28 Thread Trump.Zhang
Thanks for your reply. Regex matching can be implemented in Database, and glob matches may not work fine with "paginate_query". However, the ReDoS you mentioned will not be avoided when using regex matching. I will think of it again. Thanks. 2014-04-28 19:04 GMT+08:00 Duncan Thomas : > Regex

Re: [openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-28 Thread Duncan Thomas
Regex matching in APIs can be a dangerous source of DoS attacks - see http://en.wikipedia.org/wiki/ReDoS. Unless this is mitigated sensibly, I will continue to resist any cinder patch that adds them. Glob matches might be safer? On 26 April 2014 05:02, Zhangleiqiang (Trump) wrote: > Hi, all: > >

[openstack-dev] [Cinder] cinder not support query volume/snapshot with regular expression

2014-04-25 Thread Zhangleiqiang (Trump)
Hi, all: I see Nova allows search instances by name, ip and ip6 fields which can be normal string and regular expression: [stack@leiqzhang-stack cinder]$ nova help list List active servers. Optional arguments: --ip Search wi