Re: Recursive macro expansion problems

2007-01-19 Thread Camiel Dobbelaar
On Fri, 19 Jan 2007, Daniel Hartmeier wrote: > On Fri, Jan 19, 2007 at 07:20:11PM +0100, Xavier ROUX wrote: > > > int_lan = "172.16.1.0/24" > > rel_int_lan = "172.16.2.0/24" > > rel_ext_lan = "172.16.3.0/24" > > > > lans = "{" $int_lan $rel_int_lan $rel_ext_lan "}" > > > > I obtain this error:

Re: PF integrated solution

2007-01-19 Thread Felipe Neuwald
Hi Phil, pfsense isn't a good solution for me. For now, I found WARTA , but using IPFW. Felipe Neuwald. Phil Cryer escreveu: On 1/19/07, *Felipe Neuwald* <[EMAIL PROTECTED] > wrote: Hi Folks, We are building a med

Re: Recursive macro expansion problems

2007-01-19 Thread Daniel Hartmeier
On Fri, Jan 19, 2007 at 07:20:11PM +0100, Xavier ROUX wrote: > int_lan = "172.16.1.0/24" > rel_int_lan = "172.16.2.0/24" > rel_ext_lan = "172.16.3.0/24" > > lans = "{" $int_lan $rel_int_lan $rel_ext_lan "}" > > I obtain this error: > > # pfctl -nf /etc/pf.conf > /etc/pf.conf:48: syntax error >

Re: Recursive macro expansion problems

2007-01-19 Thread Jan Van Buggenhout,,,
Not a pf expert, but I think you may want to look at tables instead. kr, Jan On Fri, Jan 19, 2007 at 07:20:11PM +0100, Xavier ROUX wrote: > 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 $host

PF integrated solution

2007-01-19 Thread Felipe Neuwald
Hi Folks, We are building a medium network with something about 500 wireless users. Today, I have one solution based on PF and some shell scripts and PHP. This solution is good for me now on my actually scenario, with 100 customers. With those scripts, I can add users, remove users, or change

Recursive macro expansion problems

2007-01-19 Thread Xavier ROUX
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.