Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 17:32:17 -0400
From:      Ed Budd <ebudd@grokking.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pf for FreeBSD
Message-ID:  <20040928173217.501889d6.ebudd@grokking.org>
In-Reply-To: <415918AA.C4433D9D@sbhost.ro>
References:  <415918AA.C4433D9D@sbhost.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Sep 2004 09:54:18 +0200
Cristi Tauber <cristi.tauber@sbhost.ro> wrote:

>             hello folks,
>     i want to install the packet filter for FreeBSD so i recompile the
> kernel with the options :
> 
> device          bpf
> options         PFIL_HOOKS
> options         RANDOM_IP_ID
> 
>      and installed pf from ports ( i did a cvsup before installing to
> get the latest ports). Now my dilemma is ... in pf start script ... i
> have to enter a prefix ... but what prefix, 'cause after installing
> and rebooting .... the modules that I want to load are still in source
> directory . I installed pf with


Does the prefix by chance refer to the full path to the script (i.e.
/usr/local/etc/rc.d/pf.sh)? Read the comments in the script; it will
tell you what you need to do to /etc/rc.conf to get things started on
bootup.


> 
>    make  WITH_ALTQ=yes
>    make install


I've been running pf on two separate FBSD 5.2.1 boxes for weeks without
adding this switch. Only thing that doesn't work that great is spamd
logging but otherwise I prefer pf over ipf and ipfw any day -- even on
a ported OS...

Cheers,

EB



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