Hide Forgot
Description of problem: TCP Wrapper doesn't work basic on files: /etc/hosts.allow and /etc/hosts.deny Version-Release number of selected component (if applicable): setup-2.8.36-2.fc16.noarch How reproducible: Steps to Reproduce: 1. Put into /etc/hosts.deny line: sshd: ALL 2. Try connect to host by ssh. Actual results: Connect is possible Expected results: Connect should be refused Additional info: In FC15 and FC14 it worked
Component setup provides just empty hosts.deny and hosts.allow - so the issue is not in the setup component -> moving to tcp_wrappers.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This still works for me: [user@master ~]$ ssh root@f16-openssh ssh_exchange_identification: Connection closed by remote host [root@f16-openssh ~]# tail -n1 /var/log/secure Dec 2 16:54:22 f16-openssh sshd[1437]: refused connect from 192.168.122.1 (192.168.122.1) [root@f16-openssh ~]# ssh root@localhost ssh_exchange_identification: Connection closed by remote host [root@f16-openssh ~]# tail -n1 /var/log/secure Dec 2 16:57:00 f16-openssh sshd[1442]: refused connect from ::1 (::1) [root@f16-openssh ~]# grep sshd /etc/hosts.deny sshd: ALL tcp_wrappers-7.6-64.fc16.x86_64 openssh-5.8p2-23.fc16.x86_64 Please provide more relevant informations - host.deny, host.allow, sshd_config, package versions, sshd.service status ...
Well, I have just checked again and now it works correctly. We can close this bug.