Variable parsing difference between OpenBSD and FreeBSD?
Forrest Aldrich
forrie at forrie.com
Tue Nov 29 23:38:22 GMT 2005
In an example pf.conf for OpenBSD PF, a table that does not have ","
(commas) in the port specifications, ie:
tcp_to_hera = "ssh http netris 49152:65535"
On FreeBSD-6-STABLE if I use:
tcp_services = "imap imaps http https"
rdr pass on $ext_if inet proto tcp from any to $ext_ad \
port { $tcp_services } -> $server
it fails. But if I change the variable to:
tcp_services = "imap, imaps, http, https"
with added commas, it seems to work properly.
Now that seems like a bug. ?
_F
More information about the freebsd-pf
mailing list