OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Ryan Thomas McBride (mcbridecvs.openbsd.org)
Date: Tue Oct 31 2006 - 08:17:45 CST


CVSROOT: /cvs
Module name: src
Changes by: mcbridecvs.openbsd.org 2006/10/31 07:17:45

Modified files:
        sbin/pfctl : parse.y pfctl.c pfctl_optimize.c pfctl_parser.h

Log message:
Allow pfctl ruleset optimizer to be controlled from the ruleset.

"set" "ruleset-optimization" [ "none" | "basic" | "profile" ]

You can optionally control ruleset optimization with these keywords on the
command line with the -o option; the command line setting will override the
pf.conf setting. The existing -o/-oo flags continue to work as expected.

cleanup and ok henning