tables in anchors

Reinhard Haller reinhard.haller at interactive-net.de
Thu Feb 28 13:24:24 UTC 2008


Hi,

the anchor rule in the following ruleset doesn't work.

table <smtpHosts> const { 192.168.0.25, \
                          192.168.1.0/24, \
                          192.168.125.0/24 }
anchor mailIn proto tcp to $mail_addr { \
#exim
    pass quick proto tcp from <smtpHosts> to any port smtp \
}
pass quick proto tcp from <smtpHosts> to $mail_addr port smtp

Checking with pfctl -t smtpHosts -T show
results in "table doesn't exist", the second rule works as expected.

Any suggestions?

Thanks
Reinhard




More information about the freebsd-pf mailing list