Description of problem: When trying to telnet to RH5, I recieve: "Temporary failure in name resolution: Illegal seek" and host disconnects. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Client release 5 (Tikanga) telnet-server-0.17-38.el5 How reproducible: Just telnet :) If you enter the clients IP and name in /etc/hosts or use a DNS server it works as it should. Seems like a bug that cant handle that reverse lookup cant be done. I havent checked whether or not the DNS server have to have an A Name record or not Steps to Reproduce: 1. Rename /etc/resolv.conf to /etc/resolv.conf.org 2. Remove clients IP and name from /etc/hosts 3. Telnet from client to Server Actual results: Expected results: Additional info:
starting the telnetd with "-c" should help in this case..
Thank for the reply. That flag pointed me to Bug 223448 (was curious about what it meant :) -c This option disables reverse dns checking. Of course that security is lower with this option I have tried with "server_args = -c" and "server_args = in.telnetd -c" in /etc/xinetd.d/telnet and restarted xinetd. when trying to telnet to the server I get: Trying 192.168.1.109... Connected to 192.168.1.109. Escape character is '^]'. in.telnetd: invalid option -- c Usage: telnetd [-debug] [-D (options|report|exercise|netdata|ptydata)] [-h] [-L login_program] [-n] [port] Connection closed by foreign host. Am I doing something wrong? :)
$ cat /etc/xinetd.d/telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd server_args = -c log_on_failure += USERID disable = no } works for me
ah, oh... different version in RHEL5 without the "-c" patch :-/ sorry... also see bug #248063
Be happy to, but Bugzilla disagress :) You are not authorized to access bug #248063 :(
Btw the way, going on 2 week vacation now...yiihaaa But will check as soon as I get back..maybe earlier if I'm in any ahem sober state :)
*** This bug has been marked as a duplicate of 253392 ***