List Info

Thread: problem with PF




problem with PF
country flaguser name
Brazil
2007-05-18 17:04:32
Hi people,

I'm still running the 4.0_BETA kernel in my F40 and E30 

NetBSD pariah 4.0_BETA NetBSD 4.0_BETA (GENERIC) #0: Sat Aug
19 13:58:06 UTC 
2006  
buildsb3.netbsd.org:/home/builds/ab/netbsd-4/prep/200608190
000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/prep/compile/G
ENERIC 
prep


but just now I've realized packet filtering is not working
(mostly because I 
wasn't trying before  . It looks
like pf is not included in the kernel 
(nor I can get a module called pf to load):

% pfctl -e
pfctl: /dev/pf: Device not configured

Am I missing something? Should I download a newer kernel or
compile another 
one? I'm awfully scared of installing a new kernel on those
machines and lost 
my current setup.

Thanks in advance

Mauricio




-- 
Mauricio Lima Pilla                           pillaucpel.tche.br
PPGINF -- ESIN/UCPEL
http://g3pd.ucpel.tc
he.br/~pilla
key 0x37705BE0

"I'm just very selective about the reality I choose to
accept."
                                                        --
Calvin
RE: problem with PF
country flaguser name
United States
2007-05-21 22:07:29
On 18-May-2007 Mauricio Lima Pilla wrote:
> but just now I've realized packet filtering is not
working (mostly because I 
> wasn't trying before  . It looks
like pf is not included in the kernel 
> (nor I can get a module called pf to load):
> 
> % pfctl -e
> pfctl: /dev/pf: Device not configured
> 
> Am I missing something? Should I download a newer
kernel or compile another 
> one? I'm awfully scared of installing a new kernel on
those machines and lost
> my current setup.

Hrmm.. no.. I don't think I included pf in GENERIC on prep. 
Just never got
around to testing it, but I don't see why it wouldn't work.

My suggestion would be to do the following:

1) Grab one of the latest 4.0_BETA2 snapshots, and install
that. (use sysinst
upgrade)  I see no reason it shouldn't work fine for you.

2) Download the source for 4.0_BETA2 from anoncvs, and build
a custom kernel
with pf in it.  (add pf to GENERIC.local)

3) Install your new kernel into your bootimage.  If you
aren't sure it will
boot, you can netboot it first to test, then replace your
bootimage.


---
Tim Rightnour <rootgarbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )