<?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: Blocking Network Access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990846#M124307</link>
    <description>Hi,&lt;BR /&gt;what exactly do you want to block ? What do you want to allow ?&lt;BR /&gt;&lt;BR /&gt;Others suggested many ways... &lt;BR /&gt;&lt;BR /&gt;If they must be prevented one from the other, you could think of a particolar route, just with the host and, as a destination, a host that does not exists. &lt;BR /&gt;&lt;BR /&gt;It's just an idea... don't know if applicable.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 06 Jun 2003 09:54:45 GMT</pubDate>
    <dc:creator>Massimo Bianchi</dc:creator>
    <dc:date>2003-06-06T09:54:45Z</dc:date>
    <item>
      <title>Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990843#M124304</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;I have Two HP-UX 11.0 Hosts on the same subnet. I have a task at hand which is to deny all network access to each other. I should not even be able to ping to each other. How do I acheieve this.&lt;BR /&gt;&lt;BR /&gt;Your suggestions would be appreciated.</description>
      <pubDate>Fri, 06 Jun 2003 09:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990843#M124304</guid>
      <dc:creator>Manjunath Shastry</dc:creator>
      <dc:date>2003-06-06T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990844#M124305</link>
      <description>Is not going to be easy to do at all on the HP end. Far simpler to get it changed on the switch/router end where both HP servers are plugged into, a simple config command here can block each server from each other.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 09:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990844#M124305</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-06T09:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990845#M124306</link>
      <description>Hi,&lt;BR /&gt; You can restrict all inetd related tcp services by creating /var/adm/inetd.sec and put the required entries inside the file.&lt;BR /&gt;See man inetd.sec.&lt;BR /&gt;By creating /etc/ftpusers file restrict ftp. &lt;BR /&gt;See man ftpusers&lt;BR /&gt; But ping works in layer 3 . I don't thing we can disable ping with default OS.&lt;BR /&gt; You will be requiring any external software or arrangements in Network switch.&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 09:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990845#M124306</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-06-06T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990846#M124307</link>
      <description>Hi,&lt;BR /&gt;what exactly do you want to block ? What do you want to allow ?&lt;BR /&gt;&lt;BR /&gt;Others suggested many ways... &lt;BR /&gt;&lt;BR /&gt;If they must be prevented one from the other, you could think of a particolar route, just with the host and, as a destination, a host that does not exists. &lt;BR /&gt;&lt;BR /&gt;It's just an idea... don't know if applicable.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 09:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990846#M124307</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-06T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990847#M124308</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i think it is possible if u install TCP wrappers and disable as many services by configuring it.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 10:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990847#M124308</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-06-06T10:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990848#M124309</link>
      <description>I agree that the better solution would be at the network infrastructure level (switches, VLANs).  But if you must do this at the host level, try HP's implementation of IP Filter&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can get very fine-grained control over what hosts/protocols are allowed through.</description>
      <pubDate>Fri, 06 Jun 2003 11:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990848#M124309</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-06T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990849#M124310</link>
      <description>I concur with the others that this is going to be difficult using HPUX resources only.  Your best bet would be to disconnect one, t'other, or both from the network altogether!  TCP wrappers, properly configured will get you closest to this goal.  But best and easiest way to do this is to get a managed switch or router (we use Cisco) and let the net nazis do the thing that delights them the most--turn off access.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 06 Jun 2003 12:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990849#M124310</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-06T12:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990850#M124311</link>
      <description>Hi Manjunath,&lt;BR /&gt;&lt;BR /&gt;At the best you can do is to control the services using /var/adm/inetd.sec.&lt;BR /&gt;&lt;BR /&gt;If you do not want even one server to ping to other, then you will need to put one of them in a different subnet through a router and configure the accesslists on the router.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 06 Jun 2003 13:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990850#M124311</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-06T13:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990851#M124312</link>
      <description>The simplest approach is often the best approach.&lt;BR /&gt;&lt;BR /&gt;Block the access at the network level.&lt;BR /&gt;&lt;BR /&gt;= Mike =</description>
      <pubDate>Fri, 06 Jun 2003 13:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990851#M124312</guid>
      <dc:creator>Mike Miller_8</dc:creator>
      <dc:date>2003-06-06T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990852#M124313</link>
      <description>Arp may be your friend.  You can add a bogus arp entry which will cause complete failure at the network level for the 2 sytems to communicate.&lt;BR /&gt;&lt;BR /&gt;inetd.sec only secures internet protocols, and does not filter/block an IP.&lt;BR /&gt;&lt;BR /&gt;The syntax to use is &lt;BR /&gt;&lt;BR /&gt;arp -s &lt;IP&gt; &lt;HW_ADDR&gt;&lt;BR /&gt;&lt;BR /&gt;Now, since you can use arp to list the current tables, you can easily remap.&lt;BR /&gt;&lt;BR /&gt;arp -a&lt;BR /&gt;&lt;BR /&gt;router (172.20.106.254) at 0:50:73:f6:ec:c0 ether&lt;BR /&gt;masterc (172.20.106.150) at 0:e0:81:21:30:8b ether&lt;BR /&gt;&lt;BR /&gt;To remap, I want to give the same MAC a bogus address&lt;BR /&gt;&lt;BR /&gt;arp -d 172.20.106.150&lt;BR /&gt;arp -s 172.20.106.198 0:e0:81:21:30:8b&lt;BR /&gt;&lt;BR /&gt;Now, as long as Im in the same subnet, this is allowed.  The original host IP can still be pinged, but I can not ping 172.20.106.198.  So unless I know the IP Im trying to reach, I cant find it.  If my /etc/hosts table indicated that the host was using the 198 address, Im okay.&lt;BR /&gt;&lt;BR /&gt;It is not nearly the same as a firewall or router completely blocking an IP, which is the best way to go, but it may let you fudge things a bit ;)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;/HW_ADDR&gt;&lt;/IP&gt;</description>
      <pubDate>Fri, 06 Jun 2003 13:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990852#M124313</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-06-06T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990853#M124314</link>
      <description>Can use IPfilter as it can check the ICMP (ping) messages &amp;amp; works on layer 3 (IP/network).Also some chances with IPsec probably to use it as firewall.&lt;BR /&gt;You create an ACL / rule in IPfilter to block&lt;BR /&gt;ICMP protocol (inbound and outbound) btw 2 hosts.&lt;BR /&gt;Both IPfilter &amp;amp; IPsec are free of charge.&lt;BR /&gt;Here (ipfilter)&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Fri, 06 Jun 2003 14:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990853#M124314</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-06T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990854#M124315</link>
      <description>Thanks Shannon,&lt;BR /&gt;then my guess can come true !&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 14:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990854#M124315</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-06T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990855#M124316</link>
      <description>In addition to my previous reply (no points please) - read herehttp://&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B9901-90009/B9901-90009.html" target="_blank"&gt;www.docs.hp.com/hpux/onlinedocs/B9901-90009/B9901-90009.html&lt;/A&gt; &lt;BR /&gt;For example to allow ping and traceroute to your host write following rules:&lt;BR /&gt;pass in quick on lan0 proto icmp from any to 20.20.20.0/24 icmp-type 0&lt;BR /&gt;pass in quick on lan0 proto icmp from any to 20.20.20.0/24 icmp-type 11&lt;BR /&gt;That means icmp-type 0 for ping and type 11 for&lt;BR /&gt;traceroute.&lt;BR /&gt;Looks nice.&lt;BR /&gt;&lt;BR /&gt;Zeev&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 14:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990855#M124316</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-06T14:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990856#M124317</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;I tried with arp, hosts.deny, hosts.allow and inetd.sec and have failed. I have decided to give a try with tcpwrappers.&lt;BR /&gt;&lt;BR /&gt;Let me hope for the best.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manjunath.</description>
      <pubDate>Mon, 09 Jun 2003 13:44:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990856#M124317</guid>
      <dc:creator>Manjunath Shastry</dc:creator>
      <dc:date>2003-06-09T13:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990857#M124318</link>
      <description>I like the idea to put bogus ARP entries in _BOTH_ systems - simple and clever.  That it appears to have failed is surprising to me - perhaps the systems were rebooted and there was no script to add-back the ARP stuff.  That, or perhaps while the two systems are connected to the same switch fabric, they are not in the same _IP_ subnet?  In that case, the comms would go through a router and it would be the router's IP to MAC translation being used.&lt;BR /&gt;&lt;BR /&gt;Taking the ARP idea one step higher in the protocol stack, one could also try adding a specific host route on _each_ of the two systems that pointed to some non-existant IP address as a gateway (remember to use a metric of 1 in the route command and add it to the /etc/rc.config.d/netconf file.)&lt;BR /&gt;&lt;BR /&gt;The one drawback to both the ARP and routing hacks is that they only work for IP.  They will not preclude link-level (layer 2) connectivity between the two hosts.&lt;BR /&gt;&lt;BR /&gt;The problem with TCP wrappers (and inetd.sec) is that only those things configured to use them will be affected. There will still be TCP, IP and Link-level connectivity between the two systems. Also, ping is not affected by inetd.sec, and I doubt by TCP wrappers.&lt;BR /&gt;&lt;BR /&gt;That takes things back to either ipfilter, or settings in the switches.  As there is often an unfortunate "firewalling" of the sysadmins from the network admins, if you are a sysadmin, it may be easier to install and configure ipfilter than to get the network admins to setup whatever the switches can do for MAC address filtering.</description>
      <pubDate>Mon, 09 Jun 2003 16:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990857#M124318</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2003-06-09T16:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990858#M124319</link>
      <description>Maybe Rick can give an answer to this one....&lt;BR /&gt;&lt;BR /&gt;Solaris and Linux have a nice feature built into the route command.  They both accept...&lt;BR /&gt;&lt;BR /&gt;route add "host_to_block" 0.0.0.0 0&lt;BR /&gt;&lt;BR /&gt;It's such a simple method of blocking that it's used by some of the monitors (I use netwatch).&lt;BR /&gt;&lt;BR /&gt;It's obvious from this thread that HP does not have an equivalant, but can we perhaps prod the dev's for something like it?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 09 Jun 2003 16:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990858#M124319</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-06-09T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990859#M124320</link>
      <description>I have confirmed that trying to route a host through 0.0.0.0 does not "work" on HP-UX 11i.  Probably runs afould of the "next hop must be local" stuff. Nor does trying to route to 127.0.0.1, or an IP aliases to lo0.  &lt;BR /&gt;&lt;BR /&gt;A private IP aliased to the real interface could be used to allow the route to a bogus router IP  if one didn't have a situation where there was a known to be unused local IP address.&lt;BR /&gt;&lt;BR /&gt;I suppose that if enough folks filed ER's for a route to 0.0.0.0 blocking all IP access to a host it would be fine.  That of course still does not deal with the issue of link-level connectivity, but I could see where it would be useful, and easier to do than ipfilter.</description>
      <pubDate>Mon, 09 Jun 2003 17:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990859#M124320</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2003-06-09T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Blocking Network Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990860#M124321</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;You can install firewall on one or&lt;BR /&gt;both stations or put firewall between&lt;BR /&gt;the two stations.&lt;BR /&gt;The you could control all the network&lt;BR /&gt;for them.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 09 Jun 2003 18:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blocking-network-access/m-p/2990860#M124321</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-09T18:42:56Z</dc:date>
    </item>
  </channel>
</rss>

