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 2abaca75 for ; Sun, 10 Sep 2017 22:04:46 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id bf2b3ed1 for ; Sun, 10 Sep 2017 22:04:46 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f30e51d1 for ; Sun, 10 Sep 2017 22:23:49 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 6eadcef8 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Sun, 10 Sep 2017 22:23:48 +0000 (UTC) Received: by mail-io0-f174.google.com with SMTP id v36so3090549ioi.1 for ; Sun, 10 Sep 2017 15:30:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1e1740c3-f8cf-2ee2-d842-749b687cb737@gmail.com> <07621915-a53a-03f3-9c75-b7e7d188d109@gmail.com> From: "Jason A. Donenfeld" Date: Mon, 11 Sep 2017 00:30:46 +0200 Message-ID: Subject: Re: Timing issue (?) with wg-quick up on Raspberry Pi B+ To: Jim Darby 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: , Another "direct" debugging thing you could do is: $ ip link add nlmon0 type nlmon $ ip link set nlmon0 set up And then start looking at the output in Wireshark. When you see the obvious culprit (a rtnetlink message deleting the address), look at the port ID. Then look in /proc/net/netlink to correlate the port id ("Pid") with an inode ("Inode"). Then look at the symbolic link targets of /proc/{pid}/fd/[0-9]+ to see which pid has a fd belonging to that inode. Then we'll know for certain.