Quote:
Originally Posted by masatheesh
Hi,
Is it possible to use hosts.allow and hosts.deny files to restrict all access? For example,consider the following content of hosts.deny file of 192.168.0.1
ALL: ALL
Will it restrict the access of 8080 port of192.168.0.1 from 192.168.0.2?
|
tcpwrappers work only for applications that have the libwrap module compiled in.
to find out, run
ldd /path/to/executable | grep libwrap
the example you have above would restrict access to any apps with libwrap compiled in from 192.168.0.1
Like glennspref says - you are better off using iptables.