361 B
361 B
Testing netfilter LKM
- create vm:
cd src && vagrant up - ssh to vm:
vagrant ssh - compile netfilter lkm:
cd lkm && make all - insert module in kernel:
./use_mod.sh - do a test dns lookup:
nslookup yo.com 8.8.8.8 - check logs for new modules prints:
dmesg | grep "client port" - remove new kernal module and clean:
./remove_mod.sh