Skip to contentSkip to conversation

NAT/filtering simple examples

DISCUSSION Giacomo 1 participant 1 message Sep 24, 2005 netfilter

lore
Share & tools
lore

Giacomo

author
#0 lore raw

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!

[email protected]

Thanks for those in the list who helped! :)

Giacomo S.