Re: pf debug states: ioctl interface and state names.

2010-12-28 Thread Jason McIntyre
On Sun, Dec 26, 2010 at 10:35:02PM +0100, Thomas Pfaff wrote: > On Tue, 21 Dec 2010 22:15:33 +0100 > Thomas Pfaff wrote: > > > 1) pf(4) says DIOCSETDEBUG has enum { PF_DEBUG_NONE, PF_DEBUG_URGENT, ... > > but these names are not in pfvar.h nor anywhere else in the source tree > > (AFAICT). What

Re: pf debug states: ioctl interface and state names.

2010-12-26 Thread Thomas Pfaff
On Tue, 21 Dec 2010 22:15:33 +0100 Thomas Pfaff wrote: > 1) pf(4) says DIOCSETDEBUG has enum { PF_DEBUG_NONE, PF_DEBUG_URGENT, ... > but these names are not in pfvar.h nor anywhere else in the source tree > (AFAICT). What should the legal values (or names) be? I guess these should now be one of

Re: pf debug states: ioctl interface and state names.

2010-12-22 Thread Thomas Pfaff
On Wed, 22 Dec 2010 09:03:57 +0100 Henning Brauer wrote: > * Thomas Pfaff [2010-12-21 22:19]: [...] > > 2) pf.conf(5) says "set debug" can be one of loud, misc, none, or urgent > > but if you "set debug loud" in pf.conf and load it the pfctl -sa output > > will say "Debug: debug", or if you "set

Re: pf debug states: ioctl interface and state names.

2010-12-22 Thread Henning Brauer
* Thomas Pfaff [2010-12-21 22:19]: > A few things that has me confused ... > > 1) pf(4) says DIOCSETDEBUG has enum { PF_DEBUG_NONE, PF_DEBUG_URGENT, ... > but these names are not in pfvar.h nor anywhere else in the source tree > (AFAICT). What should the legal values (or names) be? > > 2) pf.co

pf debug states: ioctl interface and state names.

2010-12-21 Thread Thomas Pfaff
A few things that has me confused ... 1) pf(4) says DIOCSETDEBUG has enum { PF_DEBUG_NONE, PF_DEBUG_URGENT, ... but these names are not in pfvar.h nor anywhere else in the source tree (AFAICT). What should the legal values (or names) be? 2) pf.conf(5) says "set debug" can be one of loud, misc, n