Click to See Complete Forum and Search --> : format of host.allow and host.deny


qweqwe
10-23-2000, 12:43 PM
hi,

what is the format for host.deny and host.all files.

my host.deny is
ALL: ALL

host.allow
192.x.x.x1
192.x.x.x2

is it ok...

I ma using DHCP server internally can i specify a range of internal IP addresses ?...

i am using the above format but now i m unable to telnet to my linux box. but i am able to ping it. what could be the problem.

Thanks,
qweqwe

Fandelem
10-23-2000, 01:41 PM
type:

/usr/sbin/tcpdchk --help

(to get a list of commands)

this checks the integrity of your host.allow/deny files.

/usr/sbin/tcpdchk -v is probably what you want, it will list all rules.

if you have something wrong, it will appear like this:

>>> Rule /etc/hosts.allow line 6:
daemons: swat
warning: /etc/hosts.allow, line 6: swat: no such process name in /etc/inetd.conf
clients: 127.0.0.1 192.168.0.
access: granted

hope this helps,

~kyle

qweqwe
10-24-2000, 03:24 AM
thanks i found a link which explained me tcp-wrappers in detail
http://www.linuxgazette.com/issue46/pollman/tcpwrappers.html