nhorman / dropwatch

user space utility to interface to kernel dropwatch facility
GNU General Public License v2.0
632 stars 92 forks source link

Ubuntu 20.04 Unable to find NET_DM family, dropwatch can't work, kernel already configured with CONFIG_NET_DROP_MONITOR=y #91

Open jmck111 opened 2 weeks ago

jmck111 commented 2 weeks ago

I have installed dropwatch using snap on Ubuntu 20.04. Running Kernel is 5.4.0-200-generic

When I run: dropwatch -l kas

I get: Unable to find NET_DM family, dropwatch can't work

I have checked the kernel var CONFIG_NET_DROP_MONITOR and its already set to y. Any ideas? Thanks.

nhorman commented 2 weeks ago

I'm guessing its some kernel misconfiguration. I just tried on 22.04 with kernel 5.15.0-122 and it works fine. Perhaps you're looking at the config for a newer kernel but running a version that doesn't have it enabled. Suggest opening an issue with ubuntu.

jmck111 commented 2 weeks ago

Thanks for the quick reply. Hmm seems to be the correct Kernel I'm checking. I'll do some more digging.