Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 17:23:03 -0800
From:      Bill Fumerola <>
To:        tom <>
Subject:   Re: control ipfw from inside a program
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Jan 15, 2004 at 11:06:55PM +0000, tom wrote:
> howto control ipfw from inside a program ? (sorry new):
> a) exec (or other) a shell command, or

your best bet.

> b) program a sysctl (or other) call of some kind.
> caveat: dunno much about these calls from
> a program  - all kind help appreciated.

the interfaces is a slowly moving target. i'd avoid this unless you were
constantly tracking ipfw changes (i.e. you were writing something that
heavily interacts with ipfw and not just trying to add a firewall rule
as part of a much larger projects).

'libipfw' is something that should be written at some point, but until
we have multiple consumers of the 'api' it isn't really a priority.

- bill fumerola / /

Want to link to this message? Use this URL: <>