Operating System - HP-UX
1748171 Members
4084 Online
108758 Solutions
New Discussion юеВ

hosts.allow and hosts.deny

 
Stojcevski Dejan
Regular Advisor

hosts.allow and hosts.deny

Hello to all,
I would like to know more about how these two fileas are working - hosts.allow and hosts.deny. Which daemon is reading those files, what is the structure of the files, what security mechanism they impse, what should be restarted in rder changes in those files to become active etc ... My goal is to restrict the access to HP-UX machines by IP address to certain ports on the UX box via those two files.
Thanks.
Carpe Diem
2 REPLIES 2
Stojcevski Dejan
Regular Advisor

Re: hosts.allow and hosts.deny

Sorry. Just noticed that these files are not HP-UX specific but software (probably ssh) cpecific.
Closing the thread.
Carpe Diem
Steven E. Protter
Exalted Contributor

Re: hosts.allow and hosts.deny

Shalom,

inetd reads and acts on these files.

To meet your actual goal on hpux you would want to install and run ipfilter, which is like iptables from Linux that permits you to deny access from certain hosts by port.

When you need a firewall, use a firewall.

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