Date: Wed, 2 Mar 2005 11:31:08 -0800 From: Jon Simola <jsimola@gmail.com> To: "vsavichev@wesleyan.edu" <vsavichev@wesleyan.edu> Cc: freebsd-pf@freebsd.org Subject: Re: pfsync + pfflowd + flow-tools (ifconfig maxupd)? Message-ID: <8eea0408050302113163b70535@mail.gmail.com> In-Reply-To: <57056.81.30.200.207.1109790770.squirrel@81.30.200.207> References: <57056.81.30.200.207.1109790770.squirrel@81.30.200.207>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Mar 2005 14:12:50 -0500 (EST), vsavichev@wesleyan.edu <vsavichev@wesleyan.edu> wrote: > that SOMEFILE gets occassionaly updated. man pfsync says that > state infomation refreshment is condensed which is controled by > maxupd parameter to ifconfig (equal by default to 128). > For some reason FreeBSD (5.3-stable) version of ifconfig has > no maxupd option, OpenBSD does. So we believe now, pfsync iface > in that incarnation of FreeBSD has no way to change this parameter > and hence to fine tune state information update frequency. I see the appropriate code in src/sbin/ifconfig/ifpfsync.c if (preq.pfsyncr_syncif[0] != '\0') { printf("\tpfsync: syncif: %s maxupd: %d\n", preq.pfsyncr_syncif, preq.pfsyncr_maxupdates); } and I can set the maxupd on a pfsync interface: bash-3.00# ifconfig pfsync0 syncif em0 maxupd 64 bash-3.00# ifconfig pfsync0 pfsync0: flags=0<> mtu 1348 pfsync: syncif: em0 maxupd: 64 The only thing I can see is that it will not actually display or do anything unlss there is a syncif set. -- Jon Simola Systems Administrator ABC Communications
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8eea0408050302113163b70535>