From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 24 20:40:03 2010 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 B4F4A106566C for ; Wed, 24 Feb 2010 20:40:03 +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 776348FC1F for ; Wed, 24 Feb 2010 20:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1OKe3M5078974 for ; Wed, 24 Feb 2010 20:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1OKe38N078973; Wed, 24 Feb 2010 20:40:03 GMT (envelope-from gnats) Resent-Date: Wed, 24 Feb 2010 20:40:03 GMT Resent-Message-Id: <201002242040.o1OKe38N078973@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, Alexey Kouznetsov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E3E106566C for ; Wed, 24 Feb 2010 20:37:49 +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 E9F858FC08 for ; Wed, 24 Feb 2010 20:37:48 +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 o1OKbmc5078612 for ; Wed, 24 Feb 2010 20:37:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1OKbmST078611; Wed, 24 Feb 2010 20:37:48 GMT (envelope-from nobody) Message-Id: <201002242037.o1OKbmST078611@www.freebsd.org> Date: Wed, 24 Feb 2010 20:37:48 GMT From: Alexey Kouznetsov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/144269: problem with ipfw tables 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, 24 Feb 2010 20:40:03 -0000 >Number: 144269 >Category: kern >Synopsis: problem with ipfw tables >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 24 20:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexey Kouznetsov >Release: FreeBSD 7.x adm64 >Organization: >Environment: FreeBSD xxx.xxx.ru 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Thu Feb 18 17:35:07 MSK 2010 root@xxx.xxx.ru:/usr/o rc/sys/XXXXXX amd64 >Description: sometimes we have "Flying Dutchman" in freebsd tables # ipfw table 30 list | wc -l 1331 # /sbin/ipfw table 30 list | egrep 10.10.2.143 10.10.2.143/32 101 # /sbin/ipfw table 30 delete 10.10.2.143 ipfw: setsockopt(IP_FW_TABLE_DEL): No such process # /sbin/ipfw table 30 list | egrep 10.10.2.143 10.10.2.143/32 101 # ipfw table 30 list | wc -l 1331 >How-To-Repeat: this problem returns time to time. I saw it some time since 7.0-RELEASE until latest 7 stable. (did not use i386 with 7.x and tables). Did not saw it on 6.x and older branch. We do not use 8.x >Fix: reboot :(. But after reboot, possible, we will have different ip(s) "always in table". Also sometimes I saw "pipe tablearg ip from any to table(30) xmit em1 out" and some pipes shown IPs, whis are not in table 30 at all, and never was here. (this is not output problem, speed is actually same as defined for this pipe, all counters grown and so on. "show table 30" do not show the IP, but this actually come to pipe) I use fake pipe without speed limits, and add to such table all possible IPs, which are should not to be speed limited, with this, fake, argument. In this case this second problem gone. Also seen only on 7.x amd64 branch. I think both problems came from same place. >Release-Note: >Audit-Trail: >Unformatted: