re telnet problem

Stephane Alnet stephane at u-picardie.fr
Mon Feb 22 19:03:18 EST 1999


>     ipfwadm / ipchains ?
>         i don't know where these are or what to do with them

These are the firewalling (packet filter) tools for Linux 2.0.x (resp.
2.2.x / late 2.1.x).

>     try running "/usr/sbin/in.telnetd" at command line and post results:
>         i get this error message:
>             /usr/sbin/in.telnetd: getpeername: Socket operation on
non-socket 

This is normal: in.telnetd tries to get the "peer name" (the name of the
remote machine accessing through telnet) but since you are running it from
the command line, the system call fails (it cannot work with stdin in that
case). Not a problem.


Other things you may check since tcpd is here:

- Can you get the name of the client machine on the server from its IP
address, then get its IP address from its name (that's mainly the test
"tcpd" performs)?

Example: on canopus, try:

  nslookup deneb               -> should give you deneb's IP address
  nslookup <deneb's-IP>        -> should give you "deneb.something.com"
  nslookup deneb.something.com -> just to double-check the FQDN works ;)

- Do /etc/hosts.allow and /etc/hosts.deny allow the connection?

St)Béphane


-
Subcription/unsubscription/info requests: send e-mail with subject of
"subscribe", "unsubscribe", or "info" to discuss-request at blu.org



More information about the Discuss mailing list