<?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 block all the traffic in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706740#M549643</link>
    <description>IPFilter reads rules top to bottom.  In my rules, the "block in all" rule is at the beginning of the file, followed by exceptions.&lt;BR /&gt;&lt;BR /&gt;For example, the rules:&lt;BR /&gt;&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;pass in all&lt;BR /&gt;&lt;BR /&gt;Makes it so all traffic is passed in.&lt;BR /&gt;&lt;BR /&gt;The 'quick' statement tells IPFilter to immediately process that rule if it applies.&lt;BR /&gt;&lt;BR /&gt;I do not know why you would get to your origonal last 2 rules because you have the 'quick' setting earlier in the file.  &lt;BR /&gt;&lt;BR /&gt;Are you running a current version of IPFilter?  Current is A.03.05.12.&lt;BR /&gt;&lt;BR /&gt;Help it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Thu, 12 Jan 2006 16:32:58 GMT</pubDate>
    <dc:creator>John Payne_2</dc:creator>
    <dc:date>2006-01-12T16:32:58Z</dc:date>
    <item>
      <title>IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706736#M549639</link>
      <description>Hello and good morning&lt;BR /&gt;&lt;BR /&gt;The first thing, sorry for my poor english (I am spanish).&lt;BR /&gt;Now the problem that have me crazy. &lt;BR /&gt;&lt;BR /&gt;root@admorum:/&amp;gt; uname -a&lt;BR /&gt;HP-UX admorum B.11.11 U 9000/800 526726591 unlimited-user license&lt;BR /&gt; &lt;BR /&gt;root@admorum:/&amp;gt; uptime&lt;BR /&gt; 11:31am  up 2 hrs,  2 users,  load average: 0.94, 1.13, 1.48&lt;BR /&gt;&lt;BR /&gt;top&lt;BR /&gt;-----&lt;BR /&gt;Memory: 1009696K (672316K) real, 1927116K (1538036K) virtual, 32588K free  &lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;Everything ok, the box run very well, the problem is when I install IPFilter.&lt;BR /&gt;With the following rules the firewall go ok.&lt;BR /&gt;&lt;BR /&gt;------------------------------------&lt;BR /&gt;pass in quick on lan0 proto tcp from any to admorum/32 port = 22 keep state&lt;BR /&gt;block in quick on lan0 proto tcp from any to admorum/32 port = 23 &lt;BR /&gt;pass in quick on lan0 proto tcp from 10.2.2.2/32 to admorum/32 port = 25 keep state&lt;BR /&gt;pass out quick on lan0 proto udp from any to any port = 53 keep state&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;-----------------------------------&lt;BR /&gt;&lt;BR /&gt;The firewall block the ports and pass the rules perfect.&lt;BR /&gt;The problem is when I add the following rules at the end of file:&lt;BR /&gt;------------------------&lt;BR /&gt;block in on lan0 all&lt;BR /&gt;block out on lan0 all&lt;BR /&gt;------------------------&lt;BR /&gt;(Too do the same, if I add only one rule at the end of file, as much "block in ..." &lt;BR /&gt; as "block out ...")&lt;BR /&gt;&lt;BR /&gt;Then, ipfilter block all the ports(traffic inbound and outbound), even all connections stablished.&lt;BR /&gt;I have to enter by lan console and desactive the firewall (ipf -Fa).&lt;BR /&gt;&lt;BR /&gt;I look into logs and does not appear nothing interesting.&lt;BR /&gt;&lt;BR /&gt;I think that the box have all the patches installed correctly (I have installed ipfilter&lt;BR /&gt; in other box and work fine ) and I am lose with this subject.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In conclusion, I cann't block the remaining ports as much inbound as outbound. :(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers and regards.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2006 06:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706736#M549639</guid>
      <dc:creator>sistemas unix_1</dc:creator>
      <dc:date>2006-01-11T06:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706737#M549640</link>
      <description>Hi,&lt;BR /&gt;have read the documents at:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B9901-90021/index.html" target="_blank"&gt;http://www.docs.hp.com/en/B9901-90021/index.html&lt;/A&gt;&lt;BR /&gt;I would go back to the start and disable one port at a time and re-test each step.</description>
      <pubDate>Wed, 11 Jan 2006 08:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706737#M549640</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-01-11T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706738#M549641</link>
      <description>[root@akira root]# hping -S -c 1 admorum -p 22&lt;BR /&gt;HPING admorum (eth0 192.168.X.X): S set, 40 headers + 0 data bytes&lt;BR /&gt; &lt;BR /&gt;--- admorum hping statistic ---&lt;BR /&gt;1 packets tramitted, 0 packets received, 100% packet loss&lt;BR /&gt;round-trip min/avg/max = 0.0/0.0/0.0 ms&lt;BR /&gt;&lt;BR /&gt;[root@akira root]# hping -A -c 1 admorum -p 22&lt;BR /&gt;HPING admorum (eth0 192.168.X.X): A set, 40 headers + 0 data bytes&lt;BR /&gt;len=46 ip=192.168.X.X ttl=64 id=27196 sport=22 flags=RA seq=0 win=512 rtt=45.6 ms&lt;BR /&gt; &lt;BR /&gt;--- admorum hping statistic ---&lt;BR /&gt;1 packets tramitted, 1 packets received, 0% packet loss&lt;BR /&gt;round-trip min/avg/max = 45.6/45.6/45.6 ms&lt;BR /&gt;&lt;BR /&gt;[root@akira root]# hping -X -c 1 admorum -p 22&lt;BR /&gt;HPING admorum (eth0 192.168.X.X): X set, 40 headers + 0 data bytes&lt;BR /&gt;len=46 ip=192.168.X.X ttl=64 id=10344 sport=22 flags=RAX seq=0 win=512 rtt=34.8 ms&lt;BR /&gt; &lt;BR /&gt;--- admorum hping statistic ---&lt;BR /&gt;1 packets tramitted, 1 packets received, 0% packet loss&lt;BR /&gt;round-trip min/avg/max = 34.8/34.8/34.8 ms&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ipfstat -io let me see alright all rules.&lt;BR /&gt;ipfstat -sl &lt;BR /&gt;&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;10.240.X.X -&amp;gt; 192.168.X.X ttl 32576 pass 0x500a pr 6 state 2/0&lt;BR /&gt;        pkts 1 bytes 60 2083 -&amp;gt; 22 c5b4b48a:0 5840:5840&lt;BR /&gt;        cmsk 0000 smsk 0000 isc 0000000000000000 s0 0/0&lt;BR /&gt;        sbuf[0] [\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0] sbuf[1] [\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0]&lt;BR /&gt;        pass in quick keep state        IPv4&lt;BR /&gt;        pkt_flags &amp;amp; 2(b2) = b,          pkt_options &amp;amp; ffffffff = 0&lt;BR /&gt;        pkt_security &amp;amp; ffff = 0, pkt_auth &amp;amp; ffff = 0&lt;BR /&gt;interfaces: in lan0[00000000429f1600] out -[0000000000000000]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I tried adding the flag S and I recivied the same:&lt;BR /&gt;pass in quick on lan0 proto tcp from any to admorum/32 port = 22 flags S keep state &lt;BR /&gt;&lt;BR /&gt;Looks like, that happens something rare with Syn. &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2006 08:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706738#M549641</guid>
      <dc:creator>sistemas unix_1</dc:creator>
      <dc:date>2006-01-11T08:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706739#M549642</link>
      <description>I have resolved this subject.&lt;BR /&gt;The Syns was accepted but no return Syn/Ack was sent.In ipmon -a, can saw the STATE:NEW for the packet and the logs teach me that the connection have been passed. &lt;BR /&gt;&lt;BR /&gt;The problem was in this two rules:&lt;BR /&gt;----------&lt;BR /&gt;block in all&lt;BR /&gt;block out all&lt;BR /&gt;----------&lt;BR /&gt;&lt;BR /&gt;Finally I have proven with this equals rules and everything is allright:&lt;BR /&gt;----------------------&lt;BR /&gt;block in on lan0 from any to admorum/32 port &amp;gt; 1 &lt;BR /&gt;block out on lan0 from admorum/32 to any port &amp;gt; 1&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;BR /&gt;I think seriously that it is a bug of ipfilter (its seems be a alpha).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Thu, 12 Jan 2006 13:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706739#M549642</guid>
      <dc:creator>sistemas unix_1</dc:creator>
      <dc:date>2006-01-12T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706740#M549643</link>
      <description>IPFilter reads rules top to bottom.  In my rules, the "block in all" rule is at the beginning of the file, followed by exceptions.&lt;BR /&gt;&lt;BR /&gt;For example, the rules:&lt;BR /&gt;&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;block in all&lt;BR /&gt;pass in all&lt;BR /&gt;&lt;BR /&gt;Makes it so all traffic is passed in.&lt;BR /&gt;&lt;BR /&gt;The 'quick' statement tells IPFilter to immediately process that rule if it applies.&lt;BR /&gt;&lt;BR /&gt;I do not know why you would get to your origonal last 2 rules because you have the 'quick' setting earlier in the file.  &lt;BR /&gt;&lt;BR /&gt;Are you running a current version of IPFilter?  Current is A.03.05.12.&lt;BR /&gt;&lt;BR /&gt;Help it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 12 Jan 2006 16:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706740#M549643</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2006-01-12T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706741#M549644</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1) Your English as a second language is WAY better than my Hebrew as a second language.&lt;BR /&gt;&lt;BR /&gt;2) Ipfilter process rules top to bottom. Your last rules are overriding your first rules. The best idea is to put those block everything rules on top so that the later rules create acceptionts. This limits access very nicely.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 12 Jan 2006 18:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706741#M549644</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-12T18:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706742#M549645</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@admorum:/root&amp;gt; ipf -V&lt;BR /&gt;ipf: HP IP Filter: v3.5alpha5 (A.03.05.12) (400)&lt;BR /&gt;Kernel: HP IP Filter: v3.5alpha5 (A.03.05.12)&lt;BR /&gt;Running: yes&lt;BR /&gt;Log Flags: 0 = none set&lt;BR /&gt;Default: pass all, Logging: available&lt;BR /&gt;Active list: 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The following list are the patches that I have applied to the box:&lt;BR /&gt;&lt;BR /&gt;PHKL_25728&lt;BR /&gt;PHKL_29708&lt;BR /&gt;PHKL_30032&lt;BR /&gt;PHKL_30033&lt;BR /&gt;PHKL_30035&lt;BR /&gt;PHKL_30036&lt;BR /&gt;PHKL_25389&lt;BR /&gt;PHKL_30516&lt;BR /&gt;PHKL_25729&lt;BR /&gt;PHKL_30034&lt;BR /&gt;PHKL_30036&lt;BR /&gt;PHKL_25233&lt;BR /&gt;PHKL_31091&lt;BR /&gt;PHKL_27094&lt;BR /&gt;PHKL_27093&lt;BR /&gt;PHKL_29696&lt;BR /&gt;PHKL_24253&lt;BR /&gt;PHKL_24254&lt;BR /&gt;PHKL_24255&lt;BR /&gt;PHKL_24256&lt;BR /&gt;PHKL_33408&lt;BR /&gt;PHKL_29704&lt;BR /&gt;PHNE_25084&lt;BR /&gt;PHNE_31091&lt;BR /&gt;PHNE_25388&lt;BR /&gt;PHNE_31091&lt;BR /&gt;PHNE_33159&lt;BR /&gt;PHNE_33628&lt;BR /&gt;PHCO_30275&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers and thanks you.</description>
      <pubDate>Fri, 13 Jan 2006 06:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706742#M549645</guid>
      <dc:creator>sistemas unix_1</dc:creator>
      <dc:date>2006-01-13T06:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter block all the traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706743#M549646</link>
      <description>The block in all can't override a pass in quick, unless it's in effect first.&lt;BR /&gt;&lt;BR /&gt;I remember I had to extend the flags quite a bit like flags F/SRA or something - I can't look it up for Your as my hp9000's boot disk failed and I have no time for replacing it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jan 2006 08:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-block-all-the-traffic/m-p/3706743#M549646</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2006-01-13T08:33:17Z</dc:date>
    </item>
  </channel>
</rss>

