Xander314 n00b
Joined: 16 Apr 2012 Posts: 61
|
Posted: Sun Jul 08, 2012 12:18 pm Post subject: tcpd paranoid and locally defined hostnames hosts.allow |
|
|
I am setting up a server. It uses Gentoo Hardened kernel sources, though at present most security features have not yet been compiled into the kernel. I also used the hardened profile. Now I am trying to get sshd working on there.
In /etc/hosts.deny I have
If I put
Code: | sshd: <ip address of my laptop> |
in /etc/hosts.allow then ssh connects successfully. However, if I put
Code: | sshd: avs-laptop.avs-net |
which is defined in /etc/hosts, then I cannot connect. /var/log/syslog on the host reports that there has been a name/address mismatch since
Quote: |
avs-laptop.avs-net != <ip address of laptop>
|
Is there anything I can do to resolve this, or should I just put the laptop's IP address in /etc/hosts.allow? |
|