[Gllug] Connection reset by peer

Tom Schutzer-Weissmann trmsw at yahoo.co.uk
Thu Jun 16 18:06:52 UTC 2005

On Thu, 2005-06-16 at 18:05 +0100, Richard Jones wrote:
> On Thu, Jun 16, 2005 at 02:50:36PM +0100, Tom Schutzer-Weissmann wrote:
> > vnc and ssh are pretty much unusable for me, sessions keep breaking with
> > the error "Connection reset by peer". It must be to do with my network
> > setup, but'm having problems pinning it down. 
> Some crappy ADSL routers (like mine) drop NAT connections after a very
> short and non-configurable timeout.  The solution - apart from
> throwing away aforementioned broken routers - is to send TCP keepalive
> packets to keep the connection up.

So you're saying that if the connection's been NATed before it gets to
the router then the router's liable to drop it? I had just assumed that
the problem was with the linux box that was doing the pre-ADSL router
NAT. Rank heresy...

tcp_keepalive_time on the linux router or the vnc client seems to make
no difference tho'.

Tom Weissmann

How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list