[nzlug] IPCop box retiring. Getting NetGear DG834 ADSL Router.
Comments? Wise move?
Volker Kuhlmann
hidden at paradise.net.nz
Mon Nov 6 19:13:08 NZDT 2006
> >Some of them have less than desirable NAT implementations, however;
> >I've seen too many that decided TCP connections had vanished if they
> >saw no associated packets after a minute or two, which translates to
> >idle SSH sessions mysteriously dying.
>
> For the record I fixed this by implementing a 'keepalive' every 30
> seconds. Works wonders.
Very old problem, very old solution. Using tcp-keepalive typically
doesn't work, those adsl shites will simply ignore those. You need
application layer keepalive. If you have new enough versions of openssh,
both server and client have a keepalive options, but older ones don't.
In that case, the program spinner does absolute wonders - you run it on
the client (automatic shell startup and killoff) and in configurable
intervals it pushes a null byte at the terminal.
Volker
--
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
More information about the NZLUG
mailing list