From owner-svn-src-head@FreeBSD.ORG Tue Apr 3 18:12:47 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8D2106564A; Tue, 3 Apr 2012 18:12:47 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id B1AAD8FC0A; Tue, 3 Apr 2012 18:12:46 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q33ICjh8085552; Tue, 3 Apr 2012 22:12:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q33ICjTJ085551; Tue, 3 Apr 2012 22:12:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 3 Apr 2012 22:12:45 +0400 From: Gleb Smirnoff To: src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Message-ID: <20120403181245.GF13561@FreeBSD.org> References: <201204031809.q33I9LLn062165@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201204031809.q33I9LLn062165@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: svn commit: r233846 - head/sys/contrib/pf/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 18:12:47 -0000 On Tue, Apr 03, 2012 at 06:09:21PM +0000, Gleb Smirnoff wrote: T> Author: glebius T> Date: Tue Apr 3 18:09:20 2012 T> New Revision: 233846 T> URL: http://svn.freebsd.org/changeset/base/233846 T> T> Log: T> Since pf 4.5 import pf(4) has a mechanism to defer T> forwarding a packet, that creates state, until T> pfsync(4) peer acks state addition (or 10 msec T> timeout passes). T> T> This is needed for active-active CARP configurations, T> which are poorly supported in FreeBSD and arguably T> a good idea at all. T> T> Unfortunately by the time of import this feature in T> OpenBSD was turned on, and did not have a switch to T> turn it off. This leaked to FreeBSD. T> T> This change make it possible to turn this feature T> off via ioctl() and turns it off by default. Fortunately, we got an unused field in struct pfsyncreq, so this commit doesn't break ioctl() ABI, and this is mergeable. -- Totus tuus, Glebius.