You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
William J. Tolley
9a4b3d9270
|
3 years ago | |
---|---|---|
src | 3 years ago | |
README.md | 3 years ago |
README.md
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