Operating System - HP-UX
1837905 Members
3030 Online
110124 Solutions
New Discussion

system with two ip addresses, block incoming on one of them?

 
Ken Penland_1
Trusted Contributor

system with two ip addresses, block incoming on one of them?

I have an HPUX 11.0 system with tcp wrappers installed and two seperate IP addresses configured on the box. Under certain circumstances, we want to block incoming connections from certain ip addresses on certain ports to one of those ip addresses....currently we just use ifconfig to take it down completely, but we still need to have that ip address up for a few specific ip addresses to connect to. Any ideas? we were thinking that there may be some way with hosts.allow but cant come up with anything.
'
3 REPLIES 3
Slawomir Gora
Honored Contributor

Re: system with two ip addresses, block incoming on one of them?

Hi,

you can try with inetd.sec
/var/adm/inetd.sec file
man inetd.sec
RAC_1
Honored Contributor

Re: system with two ip addresses, block incoming on one of them?

Did you look at ipfilter product?? It is a free product and looks like will help you.

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: system with two ip addresses, block incoming on one of them?

The tool to do that with is ipfilter.

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com