Hi,
I am trying to configure spamd on the current bridge PF firewall which
is running on OpenBSD 4.0
fxp0 and fxp1 both are setup as bridge interfaces
the following is the rdr rule for spamd
## Spamd Stuff
# Table that spamd updates
table <spamd> persist
table <spamd-white> persist file "/etc/whitelist.txt"
# If not on whitelist, redirect to spamd
rdr pass on $ext_if inet proto tcp from !<spamd-white> to any \
port smtp -> 127.0.0.1 port spamd
# Because this is a bridge, explicit route to this machine
pass out route-to lo0 proto tcp from any to 127.0.0.1 port spamd
## Spamlogd Stuff
# Keep whitelist hosts from expiring
pass in log inet proto tcp from <spamd-white> to any \
port smtp keep state
# Eventually I'll have a line to whitelist servers that my server talks to.
the abovementioned PF rule was obtained from
http://cisx1.uma.maine.edu/~wbackman/spamd.html
I have noticed the following when i did a tcpdump on fxp1
02:18:13.451441 61.65.255.238.13868 > 127.0.0.1.8025: S
3447735838:3447735838(0) win 16384 <mss 1460,nop,nop,sackOK,nop,wscale
0,nop,nop,timestamp 470257134 0>
02:18:13.451566 127.0.0.1.8025 > 61.65.255.238.13868: R 0:0(0) ack
3447735839 win 0
Any idea?.
Thanks,
Edy