From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 4 13:20:08 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92C9D16A40B for ; Wed, 4 Apr 2007 13:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5C87913C4B7 for ; Wed, 4 Apr 2007 13:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l34DK8U3085968 for ; Wed, 4 Apr 2007 13:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l34DK8KP085966; Wed, 4 Apr 2007 13:20:08 GMT (envelope-from gnats) Resent-Date: Wed, 4 Apr 2007 13:20:08 GMT Resent-Message-Id: <200704041320.l34DK8KP085966@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bas van Beek Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED10716A481 for ; Wed, 4 Apr 2007 13:15:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id DC3F013C4AE for ; Wed, 4 Apr 2007 13:15:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l34DFLTR085184 for ; Wed, 4 Apr 2007 13:15:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l34DAKGV084178; Wed, 4 Apr 2007 13:10:20 GMT (envelope-from nobody) Message-Id: <200704041310.l34DAKGV084178@www.freebsd.org> Date: Wed, 4 Apr 2007 13:10:20 GMT From: Bas van Beek To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/111225: missing option "syncpeer" in pfsync startup script X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 13:20:08 -0000 >Number: 111225 >Category: misc >Synopsis: missing option "syncpeer" in pfsync startup script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 04 13:20:07 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Bas van Beek >Release: 6.1 RELEASE >Organization: >Environment: FreeBSD fw1.tobin.nl 6.1-RELEASE FreeBSD 6.1-RELEASE #2: Tue Apr 3 15:12:20 UTC 2007 bas@fw1.tobin.nl:/usr/obj/usr/src/sys/FW i386 >Description: pfsync can take the argument syncpeer so it will use a single peer ip address instead of a multicast address to inform the other pf firewall of state changes. The /etc/rc.d/pfsync startup script does not facilitate this option. >How-To-Repeat: >Fix: A minor update of the pfsync script would allow for this option to be included in the rc.conf script: if [ -z "$pfsync_syncpeer" ] ; then ifconfig pfsync0 syncdev $pfsync_syncdev $pfsync_ifconfig up else ifconfig pfsync0 syncpeer $pfsync_syncpeer syncdev $pfsync_syncdev $pfsync_ifconfig up fi this would allow for the following configuration in rc.conf pfsync_enable="YES" pfsync_syncdev="em3" pfsync_syncpeer="10.0.0.1" >Release-Note: >Audit-Trail: >Unformatted: