Linux Netfilter discussions
 help / color / mirror / Atom feed
* Inserting NATing rules through C programmes...
@ 2005-01-04  5:32 Asghar
  0 siblings, 0 replies; only message in thread
From: Asghar @ 2005-01-04  5:32 UTC (permalink / raw)
  To: netfilter

Hi, all

Can any body tell me how to insert IP table NATing rules through C 
programmes with out using system () call.
I am getting some problem with system( ).

I have read somewhere that

"We are well aware that there is a fundamental lack for such an API, and 
we are working on improving that situation. Until then, it is 
recommended to either use system() or *open a pipe into stdin of 
iptables-restore*. The latter will give you a way better performance."


Can any body tell me from where i can get the details about the second 
option..

Regards
Asghar



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-04  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04  5:32 Inserting NATing rules through C programmes Asghar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox