Interface to set netfilter rules from a C program

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

 



Hello,

I'm trying to use iptables for a solution right now.

I want to be able to set and remove netfilter rules from a C program. The detour via the "exec" family seems somewhat unattractive.
However, the use of libiptc is strongly discouraged (https://netfilter.org/documentation/FAQ/netfilter-faq-4.html#ss4.5).

Are there other internal libraries that can be used for this, or will libiptc be usable for a longer time?

Best regards 

Peter Johennecken 
Bachelor of Science * Development 

DEOS AG 
Birkenallee 76 
48432 Rheine   
Germany 

-- 
Wenn Sie uns sicher erreichen wollen, schicken Sie keine ausführbaren Dateien und ausschließlich PDF Dokumente. Danke für Ihre mitarbeit.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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