Date: Sun, 8 May 2011 15:45:28 -0400 From: Jason Hellenthal <jhell@DataIX.net> To: Oguz Yilmaz <oguzyilmazlist@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: using ?include? like statement in pf.conf to include some parts from other files Message-ID: <20110508194527.GD3527@DataIX.net> In-Reply-To: <BANLkTikRMPE_D-yjMByxMpVKrNPdxqFX-w@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Oguz, On Sun, May 08, 2011 at 08:39:05PM +0300, Oguz Yilmaz wrote: > Hi, > > I want to be able to include some parts of my pf.conf from other set of files. > > For example I will include "set timeout" vs like statements in another file. > > Using anchors and "load anchor from file" statements will not help > because anchor can not hold such GLOBAL OPTIONS. In case I set those > macros and set statement in a anchor it will be valid for the anchor > or not valid at all (set statemenets). > At this time as I know, this functionality is not available in pf41 that is and has been a part of FreeBSD for quite some time and believe it still is a part of -CURRENT. There has been some work on getting pf up-to-date as of pf45 where there is a patch that is available for -CURRENT only but I am not aware as if it supports the functionality you desire. If that is something you are interested in and know is a part of pf45, then you are welcome to upgrade to -CURRENT and apply that patchset if needs be to help test while achieving your objectives. Some of the work has been done here: http://svn.freebsd.org/base/user/eri/pf45/head/ And there are various other messages on the lists that you are welcome to search for if interested. Good Luck. -- Regards, (jhell) Jason Hellenthal [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNxvLXAAoJEJBXh4mJ2FR+hD0H/2UbzBPgUQ0GwaGsiC/zhucw P1howiO9v0hhskftbNHnggsuchP0FyW6zpjpm8Ku/krZkcohD2sBRXySn6YYpJcr QHBMlN+CsUKVYfxfD2JBOs3sJEaaozgzAsFZrLnZJ90w004Dtx5kOkznLlMrAo7j 2qd2ph4HQFaL1SRslBUrxvrzcPwVISDLcu1gw9Lz8uTedsb2+RweXnLRYTkKyTsD jsQW8vvrnmnfmhd73aAc2kiHL4359DGdSu2oRwzXEoY6+SgoVATJIlDra1jdumym Lg0Yo+KNNwOda+FQbNLqCosaIivYf+IZx4A0+SF6Vi+NBY2E/pfOv0drWusr73Q= =1rdv -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110508194527.GD3527>
