setup telnet daemon

setup telnet daemon

Post by o.. » Thu, 18 Oct 2001 12:22:36



anyone know how to make this daaemon to run ?
i just installed the telnet server rm and check the telnet option in
/usr/sbin/ntsysv , but it seem like the telnet daemon hasn't started

any suggestion ???

 
 
 

setup telnet daemon

Post by Dean Thompso » Fri, 19 Oct 2001 15:43:52


Hi!,

Quote:> anyone know how to make this daaemon to run ?
> i just installed the telnet server rm and check the telnet option in
> /usr/sbin/ntsysv , but it seem like the telnet daemon hasn't started

Check to make sure that your firewall rules are not blocking the incoming
telnet requests.  You may want to issue the command: netstat -an | grep 23 and
see if anything is listening to port 23.  Additionally, remember to restart
the xinetd daemon as well for the changes to take effect.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. Linux Telnet Daemon security setup problem with a Windows client

A funny little question for you all....

I have a little LAN set up at home: a Linux client (Mandrake 7.0), a
Win98 client and a linux box acting as a dial on demand, masquarading
router for the other two (redhat 6.2).

Everything appears to work fine on the ping side but I'm having problems
with telnet connections from the windows box to the router box and
security set via the /etc/hosts.allow file.

A few more details:

The local subnet is 192.168.1.0 - the linux router is 192.168.1.1, the
linux client is 192.168.1.10 and the windows box is 192.168.1.11 (all
masks are 255.255.255.0)

The linux router has an /etc/hosts file of:

127.0.0.1             localhost localhost.privatedomain
192.168.1.1           modemrouter.privatedomain modemrouter
192.168.1.10          linuxclient.privatedomain linuxclient
192.168.1.11          win.privatedomain win

It also runs as a caching nameserver.

The /etc/hosts.deny file on the router denies all, the /etc/hosts.allow
is:

in.telnetd:  LOCAL, .privatedomain
in.rshd: LOCAL, .privatedomain

Now. if I telent in from the linux clinet (192.168.1.10) then all is
fine. However, if I telnet in from the windows box, it gets connection
refused and the /var/log/secure log contains:

May 21 06:26:28 modemrouter in.telnetd[472]: warning: /etc/hosts.allow,
line 6: can't verify hostname: gethostbyname(win.privatedomain) failed
May 21 06:26:28 modemrouter in.telnetd[472]: refused connect from
192.168.1.11

Note: line 6 of hosts.allow is the above line for telnetd.

The win box is set up with the static IP of 192.168.1.11 (and can ping
nicely thankyou)
It uses dns, hostmane: win, domain privatedomain, dns server 192.168.1.1
It has a gateway set as 192.168.1.1

Any ideas more than welcome....

Cheers

Steve

Sent via Deja.com http://www.deja.com/
Before you buy.

2. syntax for setting parameters in /etc/system (required for oracle server)??

3. Built-in FTP (and telnet) daemon setup

4. Sending data via TCP Socket

5. set up daemons for telnet, etc

6. Sound card under Solaris

7. Can't telnet to Imap daemon ports

8. Satan 2

9. Source for telnet daemon/client w. RFC1408/1409 ?

10. Telnet Daemon

11. A telnet daemon problem

12. Telnet daemon failure?

13. Redhat 5.0 telnet daemon terminated by system