Re: Comment evaluation in pf.conf

2006-05-22 Thread Paulo Rodriguez
Thank you all for clarifying this, guys. I'll give you feedback on the diff when I try it out. Theo de Raadt schreef: . # pas on re0 from any \ # # to any port 59# . is it expected behavior that pfctl comp

Re: Comment evaluation in pf.conf

2006-05-22 Thread jared r r spiegel
> >On Mon, May 22, 2006 at 03:07:14PM -0600, Theo de Raadt wrote: > # pas on re0 from any \ # > # to any port 59# > >[...] > >>> i would think the good reason is that the line is not a comment > >>> as you imagine, but would effectively turn into: > >[...] >

Re: Comment evaluation in pf.conf

2006-05-22 Thread Jeff Quast
I disagree. I think this is a bug in all these lexers, and we should fix it. \ is the only special case that says "ignore both". In any other case \ should translate into just the character . This \ special case "it is an errors that a few people will make, so fail when we encounter it" stuff

Re: Comment evaluation in pf.conf

2006-05-22 Thread Alexander Hall
Matthias Kilian wrote: On Mon, May 22, 2006 at 03:07:14PM -0600, Theo de Raadt wrote: # pas on re0 from any \ # # to any port 59# [...] i would think the good reason is that the line is not a comment as you imagine, but would effectively turn into: [...] \

Re: Comment evaluation in pf.conf

2006-05-22 Thread Matthias Kilian
On Mon, May 22, 2006 at 03:07:14PM -0600, Theo de Raadt wrote: > > > # pas on re0 from any \ # > > > # to any port 59# [...] > > i would think the good reason is that the line is not a comment > > as you imagine, but would effectively turn into: [...] > \ is the o

Re: Comment evaluation in pf.conf

2006-05-22 Thread Nick Guenther
On 5/22/06, Theo de Raadt <[EMAIL PROTECTED]> wrote: > i would think the good reason is that the line is not a comment > as you imagine, but would effectively turn into: I disagree. I think this is a bug in all these lexers, and we should fix it. \ is the only special case that says "ignor

Re: Comment evaluation in pf.conf

2006-05-22 Thread Theo de Raadt
> > . > > > > # pas on re0 from any \ # > > # to any port 59# > > > > . > > > > is it expected behavior that pfctl complains about a space after the > > backslash, DESPITE the line being a comment? > > Or is

Re: Comment evaluation in pf.conf

2006-05-22 Thread jared r r spiegel
On Mon, May 22, 2006 at 10:40:47PM +0200, Paulo Rodriguez wrote: > > . > > # pas on re0 from any \ # > # to any port 59# > > . > > is it expected behavior that pfctl complains about a space after the > backs

Comment evaluation in pf.conf

2006-05-22 Thread Paulo Rodriguez
Hi guys, just a quick question. During some toying with pf I noticed something. When making a comment like the following: . # pas on re0 from any \ # # to any port 59# . is it expected behavior that pfctl