Fwd: 5.2-RC + ipfw

Nate Grey NateBSD at yahoo.it
Sat Dec 13 02:49:55 PST 2003


Hello,

on 5.2-RC I get this error from ipfw:

 ipfw in free(): error: modified (chunk -) pointer
 Aboirt trap (core dumped)

examining my firewall script I noticed that error occurs when ipfw try to
load this rules

fwcmd="/sbin/ipfw -q/"
${fwcmd} add 310 set 1 deny ip from $bad_guys to any in recv ep0
${fwcmd} add 310 set 2 deny ip from any to $bad_guys out via ep0

badguys are:

bad_guys="(\
127.0.0.0/8 or \
192.168.0.1/16 or \
10.0.0.0/8 or \
172.16.0.0/12 or \
0.0.0.0/8 or \
169.254.0.0/16 or \
192.0.2.0/24 or \
224.0.0.0/4 \
)"

anyway, according to `ipfw sh` output the rules are loaded.

Bye Bye



More information about the freebsd-net mailing list