From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3319FC28CBC for ; Wed, 6 May 2020 10:52:23 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B17ED206B8 for ; Wed, 6 May 2020 10:52:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="cexbZBDw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B17ED206B8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1fe20226; Wed, 6 May 2020 10:38:10 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id a2587925 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 26 Apr 2020 20:50:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1587934910; bh=bbL26dJuZtFCckwQq9vpdAyUzzGLjixIdLWl2evCyww=; h=X-UI-Sender-Class:Date:From:To:Subject; b=cexbZBDwfJrFino+nzuqAdHgz2HBQ6hZ9znSUUTxQtyjErid1J8i0DwetSLdL2Z3x 69B5+Mom06hAVM9dZM7ovgRng2Mt9m2xWDrehnJZR2x68O05d33bMF5LySVwEVbJVy ava+OWxsQ4nizzl/LHO6OYSUivAlJm79s9aVtZww= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.arda.local ([93.164.92.140]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MTzf6-1jc3YK2eO2-00QxPA for ; Sun, 26 Apr 2020 23:01:50 +0200 Date: Sun, 26 Apr 2020 23:01:49 +0200 From: Kent Friis To: wireguard@lists.zx2c4.com Subject: Multiple unreachable Message-Id: <20200426230149.bf9e998b37a983892c635e78@gmx.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:cs5sQLQG4fD8Lz+JO354MC7XESVkRjdDbA6Yp0lvkUF25sgdnYz i2Ty3onW5urS1xZDeeLQG+AUeg/vf8n9FI5sI9ROd487JJKdlYY2JxhvfI4Q1cDK8VCW3Cs nadS+lQNqVhwVVBr0eKz542R/r2J+THlLD86B0/DJwtWXMmIXswJ0tqtWlGYK2SrKsLAIs0 zEd+KGSfiM3p0gM9nsKnA== X-UI-Out-Filterresults: notjunk:1;V03:K0:3FG/yKRPXYA=:na0j/ph5QSSVg//k9g2Ug6 FxOANR+NP4DYwjQHV6tzRkQWKKwaw+xknfSKS93cMC+E9dmdUeYzAqYNGYgP0saPu1YgY2c0u TT0H4EqZ1LTggB0AwK/KByRc33QDiSUd7xq9Kn5pEr6zJ2/PZe6jnp4DOpUz9ZCZtNBTsnmkB aG7qVlc5VXZ5MLgmCRqsKJfQ1HobZqyI7eodukhDOeMsNbKm5NHjwXHIV4qY0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ved-At: Wed, 06 May 2020 12:38:09 +0200 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" I have a pretty simple Wireguard setup between two machines. The power supply in my brothers server died, so the tunnel is of course down. My machine is running Linux 5.6.7 (from kernel.org, no patches or out of tree drivers) with in-kernel Wireguard. To see if he has gotten his server back up, I tried to ping it (via the tunnel). That gave more unreachable responses than expected (note the sequence number): PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data. >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable ... >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable >From 172.24.0.1 icmp_seq=1 Destination Host Unreachable ping: sendmsg: Destination address required ^C --- 172.16.1.1 ping statistics --- 1 packets transmitted, 0 received, +50 errors, 100% packet loss, time 0ms 172.24.0.1 is my end. 172.16.1.1 is my brother (not online) rc.wireguard: ip link add dev wg0 type wireguard wg setconf wg0 /etc/wireguard/wg0.conf ip address add dev wg0 172.24.0.1 ip link set up dev wg0 ip route add 172.16.1.0/24 dev wg0 wg0.conf: [Interface] PrivateKey = removed ListenPort = 51820 [Peer] PublicKey = also removed AllowedIPs = 172.16.1.0/24 My PC has been rebooted since the tunnel was last up, so Wireguard has no ip address for the other end. This is not causing any problems that I've noticed, but I assume there is a bug somewhere to give this many errors. Pinging an unreachable host on the LAN only gives one "Host Unreachable" message per sequence number. -Kent