[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macro doesnt expand CIDR



For the archives:
This ruleset passed syntax.
int_net = "'192.168.0.0/24'"
john = "192.168.1.3"
notall = "{" $int_net $john "}"
pass in quick on xl0 proto tcp from $notall to 68.149.93.11 port 80
--Bryan
On 8/31/05, Bryan Irvine <[email protected]> wrote:
> Actually in hindsight, I think this is due to "all" being reserved.
> 
> Try the exact rules you posted initially and change "all" to
> "AlmostAll" or something.
> 
> --Bryan
> 
> On 8/31/05, Bryan Irvine <[email protected]> wrote:
> > On 8/31/05, Gustavo A. Baratto <[email protected]> wrote:
> > <snip>
> > > I guess this is really a bug :(
> > <snip>
> >
> > I think what you are trying to do might require tables.
> >
> > Maybe this??
> >
> > int_net="192.168.0/24"
> > john="192.168.1.3"
> >
> > table <everybody> const { $int_net, $john }
> >
> > pass in quick on bge0 proto tcp from <everybody> to 68.149.93.11 port 80
> >
> >
> > --Bryan
> >
>