Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 03:46:24 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org, jon@abccomm.com
Cc:        "vsavichev@wesleyan.edu" <vsavichev@wesleyan.edu>
Subject:   Re: pfsync + pfflowd + flow-tools (ifconfig maxupd)?
Message-ID:  <200503030346.31871.max@love2party.net>
In-Reply-To: <8eea0408050302113163b70535@mail.gmail.com>
References:  <57056.81.30.200.207.1109790770.squirrel@81.30.200.207> <8eea0408050302113163b70535@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart30828940.rLSDhifFQ3
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 02 March 2005 20:31, Jon Simola wrote:
> 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

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

>         if (preq.pfsyncr_syncif[0] !=3D '\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=3D0<> 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.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart30828940.rLSDhifFQ3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCJnqHXyyEoT62BG0RAh6MAJ922MV00n+GqXnDHVUujIaPJ1K8uACbBbje
y18q6cg/j0nR4AcF9gVae/Q=
=Jva+
-----END PGP SIGNATURE-----

--nextPart30828940.rLSDhifFQ3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503030346.31871.max>