Date: Thu, 12 Oct 2006 14:46:38 +0200 From: Volker <volker@vwsoft.com> To: Jon Otterholm <jon.otterholm@ide.resurscentrum.se> Cc: freebsd-pf@freebsd.org Subject: Re: table persist file Message-ID: <452E392E.9030007@vwsoft.com> In-Reply-To: <452D081A.9090603@ide.resurscentrum.se> References: <452D081A.9090603@ide.resurscentrum.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/23/-58 20:59, Jon Otterholm wrote: > <div class="moz-text-flowed">Hi. > > I have a table in my pf.conf: > > table <commit> persist file "/etc/pf/commit" > > When I add IP's to the table nothing gets into the file even though they > are listed in the table. > > Any thoughts? > > Info: > > su-2.05b# uname -a > FreeBSD host.domain.se 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Fri Sep > 15 13:26:01 CEST 2006 user@:/usr/obj/usr/src/sys/GENERIC i386 > > su-2.05b# pfctl -t commit -T sh > No ALTQ support in kernel > ALTQ related functions disabled > XXX.XXX.XX.228 > XXX.XXX.XX.229 > XXX.XXX.XX.232 > XXX.XXX.XX.233 > XXX.XXX.XX.234 > XXX.XXX.XX.236 > XXX.XXX.XX.237 > > su-2.05b# cat /etc/pf/commit > > su-2.05b# ls -la /etc/pf/commit > -rwxrwxrwx 1 root wheel 0 Sep 26 11:06 /etc/pf/commit > > /Jon > > </div> Jon, you may use a command like: `pfctl -t commit -Ts > /path/to/tablefile' to write the contents of the table out to disk. HTH, Volker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452E392E.9030007>