On Mon, Mar 17, 2008 at 01:49:13PM +0100, Reyk Floeter wrote: | On Mon, Mar 17, 2008 at 01:31:47PM +0100, Arjen Van Drie wrote: | > Hi, | > | > | > searching on the Internet gave me no clear answer: is there a way to | > include other config files in pf.conf, like | > | > | | the internet is for... anyway, sometimes the manpage gives a good | answer, just look at pf.conf(5): | | ---snip--- | Additional configuration files can be included with the include keyword, | for example: | | include "/etc/pf/sub.filter.conf" | ---snap--- | | of course, you can also search the internet via | http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf | | > # /etc/pf.conf | > | > | > Include /etc/pf.interfaces | > | > Include /etc/pf.natrules | > | | use lowercase letters and quotes... | | include "/etc/pf.interfaces"
This seems to miss from the BNF spec. Index: pf.conf.5 =================================================================== RCS file: /cvs/src/share/man/man5/pf.conf.5,v retrieving revision 1.393 diff -u -r1.393 pf.conf.5 --- pf.conf.5 11 Feb 2008 07:46:32 -0000 1.393 +++ pf.conf.5 19 Mar 2008 19:09:50 -0000 @@ -2962,6 +2962,8 @@ upperlimit-sc = "upperlimit" sc-spec sc-spec = ( bandwidth-spec | "(" bandwidth-spec number bandwidth-spec ")" ) + +include = "include" """filename""" .Ed .Sh FILES .Bl -tag -width "/etc/protocols" -compact Cheers, Paul 'WEiRD' de Weerd -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/