Creating rules without the /sbin/iptables command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm writing a tool for creating a rulesset. It's meant for users who do understand the way a firewall works, but don't have any netfilter-specific knowledge. It can output a bash-script or create the rules itself.

My program (written in c) creates rules by opening a pipe to /sbin/iptables. However this is quite slow with large rulessets and on slow hardware. Is there another way, like an iptables librarycall or something? I'm going to release the tool under the GPL soon, so that shouldn't be a problem.

Regards,
Victor


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux