From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id d3b1314f for ; Wed, 4 Jul 2018 21:07:31 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 6dd01e7e for ; Wed, 4 Jul 2018 21:07:31 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 2013d95d for ; Wed, 4 Jul 2018 21:06:17 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4c9e114b (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Wed, 4 Jul 2018 21:06:17 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id k81-v6so12924591oib.4 for ; Wed, 04 Jul 2018 14:14:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Wed, 4 Jul 2018 23:13:57 +0200 Message-ID: Subject: Re: Android: TCP connection drop when disabling WiFi To: Stefan Agner Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Stefan, I wish this were the case too, but Android sends SOCK_DESTROY to everything when networks change, and there isn't a lot that can be done about it without rooting the device, as far as I can tell. If you've got some Android chops and can think of a way we can suppress that, I'd be very interested. Jason