[openstack-dev] [Neutron][IPv6][Security Group] BP: Support ICMP type filter by security group

Brian Haley brian.haley at hp.com
Tue Mar 4 17:01:00 UTC 2014


On 03/03/2014 11:18 AM, Collins, Sean wrote:
> On Mon, Mar 03, 2014 at 09:39:42PM +0800, Xuhan Peng wrote:
>> Currently, only security group rule direction, protocol, ethertype and port
>> range are supported by neutron security group rule data structure. To allow
> 
> If I am not mistaken, I believe that when you use the ICMP protocol
> type, you can use the port range specs to limit the type.
> 
> https://github.com/openstack/neutron/blob/master/neutron/db/securitygroups_db.py#L309
> 
> http://i.imgur.com/3n858Pf.png
> 
> I assume we just have to check and see if it applies to ICMPv6?

I tried using horizon to add an icmp type/code rule, and it didn't work.

Before:

-A neutron-linuxbri-i4533da4f-1 -p icmp -j RETURN

After:

-A neutron-linuxbri-i4533da4f-1 -p icmp -j RETURN
-A neutron-linuxbri-i4533da4f-1 -p icmp -j RETURN

I'd assume I'll have the same error with v6.

I am curious what's actually being done under the hood here now...

-Brian



More information about the OpenStack-dev mailing list