Adding an IPFW rule from C program
Luigi Rizzo
rizzo at icir.org
Wed Mar 3 09:47:44 PST 2004
On Wed, Mar 03, 2004 at 07:37:06AM +0000, Matt wrote:
> Tried this on the ipfw list but didnt get any response.
>
> Part of an app I am playing with needs to be able to add an ipfw
> rule. I had though i got all of what i need from ipfw2.c and ip_fw.h
> but I am painfully new to C and must be missing something. Not
you don't want to use the native APi, do a system("ipfw add ...")
instead.
cheers
luigi
More information about the freebsd-hackers
mailing list