Netfilter API help
Hello All,
Iam new to netfilter . and trying to implement a new firewall on linux 2.6.X kernel. can some one give me a URL to find the Netfilter API documentation to start my work. i trid to find it but couldnt. i'll be greatful , if some one can give me a breif introduciton to netfilter capabilities . then whats the different between berkley packet filtering and Netfilter ???
Many thanks,
Tharanga
mån 2007-04-23 klockan 15:10 +0600 skrev Tharanga:
Quoted 4 lines
Iam new to netfilter . and trying to implement a new firewall on linux 2.6.X kernel. can some one give me a URL to find the Netfilter API documentation to start my work. i trid to find it but couldnt. i'll be greatful , if some one can give me a breif introduciton to netfilter capabilities .
There is many layers...
Linux kernel TCP/IP stack
Netfilter hooks into the above.
Netfilter common infrastructure, mainly conntrack, nat and some netlink stuff
iptables
iptables matches & targets
The best source to netfilter programming details is the source code, after first reading the netfilter hacking howto which gives a reasonable (even if slightly outdated) introduction. Combined with making focused questions on this mailinglist.
Regards
Henrik