Hey,

I spotted one of my bird installations being quite spammy with:

babel1: Socket error on <iface>: Destination address required

Digging through the archives, I found this has previously already been reported
in BFD contexts, in every occasion, wireguard being mentioned too:

 - [email protected]
 - [email protected]
 - [email protected]

Now with me seeing this for babel, I took a closer look.

It seems to be a generic behaviour with how wireguard links behave:

If the peer the packet should be sent to is offline (or has not yet completed
the handshake), the kernel sends a 'Destination address required' error:

```
root@flint2:~# ping fe80::5%wg_rock
PING fe80::5%wg_rock (fe80::5%13): 56 data bytes
ping: sendto: Destination address required
```

```
root@flint2:~# wg show wg_rock
interface: wg_rock
  public key: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=
  private key: (hidden)
  listening port: 8447

peer: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
  preshared key: (hidden)
  allowed ips: 0.0.0.0/0, ::/0
```

This probably should get filtered out by babel if the interface is of wireguard
type?

Or in the babel case, such a message be considered as another signal that the
link is down, similar to `check link yes;`?


Thanks,
Florian

Reply via email to