pfsync + pfflowd + flow-tools (ifconfig maxupd)?

Max Laier max at love2party.net
Thu Mar 3 02:46:40 GMT 2005


On Wednesday 02 March 2005 20:31, Jon Simola wrote:
> On Wed, 2 Mar 2005 14:12:50 -0500 (EST), vsavichev at wesleyan.edu
>
> <vsavichev at 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

This file is not (yet) in RELENG_5.  It is going to be MFCed together with 
CARP in the coming days, I believe.  Use Glebius patch to get it straight 
away: http://people.freebsd.org/~glebius/totest/carp-RELENG_5-patch

>         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.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20050303/9bf9abf5/attachment.bin


More information about the freebsd-pf mailing list