From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 28 23:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 007B61065670 for ; Mon, 28 Sep 2009 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D280E8FC20 for ; Mon, 28 Sep 2009 23:50:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SNo1rI049054 for ; Mon, 28 Sep 2009 23:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SNo1tB049053; Mon, 28 Sep 2009 23:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 28 Sep 2009 23:50:01 GMT Resent-Message-Id: <200909282350.n8SNo1tB049053@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, Chris St Denis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB237106566B for ; Mon, 28 Sep 2009 23:47:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA928FC12 for ; Mon, 28 Sep 2009 23:47:33 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SNlX9N063674 for ; Mon, 28 Sep 2009 23:47:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8SNlX20063673; Mon, 28 Sep 2009 23:47:33 GMT (envelope-from nobody) Message-Id: <200909282347.n8SNlX20063673@www.freebsd.org> Date: Mon, 28 Sep 2009 23:47:33 GMT From: Chris St Denis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/139226: ipfw: install_state: entry already present, done 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: Mon, 28 Sep 2009 23:50:02 -0000 >Number: 139226 >Category: kern >Synopsis: ipfw: install_state: entry already present, done >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 28 23:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chris St Denis >Release: 7.2 >Organization: >Environment: FreeBSD webs2.smartt.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The simple IPFW stateful firewall rule "allow udp from me to any keep-state" in conjunction with named running as a slave for several zones (not published, just replicating) causes repeated kernel messages "ipfw: install_state: entry already present, done" I doubt named is the actual cause of this of course. The master/slave udp chatter is just a source that triggers this error. I couldn't reproduce the message using something like nc -u, but somebody more familiar with this may be able to. >How-To-Repeat: Firewall config ================ Minimum rules method: -------- Load the firewall as a kernel modue #kldload ipfw Add a keep-state UDP rule to the firewall ipfw add allow udp from me to any keep-state Alternate method -------- set the following rc.conf variables to use somewhat more complex built-in "workstation" rule set firewall_enable="yes" firewall_type="workstation" Named config ============ edit name.conf Add slave zones. Master server does not need to allow access for this to be triggered, just the slave trying to connect is enough. >Fix: >Release-Note: >Audit-Trail: >Unformatted: