From owner-freebsd-questions Wed Dec 6 11:45:58 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 6 11:45:56 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from head.lvl.ru (unknown [194.67.189.100]) by hub.freebsd.org (Postfix) with ESMTP id E8FCA37B401 for ; Wed, 6 Dec 2000 11:45:54 -0800 (PST) Received: from chat.ru (p21.gw.lvl.ru [194.67.189.21]) by head.lvl.ru (8.10.0/8.10.0.Beta12) with ESMTP id eB6Jjnv18167 for ; Wed, 6 Dec 2000 22:45:49 +0300 (MSK) Message-ID: <3A2E97DE.9A576F5B@chat.ru> Date: Wed, 06 Dec 2000 22:47:42 +0300 From: jadream X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Re: Where to find example code in C how to admin ipfw? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Surely I did it forst of all :0) but ... man pages for ipfirewall(4) are too short in basic principles and containing no example code at all ipfw is cool but it's made not for tutorial :0) hardly documented and no idea how to handle all that tricky unions and param constants ... Sorry :0( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message