All of lore.kernel.org
 help / color / mirror / Atom feed
* any Api to program with iptables without system(...)
@ 2005-10-17 21:45 iAc
  2005-10-19 17:30 ` Pablo Neira
  0 siblings, 1 reply; 2+ messages in thread
From: iAc @ 2005-10-17 21:45 UTC (permalink / raw)
  To: netfilter-devel

Hello everybody,
I'm new to iptables.
I know the basic command of iptables and how it works.
I have to develop a program that interface with Iptables but for security
reason I'm canno use system call System(iptables command).
I have try to find out a better way but I didn't find nothing.
Someone there can show me how can I interact with iptables withou system
call "System etc. etc." ??

Thansk for all
Iacopo

--
iAc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: any Api to program with iptables without system(...)
  2005-10-17 21:45 any Api to program with iptables without system(...) iAc
@ 2005-10-19 17:30 ` Pablo Neira
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira @ 2005-10-19 17:30 UTC (permalink / raw)
  To: iAc; +Cc: netfilter-devel

iAc wrote:
> I have to develop a program that interface with Iptables but for security
> reason I'm canno use system call System(iptables command).
> I have try to find out a better way but I didn't find nothing.
> Someone there can show me how can I interact with iptables withou system
> call "System etc. etc." ??

No, the iptables API is not documented. This is one of the current flaws 
that still persist in iptables. The safest way to work with iptables is 
using system(...)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-19 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17 21:45 any Api to program with iptables without system(...) iAc
2005-10-19 17:30 ` Pablo Neira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.