Download raw body.
[patch] wireguard floods dmesg
On 2024/12/11 07:45, Lloyd wrote: > Hello, > > Wireguard has a rudimentary logging function accessed by setting the debug flag on the interface. Logging Wireguard activity is desirable e.g. for SIEM purposes. However, the current implementation will flood the system message buffer with the following message if the other side of the tunnel is down: > > wg0: No valid endpoint has been configured or discovered for peer 0 > wg0: No valid endpoint has been configured or discovered for peer 0 > wg0: No valid endpoint has been configured or discovered for peer 0 > > (etc... many times per minute) How many is "many"? If it's really very bad then ratecheck(9) can help. > The below patch quiets the chatter by mapping the unused link0 flag as a "more verbose debugging" setting. Only the above message is muted, but scoping more in similar fashion may be warranted. I don't like using link0 for that.
[patch] wireguard floods dmesg