<?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: What is a iptables in hp ux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5430817#M729583</link>
    <description>&lt;P&gt;IPTABLES are not used in hpux , iptables used only in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Using Ipfilter to block connections from an external machine to our HPUX box&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="submitted"&gt;&lt;SPAN&gt;Wed, 08/12/2009 - 15:04 — &lt;SPAN class="username"&gt;liquid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a quick introduction to Ipfilter on HP-UX:&lt;/P&gt;&lt;P&gt;First we have to start the daemons and load the DLKM module&lt;/P&gt;&lt;P&gt;in the file /etc/rc.config.d/ipfconf&lt;/P&gt;&lt;P&gt;we set the IPF_START to 1&lt;/P&gt;&lt;P&gt;IPF_START=1&lt;/P&gt;&lt;P&gt;Then we load the kernel module&lt;/P&gt;&lt;P&gt;# /sbin/init.d/ipfboot start&lt;BR /&gt;Set 0 now inactive&lt;BR /&gt;Set 0 now inactive&lt;BR /&gt;0 entries flushed from NAT table&lt;BR /&gt;0 entries flushed from NAT list&lt;/P&gt;&lt;P&gt;we can check the kernel module is loaded:&lt;/P&gt;&lt;P&gt;# kcmodule| grep ipf&lt;BR /&gt;ipf loaded explicit auto-loadable, unloadable&lt;/P&gt;&lt;P&gt;then we check ipf is working ok:&lt;/P&gt;&lt;P&gt;# ipf -V&lt;BR /&gt;ipf: HP IP Filter: v3.5alpha5 (A.11.23.15.01) (376)&lt;BR /&gt;Kernel: HP IP Filter: v3.5alpha5 (A.11.23.15.01)&lt;BR /&gt;Running: yes &amp;lt;---- OK&lt;BR /&gt;Log Flags: 0 = none set&lt;BR /&gt;Default: pass all, Logging: available&lt;BR /&gt;Active list: 1&lt;/P&gt;&lt;P&gt;know we can write the firewall rules to our config file:&lt;/P&gt;&lt;P&gt;# vi /etc/opt/ipf/ipf.conf&lt;/P&gt;&lt;P&gt;we are going to use a very easy example, we we block any incoming conections from the server 0189 to our HP-UX box&lt;/P&gt;&lt;P&gt;block in quick on lan0 from 0189 to any&lt;BR /&gt;pass in from any to any&lt;/P&gt;&lt;P&gt;using the quick keyword makes the package that matches that rule will be applied inmediatly, no going trough anymore rules.&lt;/P&gt;&lt;P&gt;We load the new config:&lt;/P&gt;&lt;P&gt;#ipf -Fa -f /etc/opt/ipf/ipf.conf&lt;/P&gt;&lt;P&gt;Check if our rules are active:&lt;/P&gt;&lt;P&gt;# ipfstat -io&lt;BR /&gt;empty list for ipfilter(out)&lt;BR /&gt;block in quick on lan0 from 1.7.2.3/23 to any&lt;BR /&gt;pass in from any to any&lt;/P&gt;&lt;P&gt;Now i can't ssh,ping,etc the HPUX_BOX from my pc desktop:&lt;/P&gt;&lt;P&gt;P:\&amp;gt;ping HPUX_BOX&lt;/P&gt;&lt;P&gt;Haciendo ping a HPUX_BOX [1.7.2.23] con 32 bytes de datos:&lt;/P&gt;&lt;P&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;/P&gt;&lt;P&gt;EstadÃ­sticas de ping para 1.7.2.23 :&lt;BR /&gt;Paquetes: enviados = 4, recibidos = 0, perdidos = 4&lt;BR /&gt;(100% perdidos),&lt;/P&gt;&lt;P&gt;We can check out the stats and see how the blocked counter increases:&lt;/P&gt;&lt;P&gt;[&lt;A href="mailto:root@vmfcont" target="_blank"&gt;root@vmfcont&lt;/A&gt;:~]# ipfstat | grep -i blocked&lt;BR /&gt;input packets: blocked 7 passed 13677 nomatch 1 counted 0 short 0&lt;BR /&gt;output packets: blocked 0 passed 570 nomatch 268 counted 0 short 0&lt;/P&gt;&lt;P&gt;If we wan't to flush the rules and delete them from the active ipf:&lt;/P&gt;&lt;P&gt;# ipf -Fa&lt;BR /&gt;# ipfstat -io&lt;BR /&gt;empty list for ipfilter(out)&lt;BR /&gt;empty list for ipfilter(in)&lt;/P&gt;&lt;P&gt;For more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.docs.hp.com/en/B9901-90029/index.html" target="_blank"&gt;http://www.docs.hp.com/en/B9901-90029/index.html&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Dec 2011 08:22:15 GMT</pubDate>
    <dc:creator>basant</dc:creator>
    <dc:date>2011-12-29T08:22:15Z</dc:date>
    <item>
      <title>What is a iptables in hp ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5428759#M729582</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is a iptables in hp ux or how to cheak firewall setting&lt;/P&gt;&lt;P&gt;and ip tables rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me examples and commands to works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2011 07:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5428759#M729582</guid>
      <dc:creator>aamir4u</dc:creator>
      <dc:date>2011-12-27T07:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is a iptables in hp ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5430817#M729583</link>
      <description>&lt;P&gt;IPTABLES are not used in hpux , iptables used only in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Using Ipfilter to block connections from an external machine to our HPUX box&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="submitted"&gt;&lt;SPAN&gt;Wed, 08/12/2009 - 15:04 — &lt;SPAN class="username"&gt;liquid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a quick introduction to Ipfilter on HP-UX:&lt;/P&gt;&lt;P&gt;First we have to start the daemons and load the DLKM module&lt;/P&gt;&lt;P&gt;in the file /etc/rc.config.d/ipfconf&lt;/P&gt;&lt;P&gt;we set the IPF_START to 1&lt;/P&gt;&lt;P&gt;IPF_START=1&lt;/P&gt;&lt;P&gt;Then we load the kernel module&lt;/P&gt;&lt;P&gt;# /sbin/init.d/ipfboot start&lt;BR /&gt;Set 0 now inactive&lt;BR /&gt;Set 0 now inactive&lt;BR /&gt;0 entries flushed from NAT table&lt;BR /&gt;0 entries flushed from NAT list&lt;/P&gt;&lt;P&gt;we can check the kernel module is loaded:&lt;/P&gt;&lt;P&gt;# kcmodule| grep ipf&lt;BR /&gt;ipf loaded explicit auto-loadable, unloadable&lt;/P&gt;&lt;P&gt;then we check ipf is working ok:&lt;/P&gt;&lt;P&gt;# ipf -V&lt;BR /&gt;ipf: HP IP Filter: v3.5alpha5 (A.11.23.15.01) (376)&lt;BR /&gt;Kernel: HP IP Filter: v3.5alpha5 (A.11.23.15.01)&lt;BR /&gt;Running: yes &amp;lt;---- OK&lt;BR /&gt;Log Flags: 0 = none set&lt;BR /&gt;Default: pass all, Logging: available&lt;BR /&gt;Active list: 1&lt;/P&gt;&lt;P&gt;know we can write the firewall rules to our config file:&lt;/P&gt;&lt;P&gt;# vi /etc/opt/ipf/ipf.conf&lt;/P&gt;&lt;P&gt;we are going to use a very easy example, we we block any incoming conections from the server 0189 to our HP-UX box&lt;/P&gt;&lt;P&gt;block in quick on lan0 from 0189 to any&lt;BR /&gt;pass in from any to any&lt;/P&gt;&lt;P&gt;using the quick keyword makes the package that matches that rule will be applied inmediatly, no going trough anymore rules.&lt;/P&gt;&lt;P&gt;We load the new config:&lt;/P&gt;&lt;P&gt;#ipf -Fa -f /etc/opt/ipf/ipf.conf&lt;/P&gt;&lt;P&gt;Check if our rules are active:&lt;/P&gt;&lt;P&gt;# ipfstat -io&lt;BR /&gt;empty list for ipfilter(out)&lt;BR /&gt;block in quick on lan0 from 1.7.2.3/23 to any&lt;BR /&gt;pass in from any to any&lt;/P&gt;&lt;P&gt;Now i can't ssh,ping,etc the HPUX_BOX from my pc desktop:&lt;/P&gt;&lt;P&gt;P:\&amp;gt;ping HPUX_BOX&lt;/P&gt;&lt;P&gt;Haciendo ping a HPUX_BOX [1.7.2.23] con 32 bytes de datos:&lt;/P&gt;&lt;P&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;BR /&gt;Tiempo de espera agotado para esta solicitud.&lt;/P&gt;&lt;P&gt;EstadÃ­sticas de ping para 1.7.2.23 :&lt;BR /&gt;Paquetes: enviados = 4, recibidos = 0, perdidos = 4&lt;BR /&gt;(100% perdidos),&lt;/P&gt;&lt;P&gt;We can check out the stats and see how the blocked counter increases:&lt;/P&gt;&lt;P&gt;[&lt;A href="mailto:root@vmfcont" target="_blank"&gt;root@vmfcont&lt;/A&gt;:~]# ipfstat | grep -i blocked&lt;BR /&gt;input packets: blocked 7 passed 13677 nomatch 1 counted 0 short 0&lt;BR /&gt;output packets: blocked 0 passed 570 nomatch 268 counted 0 short 0&lt;/P&gt;&lt;P&gt;If we wan't to flush the rules and delete them from the active ipf:&lt;/P&gt;&lt;P&gt;# ipf -Fa&lt;BR /&gt;# ipfstat -io&lt;BR /&gt;empty list for ipfilter(out)&lt;BR /&gt;empty list for ipfilter(in)&lt;/P&gt;&lt;P&gt;For more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.docs.hp.com/en/B9901-90029/index.html" target="_blank"&gt;http://www.docs.hp.com/en/B9901-90029/index.html&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Dec 2011 08:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5430817#M729583</guid>
      <dc:creator>basant</dc:creator>
      <dc:date>2011-12-29T08:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is a iptables in hp ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5437093#M729584</link>
      <description>Hi make entry of ip address in /etc/host.allow &amp;amp; /etc/host.deny or Use ip filter to block a particular ip in HPUX. if not installed download &amp;amp; install to your hpux server . To configure IPFilter to pass or block packets based on their source IP address, use the from ip_address keyword. For example: block in quick from 192.168.0.0 to any for details refer this link &lt;A target="_blank" href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02033615/c02033615.pdf"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02033615/c02033615.pdf&lt;/A&gt; Basant Sharma</description>
      <pubDate>Tue, 03 Jan 2012 13:50:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/5437093#M729584</guid>
      <dc:creator>basant</dc:creator>
      <dc:date>2012-01-03T13:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is a iptables in hp ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/6936654#M729585</link>
      <description>&lt;P&gt;too bad the deeplink to docs.hp.com has not been modified&lt;/P&gt;&lt;P&gt;(KasperH for Dirk)&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 10:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/6936654#M729585</guid>
      <dc:creator>Dirk Verweij</dc:creator>
      <dc:date>2017-02-02T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is a iptables in hp ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/6936682#M729586</link>
      <description>&lt;P&gt;The old docs.hp.com link points to B9901-90029 - &lt;SPAN class="st"&gt;&lt;EM&gt;HP&lt;/EM&gt;-UX IPFilter A.03.05.12 Administrator's Guide (&lt;EM&gt;B9901&lt;/EM&gt;-&lt;EM&gt;90029&lt;/EM&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Google found it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=4145774&amp;amp;docId=emr_na-c02033614&amp;amp;docLocale=en_US" target="_blank"&gt;http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=4145774&amp;amp;docId=emr_na-c02033614&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and even some much newer versions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA" target="_blank"&gt;https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 11:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-is-a-iptables-in-hp-ux/m-p/6936682#M729586</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2017-02-02T11:41:58Z</dc:date>
    </item>
  </channel>
</rss>

