Delivery-Date: Tue, 08 Jul 2014 01:44:21 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 57C131E0D9A
	for <archiver@seul.org>; Tue,  8 Jul 2014 01:44:19 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 63E4A301F3;
	Tue,  8 Jul 2014 05:44:16 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 8B34730274
 for <tor-talk@lists.torproject.org>; Tue,  8 Jul 2014 05:30:34 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id BAkKQbPFs24x for <tor-talk@lists.torproject.org>;
 Tue,  8 Jul 2014 05:30:34 +0000 (UTC)
Received: from continuum.iocl.org (continuum.iocl.org [217.140.74.2])
 by eugeni.torproject.org (Postfix) with ESMTP id D57292FEBD
 for <tor-talk@lists.torproject.org>; Tue,  8 Jul 2014 05:30:32 +0000 (UTC)
Received: (from krey@localhost)
 by continuum.iocl.org (8.11.3/8.9.3) id s685USD19811;
 Tue, 8 Jul 2014 07:30:28 +0200
Date: Tue, 8 Jul 2014 07:30:27 +0200
From: Andreas Krey <a.krey@gmx.de>
To: tor-talk@lists.torproject.org
Message-ID: <20140708053027.GD16601@inner.h.apk.li>
References: <CAJ8LpWq5_ga6mDVkKrO-Jr-7K8=oErqqwsRd9+9UumdVE0YKiQ@mail.gmail.com>
Mime-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJ8LpWq5_ga6mDVkKrO-Jr-7K8=oErqqwsRd9+9UumdVE0YKiQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-message-flag: What did you expect to see here?
Subject: Re: [tor-talk] What is keeping the SSH connection alive?
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

On Tue, 08 Jul 2014 07:08:50 +0000, Nurmi, Juha wrote:
...
> The wireless router is keeping the SSH connection alive until I reboot it.
> 
> I don't understand how this is possible.

On a TCP connection (which the SSH connection is) there is no traffic when
neither side is sending anything. If you just disappear from the WLAN, as
far as the other side is concerned, you are still there. This changes...

> The SSH server has the default settings (keep alive settings are commented
> out):

...as soon as the other side sends something and then doesn't get the acks;
then the connection times out and the server sees that the client has vanished.
Thus enabling server-side timeout will (quite probably) improve this behaviour.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

