<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:19 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>[CONTROLLER-555] Nmap scan of port 1830 causes exception</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-555</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This is a third of &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-530&quot; title=&quot;Nmap scans cause erroneous switch connection messages and exceptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-530&quot;&gt;&lt;del&gt;CONTROLLER-530&lt;/del&gt;&lt;/a&gt; which I was told by Devin Avery to split.&lt;/p&gt;

&lt;p&gt;Steps to recreate:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Starting with a fresh Fedora 20 Cloud VM on an OpenStack deployment with an IP I can reach&lt;br/&gt;
sudo yum update -y&lt;br/&gt;
sudo yum install -y java-1.7.0-openjdk unzip wget which&lt;br/&gt;
wget -P /home/fedora &apos;https://jenkins.opendaylight.org/integration/job/integration-project-centralized-integration/lastSuccessfulBuild/artifact/distributions/base/target/distributions-base-0.1.2-SNAPSHOT-osgipackage.zip&apos;&lt;br/&gt;
unzip distributions-base-0.1.2-SNAPSHOT-osgipackage.zip&lt;br/&gt;
cd /home/fedora/opendaylight&lt;br/&gt;
./run.sh&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;From another machine, in my case a second fresh Fedora 20 VM on an OpenStack deployment:&lt;br/&gt;
sudo yum update -y&lt;br/&gt;
sudo yum install -y nmap&lt;br/&gt;
nmap -Pn -p 1830 172.18.14.10  # IP of first VM&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;That nmap scan of port 1830 results in the following exception on the first VM (running ODL):&lt;/p&gt;

&lt;p&gt;    osgi&amp;gt; 2014-06-09 21:46:41.370 UTC &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-4-thread-3&amp;#93;&lt;/span&gt; WARN  o.o.c.netconf.ssh.threads.Handshaker - Session 3 SocketThread error &lt;br/&gt;
    java.net.SocketException: Connection reset&lt;br/&gt;
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.net.SocketOutputStream.write(SocketOutputStream.java:147) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at ch.ethz.ssh2.transport.ClientServerHello.exchange(ClientServerHello.java:82) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at ch.ethz.ssh2.transport.ClientServerHello.serverHello(ClientServerHello.java:73) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at ch.ethz.ssh2.transport.TransportManager.serverInit(TransportManager.java:614) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at ch.ethz.ssh2.ServerConnection.connect(ServerConnection.java:136) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at ch.ethz.ssh2.ServerConnection.connect(ServerConnection.java:94) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at org.opendaylight.controller.netconf.ssh.threads.Handshaker.run(Handshaker.java:106) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.util.concurrent.FutureTask.run(FutureTask.java:262) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;br/&gt;
            at java.lang.Thread.run(Thread.java:744) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_55&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;    osgi&amp;gt; &lt;/p&gt;


&lt;p&gt;Here&apos;s the nmap output from the scan:&lt;/p&gt;

&lt;p&gt;    &lt;span class=&quot;error&quot;&gt;&amp;#91;fedora@dfarrell-opendaylight-bug1124-2 ~&amp;#93;&lt;/span&gt;$ nmap -Pn -p 1830 172.18.14.10&lt;/p&gt;

&lt;p&gt;    Starting Nmap 6.45 ( &lt;a href=&quot;http://nmap.org&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://nmap.org&lt;/a&gt; ) at 2014-06-09 21:46 UTC&lt;br/&gt;
    Nmap scan report for 172.18.14.10&lt;br/&gt;
    Host is up (0.0011s latency).&lt;br/&gt;
    PORT     STATE SERVICE&lt;br/&gt;
    1830/tcp open  unknown&lt;/p&gt;

&lt;p&gt;    Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds&lt;/p&gt;


&lt;p&gt;I filed this under controller/netconf because the log message and a line of the stack trace come from controller/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/Handshaker.java. I&apos;m not confident about this classification. If it should be moved, please let me know and forgive my ignorance.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25109">CONTROLLER-555</key>
            <summary>Nmap scan of port 1830 causes exception</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="dfarrell07">Daniel Farrell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Jun 2014 22:12:43 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:53 +0000</updated>
                            <resolved>Tue, 24 Jun 2014 09:09:02 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                        <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>1176</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=1176]]></customfieldvalue>

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

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