From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 01:59:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5616F16A4CE for ; Wed, 31 Dec 2003 01:59:13 -0800 (PST) Received: from stratus.mercurycloud.net (stratus.mercurycloud.net [64.246.167.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0C543D39 for ; Wed, 31 Dec 2003 01:59:11 -0800 (PST) (envelope-from lists-wp@mercurycloud.net) Received: from localhost (localhost.mercurycloud.net [127.0.0.1]) by localhost.mercurycloud.net (Postfix) with ESMTP id 3E98ABA for ; Wed, 31 Dec 2003 01:59:11 -0800 (PST) Received: from stratus.mercurycloud.net ([127.0.0.1]) by localhost (stratus.mercurycloud.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04728-08 for ; Wed, 31 Dec 2003 01:59:09 -0800 (PST) Received: from [192.168.1.41] (h-67-101-0-187.STTNWAHO.dynamic.covad.net [67.101.0.187]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by stratus.mercurycloud.net (Postfix) with ESMTP id E0A6F94 for ; Tue, 30 Dec 2003 23:59:11 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <394F2972-3B67-11D8-98F0-000A95DBBE34@mercurycloud.net> Content-Transfer-Encoding: 7bit From: Will Prater Date: Tue, 30 Dec 2003 23:59:13 -0800 To: questions@freebsd.org X-Mailer: Apple Mail (2.609) X-Virus-Scanned: by amavisd-new at mail.mercurycloud.net X-Spam-Status: No, hits=0.0 tagged_above=-999.0 required=6.3 tests= X-Spam-Level: Subject: Re: ipf / pf availability in 4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 09:59:13 -0000 List, Anyone know if there is a way to get PF to port to FreeBSD 4.9? Thanks On Dec 30, 2003, at 7:26 PM, fbsd_user wrote: > PF has been just ported to FBSD. I don't know if ipf & pf have a > common code background, but I do know pf & ipf have totally > different rule processing logic though the rules do look some what > common. When it comes to using variables on the rule set, that is > just the normal function of shell processing. Ipfw, ipf, and pf can > all be buried inside of an shell script and perform variable > substitution. > In FBSD the rc.conf statement for pointing to the directory location > of the ipf rules can not process a script. You just point that > rc.conf statement to an empty file just to get the system up. Then > you have script in the startup application directory that executes > to load the ipf rules. Works great. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of > j.l@telus.net > Sent: Tuesday, December 30, 2003 7:35 PM > To: questions@FreeBSD.org > Subject: ipf / pf > > Hi, > > Here's a question that might seem trivial: > > What's the relationship between the freebsd ipf and the openbsd pf? > Are they > the same thing, or are they separately developed branches of a > common > codebase? Or maybe they are totally different. I ask this because > I was > looking around for guides for ipf.rules, and some of the openbsd pf > examples > look similar, but some command syntax are different. The openbsd > pf.conf > example had the ability to define variables of ip addresses, > interface names, > etc, but it doesn't seem to work with ipf.rules. Is there any way > to define > variables in ipf.rules? > > please cc me in your responses cause I'm not subscribed to the list > > thanks so much > jonathan > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > --will