<HTML><HEAD><META content="text/html; charset=UTF-8" http-equiv="Content-Type"></HEAD><BODY>Hi John, I guess it totally makes sense as a new type of rule for QoS, once the framework<BR>
is ready, it could make sense to add a "connection per second limit" or "max connection limit" <BR>
type of rule.<BR>
<BR>
John Joyce (joycej) wrote:<BR>
<blockquote type="cite"><BR>
Gal:<BR>
       I had seen the brute force blueprint and noticed how close the use case was.  Can you tell me the current status of the work?  Do you feel confident it can get into Liberty?  Ideally, we think this fits better with QoS.  Also I don’t think of it as providing FWaaS as we see that all VMs would be protected by this when enabled, but maybe that is just terminology.   We think these protections are critical so we are more concerned with having the ability to protect against these cases than the specific API or service it falls under.  Yes we would be interested in working together to get this pushed through.<BR>
                                                                                                                                 John<BR>
<BR>
From: Gal Sagie [mailto:gal.sagie@gmail.com]<BR>
Sent: Wednesday, June 17, 2015 12:45 PM<BR>
To: OpenStack Development Mailing List (not for usage questions)<BR>
Cc: lionel.zerbib@huawei.com; Derek Chamorro (dechamor); Eran Gampel<BR>
Subject: Re: [openstack-dev] [Neutron] [QOS] Request for Additional QoS capabilities<BR>
<BR>
Hi John,<BR>
<BR>
We were trying to push a very similar spec to enhance the security group API, we covered both DDoS case<BR>
and another use case for brute force prevention (We did a research to identify common protocols login behaviour<BR>
in order to identify brute force attacks using iptables) and even some UI work<BR>
<BR>
You can view the specs and implementations here:<BR>
1) https://review.openstack.org/#/c/184243/<BR>
2) https://review.openstack.org/#/c/154535/<BR>
3) https://review.openstack.org/#/c/151247/<BR>
4) https://review.openstack.org/#/c/161207/<BR>
<BR>
The spec didn't got approved as there is a strong opinion to keep the security group API compatible with Amazon.<BR>
I think this and your request fits much more into the FWaaS and if this is something you would like to work together on and push<BR>
i can help and align the above code to use FWaaS.<BR>
<BR>
Feel free to contact me if you have any question<BR>
<BR>
Thanks<BR>
Gal.<BR>
<BR>
<BR>
<BR>
On Wed, Jun 17, 2015 at 6:58 PM, John Joyce (joycej)<joycej@cisco.com<mailto:joycej@cisco.com>>  wrote:<BR>
Hello everyone:<BR>
       I would like to test the waters on some new functionality we think is needed to protect OpenStack deployments from some overload situations due to an excessive user or DDOS scenario.   We wrote this up in the style of an RFE.   Please let us know your thoughts and we can proceed with a formal RFE with more detail if there are no concerns raised.<BR>
<BR>
<BR>
*What is being requested*<BR>
This request is to extend the QOS APIs to include the ability to provide connection rate limiting<BR>
*Why is it being requested*<BR>
There are many scenarios where a VM may be intentionally malicious or become harmful to the network due to its rate of initializing TCP connections.   The reverse direction of a VM being attacked with an excessive amount of TCP connection requests either intentionally or due to overload is also problematic.<BR>
*Implementation Choices<BR>
    There might be a number of ways to implement this,  but one of the easiest would appear to be to extend the APIs being developed under:  https://review.openstack.org/#/c/187513/. An additional rule type “connections per-second” could be added.<BR>
The dataplane implementation itself may be realized with netfilter and conntrack.<BR>
*Alternatives<BR>
It would be possible to extend the security groups in a similar fashion,  but due to the addition of rate limiting, QoS seems a more nature fit.<BR>
*Who needs it*<BR>
Cloud operators have experienced this issue in real deployments in a number of cases.<BR>
<BR>
<BR>
__________________________________________________________________________<BR>
OpenStack Development Mailing List (not for usage questions)<BR>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe><BR>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<BR>
<BR>
<BR>
<BR>
--<BR>
Best Regards ,<BR>
<BR>
The G.<BR>
__________________________________________________________________________<BR>
OpenStack Development Mailing List (not for usage questions)<BR>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<BR>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</BODY></HTML>