<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:20:46 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETVIRT-125] Security Groups (all implementations) - port_security extension and default DHCP/ICMP drop rules</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-125</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;These rules are configured when using transparent security groups - they are inherited from the generic SG implementation, and are automatically configured for all implementations.&lt;br/&gt;
The part that is bothering us are the drop flows - why would any drop flows be configured, when the default OpenStack behavior is drop for everything?&lt;br/&gt;
It would make sense to only explicitly allow certain traffic (such as DHCP requests in ingress and DHCP responses in egress).&lt;/p&gt;

&lt;p&gt;In addition, when extension_drivers = port_security is NOT configured in the neutron ml2_conf.ini, this causes DHCP to NOT WORK.&lt;br/&gt;
This is because it is assumed that the qdhcp ports will always have port_security disabled by default. The problem is that this requires the port_security extension driver to actually be configured.&lt;br/&gt;
We need to handle the case where it is not configured, and also consider getting rid of default drop rules - the point of transparent SG was that users that don&apos;t care about security don&apos;t have to deal with it.&lt;/p&gt;

&lt;p&gt;cookie=0x6900000, duration=1376.923s, table=40, n_packets=0, n_bytes=0, priority=63010,udp,metadata=0x20000000000/0x1fffff0000000000,tp_src=68,tp_dst=67 actions=resubmit(,17)&lt;br/&gt;
cookie=0x6900000, duration=1376.921s, table=40, n_packets=0, n_bytes=0, priority=63010,udp6,metadata=0x20000000000/0x1fffff0000000000,tp_src=546,tp_dst=547 actions=resubmit(,17)&lt;br/&gt;
cookie=0x6900000, duration=1376.920s, table=40, n_packets=3, n_bytes=1122, priority=63010,udp,metadata=0x20000000000/0x1fffff0000000000,tp_src=67,tp_dst=68 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=1376.919s, table=40, n_packets=0, n_bytes=0, priority=63010,udp6,metadata=0x20000000000/0x1fffff0000000000,tp_src=547,tp_dst=546 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=1376.917s, table=40, n_packets=0, n_bytes=0, priority=63020,icmp6,metadata=0x20000000000/0x1fffff0000000000,icmp_type=134,icmp_code=0 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=1376.917s, table=40, n_packets=0, n_bytes=0, priority=63010,icmp6,metadata=0x20000000000/0x1fffff0000000000 actions=resubmit(,17)&lt;br/&gt;
cookie=0x6900000, duration=1376.915s, table=40, n_packets=10, n_bytes=420, priority=63010,arp,metadata=0x20000000000/0x1fffff0000000000,arp_sha=fa:16:3e:94:72:e8 actions=resubmit(,17)&lt;br/&gt;
cookie=0x6900000, duration=1568.523s, table=40, n_packets=0, n_bytes=0, priority=0 actions=goto_table:41&lt;br/&gt;
cookie=0x6900000, duration=1568.524s, table=41, n_packets=3, n_bytes=804, priority=0 actions=resubmit(,17)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20046">NETVIRT-125</key>
            <summary>Security Groups (all implementations) - port_security extension and default DHCP/ICMP drop rules</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="alonko@hpe.com">Alon Kochba</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Sep 2016 11:00:25 +0000</created>
                <updated>Thu, 3 May 2018 14:36:59 +0000</updated>
                            <resolved>Sat, 3 Dec 2016 08:33:17 +0000</resolved>
                                    <version>Boron</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="36380" author="aswins" created="Fri, 9 Sep 2016 12:15:49 +0000"  >&lt;p&gt;The service binding and default flows are removed from transparent SG &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;So with this if portsecurity extension is not configured , SG mode should be transparent in ODL.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;https://git.opendaylight.org/gerrit/#/c/45418/&lt;/p&gt;</comment>
                            <comment id="36381" author="alonko@hpe.com" created="Thu, 3 Nov 2016 10:56:45 +0000"  >&lt;p&gt;(In reply to Aswin Suryanarayanan from comment #1)&lt;br/&gt;
&amp;gt; The service binding and default flows are removed from transparent SG &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; So with this if portsecurity extension is not configured , SG mode should be&lt;br/&gt;
&amp;gt; transparent in ODL.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;https://git.opendaylight.org/gerrit/#/c/45418/&lt;/p&gt;

&lt;p&gt;Hi Aswin,&lt;/p&gt;

&lt;p&gt;It seems you merged 45418 so I assume this ticket is off your radar.&lt;br/&gt;
However I think it&apos;s important we fix the case where port_security is disabled for learn/stateful SG use cases as well - do you want to keep this ticket as reminder?&lt;/p&gt;</comment>
                            <comment id="36382" author="aswins" created="Thu, 10 Nov 2016 08:29:32 +0000"  >&lt;p&gt;Alon,&lt;/p&gt;

&lt;p&gt;&amp;gt;In addition, when extension_drivers = port_security is NOT configured in the &amp;gt;neutron ml2_conf.ini, this causes DHCP to NOT WORK.&lt;/p&gt;

&lt;p&gt;When this is not configured the is_port security enabled will return false(I hope that is the default value). If so I think no rules will be configured, it should be similar as transparent as we check for is_port security enabled&lt;/p&gt;</comment>
                            <comment id="36383" author="alonko@hpe.com" created="Tue, 22 Nov 2016 15:33:34 +0000"  >&lt;p&gt;(In reply to Aswin Suryanarayanan from comment #3)&lt;br/&gt;
&amp;gt; Alon,&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt;In addition, when extension_drivers = port_security is NOT configured in the &amp;gt;neutron ml2_conf.ini, this causes DHCP to NOT WORK.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; When this is not configured the is_port security enabled will return false(I&lt;br/&gt;
&amp;gt; hope that is the default value). If so I think no rules will be configured,&lt;br/&gt;
&amp;gt; it should be similar as transparent as we check for is_port security enabled&lt;/p&gt;

&lt;p&gt;Aswin, missed your reply.&lt;br/&gt;
The problem is that when it isn&apos;t enabled, there is no port_security field at all (so no default value).&lt;/p&gt;

&lt;p&gt;It seems Isaku attempted to fix it for old netvirt, we probably need the same in new netvirt.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48355&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48355&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="36384" author="aswins" created="Sat, 3 Dec 2016 08:33:04 +0000"  >&lt;p&gt;This is now addressed. SG will not be inserted for network ports.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48902/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48902/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6668</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6668]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01pvb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>