Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

telnetd and getbyhostname

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hallo,

Whenever I try to connect to my sun box via telnet, I get an error like

sunbox inetd[420]: [ID 140027 daemon.error] warning: can't verify hostname: gethostbyname(my-host-name) failed
sunbox inetd[420]: [ID 913506 daemon.warning] refused connect from 10.2.41.31 (name/address mismatch)

We are in the process of moving from one domain to another.

in /etc/hosts.allow
# Only permit telnet connections from clients behind your firewall
%A in.telnetd : ALL

in /etc/default/inetd
ENABLE_TCPWRAPPERS=YES

Is there a simple way to enable telnet connections without the getbyhostname check? I would love to be able to disable this feature temporarily...
 
Well, if it's only giong to be temoprarily, why not just turn off TCP wrappers?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top