RX Errors from Android Peer

René van Dorst opensource at vdorst.com
Thu Apr 26 10:59:10 CEST 2018


Hi Eddie and Jason,

I seeing this too.

On the server: WireGuard 0.0.20180420-2-g802b85c (Mips32r2)

peer: bHFjNUyfx141TvuNXUyIQ2BDAF57zfcpgdRd09UOlSg=
   endpoint: <ipv4>:22649
   allowed ips: 10.0.0.8/32, fd00::8/128, <ipv6 prefix/48>:fff8::/64
   latest handshake: 17 minutes, 41 seconds ago
   transfer: 3.07 MiB received, 18.78 MiB sent

wg0       Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:10.0.0.1  P-t-P:10.0.0.1  Mask:255.255.255.0
           inet6 addr: fd00::1/64 Scope:Global
           inet6 addr: <ipv6 prefix/48>:fff0::/60 Scope:Global
           UP POINTOPOINT RUNNING NOARP  MTU:1440  Metric:1
           RX packets:23629 errors:215 dropped:0 overruns:0 frame:215
           TX packets:23885 errors:6 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3224980 (3.0 MiB)  TX bytes:19693516 (18.7 MiB)



Latest Android client 0.4.0 on a Backberry DTEK50 android 6.0.1. So  
fallback on userspace implementation.

Address: 10.0.0.8/32, <ipv6 prefix/48>:fff8::1/64
dns: 8.8.8.8
Allowed IPS: ::/0, 0.0.0.0/0
MTU: auto.


Before test
wg0       Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:10.0.0.1  P-t-P:10.0.0.1  Mask:255.255.255.0
           inet6 addr: fd00::1/64 Scope:Global
           inet6 addr: <ipv6 prefix/48>:fff0::/60 Scope:Global
           UP POINTOPOINT RUNNING NOARP  MTU:1440  Metric:1
           RX packets:23714 errors:215 dropped:0 overruns:0 frame:215
           TX packets:23996 errors:6 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3239760 (3.0 MiB)  TX bytes:19715932 (18.8 MiB)

dmesg:
wireguard: wg0: Sending handshake initiation to peer 6 (85d26a64)
wireguard: wg0: Receiving handshake initiation from peer 6 (85d26a64)
wireguard: wg0: Sending handshake response to peer 6 (85d26a64)
wireguard: wg0: Keypair 93 created for peer 6
wireguard: wg0: Keypair 91 destroyed for peer 6
wireguard: wg0: Receiving keepalive packet from peer 6 (85d26a64)
wireguard: wg0: Packet has unallowed src IP (8cd8bd50) from peer 6 (85d26a64)
wireguard: wg0: Receiving keepalive packet from peer 6 (85d26a64)
wireguard: wg0: Receiving keepalive packet from peer 6 (85d26a64)
wireguard: wg0: Receiving keepalive packet from peer 6 (85d26a64)
wireguard: wg0: Receiving handshake initiation from peer 6 (85d26a64)
wireguard: wg0: Sending handshake response to peer 6 (85d26a64)
wireguard: wg0: Keypair 94 created for peer 6
wireguard: wg0: Keypair 92 destroyed for peer 6
wireguard: wg0: Receiving keepalive packet from peer 6 (85d26a64)
wireguard: wg0: Retrying handshake with peer 6 (85d26a64) because we  
stopped hearing back after 15 seconds
wireguard: wg0: Sending handshake initiation to peer 6 (85d26a64)
wireguard: wg0: Receiving handshake response from peer 6 (85d26a64)


After test:
wg0       Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:10.0.0.1  P-t-P:10.0.0.1  Mask:255.255.255.0
           inet6 addr: fd00::1/64 Scope:Global
           inet6 addr: <ipv6 prefix/48>:fff0::/60 Scope:Global
           UP POINTOPOINT RUNNING NOARP  MTU:1440  Metric:1
           RX packets:26810 errors:216 dropped:0 overruns:0 frame:216
           TX packets:26866 errors:6 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:3674552 (3.5 MiB)  TX bytes:21719820 (20.7 MiB)

Tunnel is working: test-ipv6.nl shows both my ISP ipv4 and ipv6 address.

Greats,

René van Dorst.



More information about the WireGuard mailing list