On Fri, Jan 19, 2007 at 07:20:11PM +0100, Xavier ROUX wrote:
I am trying to reproduce the example below, given in the FAQ:
host1 = 192.168.1.1
host2 = 192.168.1.2
all_hosts = { $host1 $host2 }
I obtain this error:
# pfctl -nf /etc/pf.conf
/etc/pf.conf:48: syntax error
/etc/pf.conf:83:
Hello,
I am trying to reproduce the example below, given in the FAQ:
host1 = 192.168.1.1
host2 = 192.168.1.2
all_hosts = { $host1 $host2 }
This sample works with a host type macro but network type macro, like
following lines, do not work.
int_lan = 172.16.1.0/24
rel_int_lan = 172.16.2.0/24
On 5/24/06, Daniel Hartmeier [EMAIL PROTECTED] wrote:
On Tue, May 23, 2006 at 03:31:46PM -0700, andrew fresh wrote:
host_list = { $hosts }
port_list = { $ports }
Try adding
q_host_list = '{' $hosts '}'
q_port_list = '{' $ports '}'
Thankyou s much for the clarification Danny :-)
The
On Fri, May 26, 2006 at 11:09:51AM +0530, Siju George wrote:
host1 = 192.168.1.1
host2 = 192.168.1.2
all_hosts = { $host1 $host2 }
is that an error ?
No, it's correct if you want to use $all_hosts in a
I am running into some trouble with recursive macro expansion, here is
the pf.conf that shows what I am seeing.
--- pf.conf ---
# I am having some trouble with pfctl and recursive macros. I was
# hoping to use nested lists, and that is where I noticed these issues.
# I sure wish nested lists
On Tue, May 23, 2006 at 03:31:46PM -0700, andrew fresh wrote:
host_list = { $hosts }
port_list = { $ports }
Try adding
q_host_list = '{' $hosts '}'
q_port_list = '{' $ports '}'
then replace
end_03 = proto tcp from $host_list to any port $port_list
with
end_03 = proto tcp from
On Wed, May 24, 2006 at 01:55:34AM +0200, Daniel Hartmeier wrote:
On Tue, May 23, 2006 at 03:31:46PM -0700, andrew fresh wrote:
host_list = { $hosts }
port_list = { $ports }
Try adding
q_host_list = '{' $hosts '}'
q_port_list = '{' $ports '}'
then replace
end_03 = proto