Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 18:39:54 -0500
From:      Forrest Aldrich <forrie@forrie.com>
To:        freebsd-pf@freebsd.org
Subject:   Variable parsing difference between OpenBSD and FreeBSD?
Message-ID:  <438CE6CA.2030508@forrie.com>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?438CE6CA.2030508>