<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using tcp port 0? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/3780020#M440610</link>
    <description>&lt;P&gt;FYI, Cisco themselves source ip sla control traffic from port 0. Yeah I know, WTF?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 11:53:03 GMT</pubDate>
    <dc:creator>pan.systems</dc:creator>
    <dc:date>2019-01-15T11:53:03Z</dc:date>
    <item>
      <title>Using tcp port 0?</title>
      <link>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012355#M440607</link>
      <description>&lt;P style="background-color: #ffffff; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;12 years as a firewall guy... and this is a first for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;I have a request to allow firewall access to an app that apparently uses tcp port 0.&amp;nbsp; I thought it didn't exist... but good-ol' google proved that wrong.&amp;nbsp; I did find this comment:&amp;nbsp; " &lt;EM style="border-collapse: collapse; font-size: small; list-style: none; font-weight: bold; font-style: normal; color: #000000; font-family: arial, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;Port 0 &lt;/EM&gt;is officially a reserved port in TCP/IP networking, meaning that it should not be used for any TCP or UDP network communications. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;Just out of curiosity, anyone implemented an acl using port 0 before?&amp;nbsp; Any issues on the ASA side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;Thanks,&lt;/P&gt;&lt;P style="background-color: #ffffff; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 23:21:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012355#M440607</guid>
      <dc:creator>mikearama</dc:creator>
      <dc:date>2019-03-11T23:21:28Z</dc:date>
    </item>
    <item>
      <title>Using tcp port 0?</title>
      <link>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012356#M440608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Dear Mike, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. As per IANA port numbers assignment, this is a TCP port is a reserved port.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml"&gt;http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, the ACL command does not permit you to define a port of 0 &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a test from my lab ASA:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTS-R1-ASA5510-01(config)# $ host 1.1.1.1 eq 1 host 2.2.2.2 eq ?&lt;/P&gt;&lt;P&gt;configure mode commands/options:&lt;BR /&gt;&amp;nbsp; &amp;lt;1-65535&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter port number (1 - 65535)&lt;BR /&gt;&amp;nbsp; aol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTS-R1-ASA5510-01(config)# show ver&lt;/P&gt;&lt;P&gt;Cisco Adaptive Security Appliance Software Version 8.2(3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also see that a syslog message is generated in this regard:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Message %ASA-4-500004: Invalid transport field for protocol=protocol,&lt;/P&gt;&lt;P&gt;from source_address/source_port to dest_address/dest_port &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explanation This message appears when there is an invalid transport number,&lt;BR /&gt;in which the source or destination port number for a protocol is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The protocol value is 6 for TCP and 17 for UDP and therefore a tcp or udp&lt;BR /&gt;packet with source or destination port 0 is a malformed request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recommended Action If these messages persist, contact the administrator of&lt;BR /&gt;the peer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cisco.com/en/US/docs/security/asa/asa82/system/message/logmsgs.html#wp4773952"&gt;http://www.cisco.com/en/US/docs/security/asa/asa82/system/message/logmsgs.html#wp4773952&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So port 0 definitely looks like a very unusual thing. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 19:08:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012356#M440608</guid>
      <dc:creator>Gautam Bhagwandas</dc:creator>
      <dc:date>2012-07-01T19:08:31Z</dc:date>
    </item>
    <item>
      <title>Using tcp port 0?</title>
      <link>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012357#M440609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to append the outputs on FWSM as well where the same limitiation exists:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL-QN-FW002/test-ne(config)# $rmit tcp host 1.1.1.1 eq ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configure mode commands/options:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;1-65535&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter port number (1 - 65535)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL-QN-FW002(config)# show ver | inc 4.0&lt;/P&gt;&lt;P&gt;FWSM Firewall Version 4.0(15) &lt;SYSTEM&gt;&lt;/SYSTEM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FWSM system log message ID is the same agian (500004). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This syslog message would be generated when port 0 destined traffic is already allowed through the firewall (not within an acl permitting port 0 of course but a more generic acl that does not contain the port number and permits in general ip/tcp traffic).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 19:46:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/2012357#M440609</guid>
      <dc:creator>Gautam Bhagwandas</dc:creator>
      <dc:date>2012-07-01T19:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using tcp port 0?</title>
      <link>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/3780020#M440610</link>
      <description>&lt;P&gt;FYI, Cisco themselves source ip sla control traffic from port 0. Yeah I know, WTF?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 11:53:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-tcp-port-0/m-p/3780020#M440610</guid>
      <dc:creator>pan.systems</dc:creator>
      <dc:date>2019-01-15T11:53:03Z</dc:date>
    </item>
  </channel>
</rss>

