Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 21:06:52 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Fernando Gleiser <fgleiser@cactus.fi.uba.ar>, 1 <jadream@chat.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where to find example code in C how to admin ipfw?
Message-ID:  <00120621065209.01722@buffy>
In-Reply-To: <Pine.BSF.4.21.0012061453530.25396-100000@cactus.fi.uba.ar>
References:  <Pine.BSF.4.21.0012061453530.25396-100000@cactus.fi.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 06 December 2000 18:56, Fernando Gleiser wrote:
> On Wed, 6 Dec 2000, 1 wrote:
> > I need to admin firewall rules from within C-program.
> > But there's some serious questions. Compared to command-line style
> > programmed access for fw seems much more complicated and hardly
> > documented.
> > As if ppl who did that docs thought I'm to know lots of things I don't
> > know in reality :0).
>
> Try reading ipfirewall(4) and the sources of ipfw
>
> > Any help will be appriciated :0)
> >
> >
> > Alexander Komratov
Aren't you making life a little hard for yourself ?
You can use "C" or perl or shell/awk/sed etc etc as a
front end to construct firewall commands. Much less
work, and success likely in the short term !

of course, if you are doing this for eductaional purposes
then that is another matter :)

Cliff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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