Loïc Minier wrote:
>  It seems termnetd can not deal with so many lines in one paste, which
>  is rather stupid.

My guess is that it uses a static buffer, which might also mean that
this could be used for a buffer overrrun security attack. Note that
termnetd runs as root, so if that's true it would be somewhat bad.

> PS:
>  I had a lot of trouble reproducing this problem, and couldn't reproduce
>  it reliably.  My setup was with pseudo-devices (/dev/ptyz0 +
>  /dev/ttyz0), and I couldn't setup a real console properly with getty or
>  mgetty.  The channel was working until I entered my login, but things
>  were going wrong when getty calls execve() on login, login tries
>  writing "Password:" to the correct fd, but termnetd never sees it, and
>  I have no idea why.

I've found it pretty easy to get working with a real serial port, FWIW.

>  I have tried for a couple of hours to get this working, and couldn't
>  understand anything from the tty related ioctl()s that I was seeing, so
>  I'm giving up; I probably miss the required skills to maintain this
>  package and will RFA / O it.

That's a shame, it's much nicer (and freer) than conserver..

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to