libiptc or alternative
Hi,
in my userland-app I'm calling the iptables binary to add and
to remove iptables rules, but after moving to a Gigabit-Link
I need a faster method.
libiptc seems to fit the job but then it seems to be 'deprecated', is it really? Is there a successor to it, or other alternatives?
Can I still use libiptc on a system where iptables v1.4.12 is installed?
Quoted 7 lines · U.Mutlu
Hi,
in my userland-app I'm calling the iptables binary to add and
to remove iptables rules, but after moving to a Gigabit-Link
I need a faster method.
libiptc seems to fit the job but then it seems to be 'deprecated', is it really? Is there a successor to it, or other alternatives?
Can I still use libiptc on a system where iptables v1.4.12 is installed?
Pipe commands to iptables-save.
Quoted 10 lines · Pablo Neira Ayuso
Quoted 7 lines · U.Mutlu
Hi,
in my userland-app I'm calling the iptables binary to add and
to remove iptables rules, but after moving to a Gigabit-Link
I need a faster method.
libiptc seems to fit the job but then it seems to be 'deprecated', is it really? Is there a successor to it, or other alternatives?
Can I still use libiptc on a system where iptables v1.4.12 is installed?Pipe commands to iptables-save.
Sorry, I meant to say iptables-restore, of course.
Pablo Neira Ayuso wrote, On 2011-11-07 02:03:
Quoted 10 lines · Pablo Neira Ayuso
Quoted 9 lines · U.Mutlu
Quoted 7 lines
Hi,
in my userland-app I'm calling the iptables binary to add and
to remove iptables rules, but after moving to a Gigabit-Link
I need a faster method.
libiptc seems to fit the job but then it seems to be 'deprecated', is it really? Is there a successor to it, or other alternatives?
Can I still use libiptc on a system where iptables v1.4.12 is installed?
Quoted 3 lines
Quoted 1 line
Pipe commands to iptables-save.
Sorry, I meant to say iptables-restore, of course.
Hmm. I think in my case this method is suboptiomal because my iptables rules do change very frequently (ie. banning individual ip's at different times and then unbanning each after say x minutes, again individually, ie. not as a group).
I think in this case I should stick with libiptc since it's still part of the official iptables distribution.
Quoted 8 lines · U.Mutlu
Hmm. I think in my case this method is suboptiomal because my iptables rules do change very frequently (ie. banning individual ip's at different times and then unbanning each after say x minutes, again individually, ie. not as a group).
I think in this case I should stick with libiptc since it's still part of the official iptables distribution.
This is starting to sound like something ipset could help with?
Ed W