<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:35 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>[NETCONF-661] Netconf 1.1 chunk framing decoder is sensitive to extra LFs between Hello message and first chunk header</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-661</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Recently, our Netconf server implemented support for Netconf 1.1, which means that when using the Netconf 1.1-capable ODL to connect to the server, the Netconf chunk framing protocol is used after the inital Hello message.&lt;/p&gt;

&lt;p&gt;After the Hello message exchange, ODL queries the server for he supported Yang schemas under the /schema subtree.&lt;/p&gt;

&lt;p&gt;Earlier, when using Netconf 1.0, the rpc-reply sent by the server looked like the snippet in attachment &quot;get_base10.txt&quot;. It can be seen that there is one LF between the Hello message separator and the beginning of the following rpc-reply message. This works fine.&lt;/p&gt;

&lt;p&gt;When using Netconf 1.1, the&#160;&lt;font color=&quot;#172b4d&quot;&gt;the data sent by the server looks like the snippet in attachment &quot;get_base11.txt&quot;. It can be seen that there is now two LFs between the Hello message separator and the chunk header for the following rpc-reply message.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;The extra LF in our server&apos;s response message comes from the fact that the chunk header begins with a LF, which comes after the LF that trails the Hello message separator. It can be argued if this is correct or not.&#160;RFC 6242 is not clear whether it is allowed to have extra LFs between Hello message delimiter and the following chunk header.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;In any case, &lt;font color=&quot;#172b4d&quot;&gt;ODL doesn&apos;t like this extra LF, the NetconfChunkAggregor.java class complains about finding an LF instead of an # as the second byte in the header. An exception is thrown and the whole Netconf session setup fails and terminates.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;This ticket is a suggestion to make the ODL Netconf chunk framing protocol parser more robust, by being able to ignore extra LFs when looking for the beginning of the first chunk header after the Hello message.&#160;RFC 6242 is not clear whether it is allowed to have extra LFs between Hello message delimiter and the following chunk header, so it would be good to make ODL tolerant here.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="32513">NETCONF-661</key>
            <summary>Netconf 1.1 chunk framing decoder is sensitive to extra LFs between Hello message and first chunk header</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Martin_S">Martin Sandberg</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Mar 2020 15:02:37 +0000</created>
                <updated>Fri, 20 Mar 2020 11:20:54 +0000</updated>
                                                                            <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                            <attachment id="15620" name="get_base10.txt" size="1570" author="Martin_S" created="Thu, 19 Mar 2020 15:00:22 +0000"/>
                            <attachment id="15619" name="get_base11.txt" size="1623" author="Martin_S" created="Thu, 19 Mar 2020 15:00:22 +0000"/>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03rn3:</customfieldvalue>

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