<?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 disenables my services? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456609#M209474</link>
    <description>Hi, Thanks in the first place.&lt;BR /&gt;&lt;BR /&gt;You two are right ! &lt;BR /&gt;&lt;BR /&gt;I ought to reconsider the whole security policy and configuration of IPFilter.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Jan 2005 22:30:51 GMT</pubDate>
    <dc:creator>SeaMark_1</dc:creator>
    <dc:date>2005-01-06T22:30:51Z</dc:date>
    <item>
      <title>IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456602#M209467</link>
      <description>This's my first time to configure IPFilter.&lt;BR /&gt;&lt;BR /&gt;Fllow some examples, I configured IPFilter like this:&lt;BR /&gt;&lt;BR /&gt;=========&lt;BR /&gt;root@xkbqd07# ipfstat -i&lt;BR /&gt;pass in quick on lo0 from any to any&lt;BR /&gt;block in quick from 10.0.0.0/8 to any&lt;BR /&gt;block in log quick from 172.16.0.0/12 to any&lt;BR /&gt;pass in quick proto icmp from any to 210.76.128.0/24 icmp-type echo&lt;BR /&gt;pass in quick proto icmp from any to 210.76.128.0/24 icmp-type echorep&lt;BR /&gt;pass in quick proto tcp/udp from any port = portmap to any keep state&lt;BR /&gt;pass in quick proto tcp from any port = 1110 to any keep state&lt;BR /&gt;pass in quick proto tcp/udp from any to any port = 1110&lt;BR /&gt;pass in log quick proto tcp from any to any port = 123 keep state&lt;BR /&gt;pass in log first quick proto tcp from any port = 2049 to any keep state&lt;BR /&gt;pass in log first quick proto tcp from any to any port = 2049 keep state&lt;BR /&gt;pass in quick proto tcp/udp from any to any port = domain keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 1188 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 21 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 20 keep state&lt;BR /&gt;pass in quick proto tcp from any port = 20 to any port &amp;gt; 1023 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 873 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 22 keep state&lt;BR /&gt;pass in log level auth.info quick proto tcp from any to any port = 23 keep state&lt;BR /&gt;pass in quick proto tcp/udp from any to any port = http keep state&lt;BR /&gt;pass in log quick proto tcp/udp from any to any port 510 &amp;gt;&amp;lt; 517 keep state&lt;BR /&gt;pass in log quick proto tcp/udp from any port 510 &amp;gt;&amp;lt; 517 to any keep state&lt;BR /&gt;pass in quick proto tcp/udp from any to any port = 520 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 25 keep state&lt;BR /&gt;pass in quick proto tcp from any to any port = 110 keep state&lt;BR /&gt;block in from any to any&lt;BR /&gt;&lt;BR /&gt;======================&lt;BR /&gt;&lt;BR /&gt;root@xkbqd07# ipfstat -o&lt;BR /&gt;pass out quick on lo0 from any to any&lt;BR /&gt;pass out quick proto tcp/udp from any to any port = portmap keep state&lt;BR /&gt;pass out quick proto tcp from any to any port = 1110 keep state&lt;BR /&gt;pass out log quick proto tcp from any to any port = 123 keep state&lt;BR /&gt;pass out log first quick proto tcp from any to any port = 2049 keep state&lt;BR /&gt;pass out quick proto tcp/udp from any to any port = domain keep state&lt;BR /&gt;pass out quick proto tcp from any to any port = 873 keep state&lt;BR /&gt;pass out log level auth.info quick proto tcp from any to any port = 23 keep state&lt;BR /&gt;pass out log quick proto tcp/udp from any port 510 &amp;gt;&amp;lt; 517 to any keep state&lt;BR /&gt;pass out log quick proto tcp/udp from any to any port 510 &amp;gt;&amp;lt; 517 keep state&lt;BR /&gt;pass out quick proto tcp from any to any port = 25 keep state&lt;BR /&gt;pass out from any to any&lt;BR /&gt;&lt;BR /&gt;=======&lt;BR /&gt;&lt;BR /&gt;Now, SSH/DNS/Telnet/rlogin/rsync work properly.&lt;BR /&gt;&lt;BR /&gt;But remsh&amp;amp;NFS is off work.&lt;BR /&gt;&lt;BR /&gt;I checked /etc/services and found rlogin uses port 513, against remsh used port 514, which implys some differece? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Especially, does NFS uses another ports except portmap(111) and nfsd(2049) port ??&lt;BR /&gt;&lt;BR /&gt;Post the thread for help. :-)&lt;BR /&gt;Any sugguest is appreciated !&lt;BR /&gt;&lt;BR /&gt;All the best.</description>
      <pubDate>Thu, 06 Jan 2005 03:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456602#M209467</guid>
      <dc:creator>SeaMark_1</dc:creator>
      <dc:date>2005-01-06T03:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456603#M209468</link>
      <description>To be able to debug this more effectively, remove&lt;BR /&gt;the "log" keyword from all the rules and replace the&lt;BR /&gt;rule "block in from any to any" by&lt;BR /&gt;"block in log from any to any".&lt;BR /&gt;&lt;BR /&gt;Redirect "ipmon" output to a file, try to use&lt;BR /&gt;the services (e.g remsh and NFS) that are not&lt;BR /&gt;working and post the log file here. To redirect the&lt;BR /&gt;"ipmon" output to a file, kill "ipmon" process and&lt;BR /&gt;run it again using following command:&lt;BR /&gt;&lt;BR /&gt;# ipmon -v /tmp/ipmon.out &amp;amp;&lt;BR /&gt;&lt;BR /&gt;and post /tmp/ipmon.out here.&lt;BR /&gt;&lt;BR /&gt;The idea is to find out which traffic is getting&lt;BR /&gt;blocked that is creating the problem here.&lt;BR /&gt;&lt;BR /&gt;Also, post the output of&lt;BR /&gt;# ipf -V&lt;BR /&gt;and, ofcourse, the HP-UX version.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 03:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456603#M209468</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-06T03:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456604#M209469</link>
      <description>Oops... and one more thing.&lt;BR /&gt;Along with the "ipmon" logfile, post the output of the&lt;BR /&gt;following command :&lt;BR /&gt;&lt;BR /&gt;# ipfstat -ioh&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 03:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456604#M209469</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-06T03:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456605#M209470</link>
      <description>hi, thanks for replys.&lt;BR /&gt;&lt;BR /&gt;When I remsh,log show:&lt;BR /&gt;=======================&lt;BR /&gt;Jan  6 19:03:11 xkbqd07 ipmon[409]: 19:03:10.263747 lan0 @0:47 b 210.76.128.36,1021 -&amp;gt; 210.76.128.37,1023 PR tcp len 20 48 -AS&lt;BR /&gt; IN&lt;BR /&gt;Jan  6 19:03:33 xkbqd07 ipmon[409]: 19:03:33.173761 lan0 @0:47 b 210.76.128.36,1021 -&amp;gt; 210.76.128.37,1023 PR tcp len 20 48 -AS&lt;BR /&gt; IN&lt;BR /&gt;&lt;BR /&gt;When I NFS,log show:&lt;BR /&gt;=======================&lt;BR /&gt;Jan  6 19:04:20 xkbqd07 ipmon[409]: 19:04:20.523790 lan0 @0:47 b 210.76.128.36,58229 -&amp;gt; 210.76.128.37,54030 PR udp len 20 52&lt;BR /&gt;IN&lt;BR /&gt;Jan  6 19:04:35 xkbqd07 ipmon[409]: 19:04:35.523799 lan0 @0:47 b 210.76.128.36,58229 -&amp;gt; 210.76.128.37,54031 PR udp len 20 60&lt;BR /&gt;IN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think, NFS&amp;amp;remsh all need more handshaking session and I just miss something, don't I ?&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 06:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456605#M209470</guid>
      <dc:creator>SeaMark_1</dc:creator>
      <dc:date>2005-01-06T06:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456606#M209471</link>
      <description>After I changed "pass out all" to "pass out proto tcp/udp all keep state", I can mount a NFS filesystem on it and remsh a remshd server.&lt;BR /&gt;&lt;BR /&gt;But manipulation in reverse direction is N/A.&lt;BR /&gt;The server can't BE mounted by others clinets using NFS. Remsh, too.&lt;BR /&gt;:-)</description>
      <pubDate>Thu, 06 Jan 2005 08:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456606#M209471</guid>
      <dc:creator>SeaMark_1</dc:creator>
      <dc:date>2005-01-06T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456607#M209472</link>
      <description>Your last configuration has your firewall doing you very little good.&lt;BR /&gt;&lt;BR /&gt;NFS needs to use a random higher port number so its nearly impossible to get working through the ipfilter firewall.  I recall that Version 4 of NFS might actually deal with that issue.&lt;BR /&gt;&lt;BR /&gt;Also rlogin and remesh are not secure services. They transmit authentication in clear text. &lt;BR /&gt;&lt;BR /&gt;You could get this working in a secure fashion by migrationg to Secure Shell.&lt;BR /&gt;&lt;BR /&gt;Then you open up port 22 and you have less chance of your root password getting intercepted.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As far as the actual configuration goes, I would do the following:&lt;BR /&gt;&lt;BR /&gt;Start over.&lt;BR /&gt;&lt;BR /&gt;Block everything and then only open up he specific ports you need to do this work.&lt;BR /&gt;&lt;BR /&gt;These files are read top to bottom.&lt;BR /&gt;&lt;BR /&gt;If you block everything at the top and then want to allow certain ports to pass through they won't. You need to specify the ports you are allowing first.&lt;BR /&gt;&lt;BR /&gt;The quandry is you are tyring to use a security tool to allow access to the least secure services on Unix.&lt;BR /&gt;&lt;BR /&gt;sEP</description>
      <pubDate>Thu, 06 Jan 2005 09:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456607#M209472</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-06T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456608#M209473</link>
      <description>&amp;gt; After I changed "pass out all" to "pass out&lt;BR /&gt;&amp;gt; proto tcp/udp all keep state", I can mount &lt;BR /&gt;&amp;gt; a NFS filesystem on it and remsh a remshd&lt;BR /&gt;&amp;gt; server.&lt;BR /&gt;&lt;BR /&gt;If you are going to change "pass out all" to &lt;BR /&gt;"pass out proto tcp/udp all keep state", you &lt;BR /&gt;don't need any of the other out-going rules&lt;BR /&gt;as this single rule can allow all the outgoing traffic (if that's what you want &lt;BR /&gt;to do).&lt;BR /&gt;&lt;BR /&gt;As Steve already said, NFS uses random high&lt;BR /&gt;port numbers, so you have a problem there.&lt;BR /&gt;Only solution to this would be to determine&lt;BR /&gt;which machines are trusted enough to be &lt;BR /&gt;granted NFS access and add "quick" rules&lt;BR /&gt;to the top of your rule lists to allow all&lt;BR /&gt;access (IN and OUT) to these machines.&lt;BR /&gt;&lt;BR /&gt;I would probably start over again, write all&lt;BR /&gt;the "quick" rules at the top (as rule scan &lt;BR /&gt;is from top to bottom, "quick" rules at top&lt;BR /&gt;saves time).&lt;BR /&gt;&lt;BR /&gt;Finally, there is no point using rules for&lt;BR /&gt;loopback interface as IPFilter is a streams&lt;BR /&gt;modules between IP and DLPI and the loopback&lt;BR /&gt;traffic typically does not go below IP&lt;BR /&gt;(unless it is configured to do so).&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 13:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456608#M209473</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-06T13:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456609#M209474</link>
      <description>Hi, Thanks in the first place.&lt;BR /&gt;&lt;BR /&gt;You two are right ! &lt;BR /&gt;&lt;BR /&gt;I ought to reconsider the whole security policy and configuration of IPFilter.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 22:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456609#M209474</guid>
      <dc:creator>SeaMark_1</dc:creator>
      <dc:date>2005-01-06T22:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: IPFilter disenables my services?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456610#M209475</link>
      <description>Don't forget to read these first, if you have not&lt;BR /&gt;done so already:&lt;BR /&gt;&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;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 22:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-disenables-my-services/m-p/3456610#M209475</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-06T22:46:19Z</dc:date>
    </item>
  </channel>
</rss>

