`man hosts.allow` says that lines in hosts.allow "should satisfy the following format, things between [] being optional":

daemon_list : client_list [ : shell_command ]

In your case the daemon_list is 'myproxy-server', the client_list is '127.0.0.1' and the shell_command is empty. It means that you should have:

myproxy-server: LOCAL

However, it is common to have in /etc/hosts.allow the following line

ALL: LOCAL

than deny loopback access and protect a machine from itself. You can also remove the line "ALL: ALL" from /etc/hosts.deny as I suggested several days ago.

Lukasz

On 5/28/11 11:46 AM, Amitav Mohanty wrote:
On 05/28/2011 09:39 PM, Lukasz Lacinski wrote:
libwrap is configured to block connections from 127.0.0.1.
Please, show what you have in /etc/hosts, /etc/hosts.allow, /etc/hosts.deny.

Lukasz

Hey

The files on my system are as follows:

[root@fool dknight]# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1       localhost.localdomain   localhost

# End of file
194.109.142.194 www.clamav.net
10.53.252.5 fool.man.machine fool
[root@fool dknight]# cat /etc/hosts.allow
#
# /etc/hosts.allow
#

# End of file
sshd: 192.168.1.
myproxy-logon: localhost : allow
[root@fool dknight]# cat /etc/hosts.deny
#
# /etc/hosts.deny
#

ALL: ALL

# End of file

Regards
Amitav

Reply via email to