[parisc-linux] interesting problem in tty? telnetd? ls?

hgrothe@mathematik.tu-darmstadt.de hgrothe@mathematik.tu-darmstadt.de
Thu, 20 Sep 2001 15:30:38 +0200


On Wed, Sep 19, 2001 at 02:55:13PM -0700, marka@sea.checkpoint.com wrote:
> I'm not sure where this problem is occuring, but I suspect it's telnetd.
> 
> telnet to your pa-risc linux box
> cd to the root directory
> execute 'ls -alR'
> 
> you'll lose your ptty and telnet session after a short while (seconds), but
> never at the the same place during the listing.  This does not occur over the
> serial console, but since that's only running at 9600 it may not be fast
> enough for the drop to occur.
>
Yes, it's telnetd. Replacing /usr/sbin/in.telnetd (telnetd_0.17-16_hppa.deb)
with a self-compiled one (from source netkit-telnet_0.16.orig.tar.gz with
potato patches) works for me. I modified Makefile in subdir telnetd to use
the correct login wrapper (the one from 0.17): 
   -DLOGIN_WRAPPER=\"/usr/lib/telnetlogin\"

HTH, Holger

P.S.: openssh works out of the box and is more secure
-- 
Holger Grothe  (Email: hgrothe@mathematik.tu-darmstadt.de)
Fachbereich Mathematik, TU Darmstadt