NAT/filtering simple examples

Giacomo delleceste at gmail.com
Sat Sep 24 15:36:10 CEST 2005


Good morning.
If anyone in the news was interested, i communicate that i have finished 
developing
a simple ipv4 packet filter with nat/masquerading functionality.

Kernel programming encompasses these topics:

- Netlink sockets for user/kernel communication;
- Netfilter hook registration;
- getsockopt() function registration;
- Kernel module programming;
- Network programming (socket buffers, network functions...)
- /proc interface read/write example;
- kernel linked lists and related timers;
- ....

Userspace programming:

- Netlink communication (a simple netlink interface has been written);
- Pipes/semaphores for communication between parent and son processes;
- Networking functions;
- signals;
- unbuffered Input from terminal;
- ...

If anyone interested visit

http://www.giacomos.it/ipfire/index.html

and then if you find something interesting let me know!

delleceste at gmail.com

Thanks for those in the list who helped! :)

Giacomo S. 




More information about the netfilter-devel mailing list