On 22 February 2013 14:02, Wesley M.A. <open...@e-solutions.re> wrote: > Hi, > > I'm running : > kern.version=OpenBSD 5.3-beta (GENERIC) #33: Fri Feb 15 17:03:34 MST 2013 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > > 2 network cards : bge0 and axe0 > > "pfctl -vf /etc/pf.conf" load the ruleset, but just after i do "telnet > hostname.on.internet 110" this on a workstation, i have a kernel panic on my > OpenBSD gateway : > > uvm_fault(0xd0a51660,0x0, 0, 1) -> e > Kernel: page fault trap, code=0 > Stopped at pf_purge_rule +0x11: mov 0x10(%ebx),%eax > > > my pf.conf : > ------------ > ports_tcp="{80 25 443 587 995 21}" > set skip on lo > match out on egress inet from bge0:network to any nat-to egress > block log all > pass out > pass in on bge0 inet proto icmp icmp-type echoreq > pass in on bge0 inet proto tcp from bge0:network to any port $ports_tcp > pass in on bge0 inet proto tcp from bge0:network to any port 110 once > pass in on bge0 inet proto udp from bge0:network to any port domain > pass in on bge0 inet proto tcp from bge0:network to any port 22 >
short answer: don't do that. you have to use an anchor. regarding the actual crash -- i'll look at it asap.