Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tcpd paranoid and locally defined hostnames hosts.allow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 61

PostPosted: Sun Jul 08, 2012 12:18 pm    Post subject: tcpd paranoid and locally defined hostnames hosts.allow Reply with quote

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
Code:
ALL: all

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum