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
Description
Languages
C
75%
Shell
14.8%
Python
7.7%
Makefile
2.5%