- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Blocking Network Access
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 02:18 AM
06-06-2003 02:18 AM
Blocking Network Access
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.
Your suggestions would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 02:27 AM
06-06-2003 02:27 AM
Re: Blocking Network Access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 02:31 AM
06-06-2003 02:31 AM
Re: Blocking Network Access
You can restrict all inetd related tcp services by creating /var/adm/inetd.sec and put the required entries inside the file.
See man inetd.sec.
By creating /etc/ftpusers file restrict ftp.
See man ftpusers
But ping works in layer 3 . I don't thing we can disable ping with default OS.
You will be requiring any external software or arrangements in Network switch.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 02:54 AM
06-06-2003 02:54 AM
Re: Blocking Network Access
what exactly do you want to block ? What do you want to allow ?
Others suggested many ways...
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.
It's just an idea... don't know if applicable.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 03:24 AM
06-06-2003 03:24 AM
Re: Blocking Network Access
i think it is possible if u install TCP wrappers and disable as many services by configuring it.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 04:11 AM
06-06-2003 04:11 AM
Re: Blocking Network Access
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA
You can get very fine-grained control over what hosts/protocols are allowed through.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 05:55 AM
06-06-2003 05:55 AM
Re: Blocking Network Access
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 06:03 AM
06-06-2003 06:03 AM
Re: Blocking Network Access
At the best you can do is to control the services using /var/adm/inetd.sec.
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.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 06:15 AM
06-06-2003 06:15 AM
Re: Blocking Network Access
Block the access at the network level.
= Mike =
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 06:32 AM
06-06-2003 06:32 AM
Re: Blocking Network Access
inetd.sec only secures internet protocols, and does not filter/block an IP.
The syntax to use is
arp -s
Now, since you can use arp to list the current tables, you can easily remap.
arp -a
router (172.20.106.254) at 0:50:73:f6:ec:c0 ether
masterc (172.20.106.150) at 0:e0:81:21:30:8b ether
To remap, I want to give the same MAC a bogus address
arp -d 172.20.106.150
arp -s 172.20.106.198 0:e0:81:21:30:8b
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.
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 ;)
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 07:26 AM
06-06-2003 07:26 AM
Re: Blocking Network Access
You create an ACL / rule in IPfilter to block
ICMP protocol (inbound and outbound) btw 2 hosts.
Both IPfilter & IPsec are free of charge.
Here (ipfilter)
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9901AA
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 07:39 AM
06-06-2003 07:39 AM
Re: Blocking Network Access
then my guess can come true !
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 07:39 AM
06-06-2003 07:39 AM
Re: Blocking Network Access
For example to allow ping and traceroute to your host write following rules:
pass in quick on lan0 proto icmp from any to 20.20.20.0/24 icmp-type 0
pass in quick on lan0 proto icmp from any to 20.20.20.0/24 icmp-type 11
That means icmp-type 0 for ping and type 11 for
traceroute.
Looks nice.
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 06:44 AM
06-09-2003 06:44 AM
Re: Blocking Network Access
I tried with arp, hosts.deny, hosts.allow and inetd.sec and have failed. I have decided to give a try with tcpwrappers.
Let me hope for the best.
Regards,
Manjunath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 09:53 AM
06-09-2003 09:53 AM
Re: Blocking Network Access
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.)
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.
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 09:57 AM
06-09-2003 09:57 AM
Re: Blocking Network Access
Solaris and Linux have a nice feature built into the route command. They both accept...
route add "host_to_block" 0.0.0.0 0
It's such a simple method of blocking that it's used by some of the monitors (I use netwatch).
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?
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 10:57 AM
06-09-2003 10:57 AM
Re: Blocking Network Access
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2003 11:42 AM
06-09-2003 11:42 AM
Re: Blocking Network Access
You can install firewall on one or
both stations or put firewall between
the two stations.
The you could control all the network
for them.
Caesar