View Single Post
  #1   (View Single Post)  
Old 14th May 2008
cybersans cybersans is offline
New User
 
Join Date: May 2008
Posts: 2
Exclamation problem on pf @ freebsd 7.0

hello there. sorry if this similar question been asked before in this forum.

my problem is, i install freebsd 7.0 and after that compile the kernel to enable pf (using the same method like freebsd's handbook said):

device pf
device pflog
device pfsync

options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
options ALTQ_NOPCC

and i put everything inside /etc/rc.conf

pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""

and guess what? pf is not loading when startup. i have to manually restarted the pf using /etc/rc.d/pf restart. seems like rc.d/pf doesn't work although rc.conf set pf_enable="YES"



is that a bug? i never have this kind of problem when using version 5.* or 6.*

plus, kldstat only shows:
Id Refs Address Size Name
1 7 0xc0400000 910b90 kernel
2 1 0xc0d11000 6a32c acpi.ko
3 1 0xc6c4f000 22000 linux.ko

after that, i try to put:
pf_load="YES"
pflog_load="YES"
pfsync_load="YES"

inside /boot/loader.conf and also doesn't work.

i already compile the kernel with pf and put appropriate line inside /etc/rc.conf

and the pf still do not loading when freebsd 7.0 boot up.


thank you
Reply With Quote