From owner-freebsd-pf@FreeBSD.ORG Thu Nov 18 01:00:02 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD92916A4CE for ; Thu, 18 Nov 2004 01:00:02 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7002243D39 for ; Thu, 18 Nov 2004 01:00:02 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CUaeM-0008Mo-00; Thu, 18 Nov 2004 01:59:50 +0100 Received: from [217.83.7.105] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CUaeL-0002du-00; Thu, 18 Nov 2004 01:59:50 +0100 From: Max Laier To: Matthew George Date: Thu, 18 Nov 2004 02:00:03 +0100 User-Agent: KMail/1.7.1 References: <20041117164521.P818@localhost> In-Reply-To: <20041117164521.P818@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1820050.7iLRop8eyG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411180200.10755.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: freebsd-pf@freebsd.org Subject: Re: please test: ifstated(8) patches X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 01:00:03 -0000 --nextPart1820050.7iLRop8eyG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 17 November 2004 22:54, Matthew George wrote: > I've gone and ported OpenBSD's ifstated(8) to FreeBSD. Nice! Good that you found the sysctl's to substitute the SIOCGIFDATA ioctl.= I=20 haven't yet had time to look at it, but that seems to close bin/73877 [1], = or=20 is there any functionality that you are missing? Doesn't look like it from= =20 your diff. > The attached ifstated.patch will apply against src/usr.sbin/ifstated/* > from OpenBSD's cvs, and compiles cleanly against RELENG_5_3. Very nice, would you mind to turn it into a proper port? Just drop me a=20 tarball if you don't have somewhere to host it. I don't know if ifstated=20 should go into the base-system. It looks like it should be able to run as a= =20 port just fine? > The ifstated.conf.patch is basically the same as OpenBSD's, except for a > ping command line option. The config file has a comment in it noting that > net.inet.carp.preempt must be set to '1' in order for it to work. I > performed my testing with it set to '0', and it seemed to be fine for me. Is there a problem with preempt in the patchset right now? > The config script calls ifconfig on carp interfaces for its actions, but > that's the only requirement for carp ... it should work fine for non-carp > kernels with the proper config script. Again, thanks a lot! Everybody, please help testing. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/73877 =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 --nextPart1820050.7iLRop8eyG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBm/QaXyyEoT62BG0RAjpWAJ49cWQ9ooqVbvzQRL2LolLiiFSc1ACeLihf S6s+aU2aWuk4vAyeO0QBw4Q= =8uXb -----END PGP SIGNATURE----- --nextPart1820050.7iLRop8eyG--