Timing issue (?) with wg-quick up on Raspberry Pi B+

Jason A. Donenfeld Jason at zx2c4.com
Mon Sep 11 00:30:46 CEST 2017


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.


More information about the WireGuard mailing list