Re:Watch Where the Linux Kernel Drops a Packet
by Ao7bei3s on Wednesday May 20, 2020 @01:10PM
(#23249266)
Note there's also kernel side code for this. Theoretically it's generic, but practically it was written specifically for dropwatch and dropwatch is the only user of it that I am aware of.
https://github.com/torvalds/linux/blob/master/net/core/drop_...
Re:Watch Where the Linux Kernel Drops a Packet
by nh2 on Wednesday May 20, 2020 @04:21PM
(#23251308)
If you just want to enable it in your kernel (in case your distribution hasn't already), the config option is called `CONFIG_NET_DROP_MONITOR`.
I've recently made it on-by-default in NixOS and also collected some info about which other distros already have it on-by-default and since when: https://github.com/NixOS/nixpkgs/pull/85119
dropwatch is very useful, I used it to debug interruptions of our VPN setup between servers.
https://github.com/nhorman/dropwatch