Hi
Newbie alert!
I've been trying to get fastroute to work on NetBSD 1.6 but although
ipfstat shows fastroute success there appeared to be nothing reaching
the destination. After failing to find any syntax that worked I
checked with netstat at destination and could then see traceroute
packets had arrived ok but been dropped. On NetBSD, tcpdump showed
these to have 'udp checksum error', or with Win98 pc as destination,
netstat lists 'Received Header Errors'.
With pass all rules there's no problems and the same box has been in
use with ipf as firewall for ppp dialup since late December.
I now believe solution to problem I was trying to solve by use of
fastroute lies elsewhere so this excercise is more out of interest
than neccessity.
IP Filter: v3.4.27
NetBSD 1.6: custom kernel as only 8 MB ram so I could have left out
something that's not obviously required from a diff vs GENERIC but
same results with GENERIC_TINY.
486dlc33 with 2 x DE-220PCT ISA NE2000
ip-forwarding is on
ruleset tried:
pass in quick on lo0 all
pass out quick on lo0 all
block in quick on ne0 fastroute proto udp from 192.168.1.1 to \
192.168.2.1
pass in quick on ne0 all
block in quick on ne1 fastroute proto udp from 192.168.2.1 to \
192.168.1.1
pass in quick on ne1 all
pass out quick on ne0 all
pass out quick on ne1 all
also as above with:
/32 appended to the dotted quads
'ne0 fastroute' replaced by 'ne0 to ne1'
'ne0 fastroute' replaced by 'ne0 to ne1:192.168.2.1'
David