The default rule set within /etc/rc.firewall contains the following rule to
comply with RFC 1918:
$fwcmd add deny all from any to 192.168.0.0:255.255.0.0 via ${oif}
However, with natd divert, this causes a problem (at least with -stable as of
1988/08/28). When a packet goes through natd, it gets reinjected at the
start of the rules. Then the rules are seeing a packet from the outside with a
destination within RFC 1918 space (ie within 192.168.*.*).
There are two known solutions:
- delete the rule
- upgrade to -current
#1 above is not very good. #2 is the best option at present. I took a third
option, which is not recommended but does do some good. I moved the modified rule to
be above the natd divert.
After a bit of thought, I've concluded that the above solution will be sufficient for
me. I believe my ISP has sufficient filtering on their routers to prevent such
attacks event reaching me.
I have also been told that IP Filter doesn't have
this problem. I may just investigate that option. |