[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: WG: Problem with Busybox telnetd
From:       Denis Vlasenko <vda.linux () googlemail ! com>
Date:       2007-07-19 20:12:57
Message-ID: 200707192112.57936.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 19 July 2007 09:21, Markus Forster wrote:
> Hi there,
> 
> i've activated telnetd in the menuconfig. All went good, i call the telnetd
> via inittab and its available. Port 23 is opened so i can connect.
> But the server closes the connection directly after connecting with the
> following message:
> 
> Trying 192.168.20.30...
> Connected to 192.168.20.30.
> Escape character is '^]'.
> Connection closed by foreign host.
> 
> Whats wrong with it?

Strace it. If you can't do that, run it like this:

telnetd -F | nc -nu <your_other_box's_ip> 12345

It will make telnetd send error messages to stdout
instead of syslog, and then nc will pipe them into network.

Use nc (or tcpdump) to see the telnetd's output
from the box as UDP packets arriving to your port 12345.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic