jerrya at airmail.net
Tue Oct 4 02:24:20 CEST 2005
Working on implementing packetswitching.
Of course Iptables/Netfilter looks like the
correct medium to do so.
Loaded things up and iptables could
Add(append), subtract(delete) and move(replace) UDP/IP
Wrote a base module using nf_register_hook at PREROUTING
to gather packet stats.
My problem is this. My manager wants a "ContextId"
generated during the a add,subtract,move commands. Of
course this would have to be unique(using a hashing algorithm
which uses the IP address and the Port Number).
Right now this looks like it would need to be generated in the
kernel module. But this would require all the Append/delete/Replace
command functions moved to the kernel function also!!
Hoping someone can point me in the right direction on how
this would be done using Iptables and Netfilter.
More information about the netfilter-devel