Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 09:47:42 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        Matt <mgoward@eviloverlord.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Adding an IPFW rule from C program
Message-ID:  <20040303094742.C26257@xorpc.icir.org>
In-Reply-To: <20040303073706.GB29286@IneedAname.eviloverlord.org>; from mgoward@eviloverlord.org on Wed, Mar 03, 2004 at 07:37:06AM %2B0000
References:  <20040303073706.GB29286@IneedAname.eviloverlord.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303094742.C26257>