Re: telnetd timing out?
On 31 Dec, this message from Michel Dänzer echoed through cyberspace:
> On Sun, 2001-12-30 at 21:45, Elizabeth Barham wrote:
>
>> > 2- the remote box auto-logging you out.
>>
>> Most likely but I checked syslog; I figured that there might be
>> mention of it "User has been idle 2 hours. Disconnected." but there
>> was no mention of it.
>
> Could it simply be the TCP connection that timed out? Tweak
> /proc/sys/net/ipv4/tcp_keepalive_* (on the client) to avoid that.
That should never happen. Unless you have a box inbetween (my answer 1-:
firewall), neither client nor server should timeout a TCP connection.
Application, yes; but never the stack. Which means that the /proc
tweeking wouldn't help, AFAIR. It's worth a shot to maybe force telnet
to actually use a keepalive (which it doesn't by default. Just try to
telnet into a server from your Pismo; make it sleep for a day ot two,
and see your telnet session spring to life again on wakeup ;-)
Cheers
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
Reply to: