<?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: ipfilter and ipftest problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5552733#M732151</link>
    <description>&lt;P&gt;&lt;A href="http://coombs.anu.edu.au/~avalon/examples.html#ports" target="_blank"&gt;http://coombs.anu.edu.au/~avalon/examples.html#ports&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There does not seem to be a way to specify a port range in inclusive fashion, so as far as I understand, 136&amp;gt;&amp;lt;139 is the only way.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2012 20:02:32 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2012-02-15T20:02:32Z</dc:date>
    <item>
      <title>ipfilter and ipftest problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5543555#M732148</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a 11.31 HPUX installed on itanium. I'm setting up ipfilters and tried to test some rules&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;# IPFilter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A.11.31.17.05&amp;nbsp; HP IPFilter 3.5alpha5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;nbsp; IPFilter.IPF-HP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A.11.31.17.05&amp;nbsp; HP IPFilter 3.5alpha5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;nbsp; IPFilter.PFIL-HP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A.11.31.17.05&amp;nbsp; HP IPFilter PFIL Interface&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a rule that allows udp's in out in a range of ports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;grep 192.168. /tmp/ipf_temp.conf&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pass in quick proto udp from 192.168.1.0/24 to 192.168.1.0/24 port = 5300 keep state&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pass out quick proto udp from&amp;nbsp; 192.168.1.0/24 port = 5300 to 192.168.1.0/24 keep state&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pass in quick proto udp from 192.168.1.0/24 to 192.168.1.0/24 port 137 &amp;gt;&amp;lt; 138 keep state&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;#pass in quick proto udp from 192.168.1.0/24 to 192.168.1.0/24 port = 138 keep state&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pass out quick proto udp from&amp;nbsp; 192.168.1.0/24 port 137 &amp;gt;&amp;lt; 138 to 192.168.1.0/24 keep state&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ipftest shows this rule as blocked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;ipftest -r /tmp/ipf_temp.conf&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;opening rule file "/tmp/ipf_temp.conf"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;in udp 192.168.1.1,138 192.168.1.255,138&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;input: in udp 192.168.1.1,138 192.168.1.255,138&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;block ip 28(20) 17 192.168.1.1,138 &amp;gt; 192.168.1.255,138&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;--------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;in udp 192.168.1.1,138 192.168.1.25,137&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;input: in udp 192.168.1.1,138 192.168.1.25,137&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;block ip 28(20) 17 192.168.1.1,138 &amp;gt; 192.168.1.25,137&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i remove the &lt;FONT color="#339966"&gt;&amp;gt;&amp;lt;&lt;/FONT&gt; and replace it by &lt;FONT color="#339966"&gt;port = 137&lt;/FONT&gt; or &lt;FONT color="#339966"&gt;port = 138&lt;/FONT&gt; it allows it to pass&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything wrong with my test input or the ipf.conf rules&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 12:20:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5543555#M732148</guid>
      <dc:creator>Andreas Tsamis</dc:creator>
      <dc:date>2012-02-08T12:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter and ipftest problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5545111#M732149</link>
      <description>&lt;P&gt;&lt;FONT color="#800080"&gt;pass in quick proto udp from 192.168.1.0/24 to 192.168.1.0/24 port 137 &amp;gt;&amp;lt; 138 keep state&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;&lt;FONT color="#000000"&gt;This would allow the UDP traffic if the port number is &lt;EM&gt;greater than&lt;/EM&gt; 137 but &lt;EM&gt;less than&lt;/EM&gt; 138. Since the port numbers must be integers (i.e. port 137.5 cannot exist), there are no ports that could sastisfy this condition.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5545111#M732149</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-02-09T16:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter and ipftest problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5551873#M732150</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Logical :) i thought that the values 137 and 138 were included. So if i want to include the two values whats the syntax? Except the now obvious 136&amp;gt;&amp;lt;139 ?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 09:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5551873#M732150</guid>
      <dc:creator>Andreas Tsamis</dc:creator>
      <dc:date>2012-02-15T09:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter and ipftest problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5552733#M732151</link>
      <description>&lt;P&gt;&lt;A href="http://coombs.anu.edu.au/~avalon/examples.html#ports" target="_blank"&gt;http://coombs.anu.edu.au/~avalon/examples.html#ports&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There does not seem to be a way to specify a port range in inclusive fashion, so as far as I understand, 136&amp;gt;&amp;lt;139 is the only way.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5552733#M732151</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-02-15T20:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter and ipftest problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5558135#M732152</link>
      <description>&lt;P&gt;Thanks for your help :)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 05:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-and-ipftest-problem/m-p/5558135#M732152</guid>
      <dc:creator>Andreas Tsamis</dc:creator>
      <dc:date>2012-02-21T05:56:12Z</dc:date>
    </item>
  </channel>
</rss>

