From owner-freebsd-ipfw@FreeBSD.ORG Mon Apr 23 08:35:58 2012 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60F10106566B for ; Mon, 23 Apr 2012 08:35:58 +0000 (UTC) (envelope-from astraserg@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 394148FC08 for ; Mon, 23 Apr 2012 08:35:58 +0000 (UTC) Received: by dadz14 with SMTP id z14so49611827dad.17 for ; Mon, 23 Apr 2012 01:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=qUnlD4GuMMMWUdpXBF3TKhC8S6s4fknrC+20TNeHsV0=; b=UTI2Vg5FYDqrgk8dxcBI4dRlGz/ItFMMlJBIXrA+R/PL/1JBAHe9NtXckivgpA58q4 f5J92gCuULPaj6qi/vSf3zLiyD68Bc+rQ/Yc+ZRYk4dWlRLUYP/+7OgJWG71amqnO9ZY qleOgLfUwBs02dHbD/kvgIEM/TN+krnwm6M3LgFiJW/JuGJeqJOYbig6ngg+xqSKMzdP QdT1id+Dbs+5/h34BJpK+7s0JLnjNa3qg+I08A6e8g1o9Vq52UMd5lO+i7upo0pj6SvA jLh0BJ1RxhilB05GdaWEzkXhxxa2gmunfEpTCe6d1rhWsbmXoAFaT4+Ita1b+mydeGF3 Blnw== Received: by 10.68.221.162 with SMTP id qf2mr1248128pbc.57.1335170157832; Mon, 23 Apr 2012 01:35:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.131.3 with HTTP; Mon, 23 Apr 2012 01:35:37 -0700 (PDT) From: Sergey Yaroshevskiy Date: Mon, 23 Apr 2012 12:35:37 +0400 Message-ID: To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: dummynet warnings X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 08:35:58 -0000 Hello I've got some warnings from my freebsd 9 box: ... Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65612 have 92 need 96 Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65612 have 60 need 96 Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65612 have 92 need 96 Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65614 have 92 need 96 Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65614 have 60 need 96 Apr 23 12:06:10 pipe kernel: copy_obj (WARN) type 4 inst 65615 have 92 need 96 ... This box is configured as bridge and it's mine function is piping users. Googling sent me to source of netinet/ipfw/ip_dummynet.c (lines 800-802) http://www.leidinger.net/FreeBSD/dox/netinet/html/dc/d3a/ip__dummynet_8c_source.html but i did not understand how to fix this problem About my system: pipe# uname -a FreeBSD pipe.xxxx.ru 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Tue Mar 13 11:50:00 MSK 2012 /usr/obj/usr/src/sys/GENERIC amd64 pipe# cat /etc/sysctl.conf net.inet.ip.fw.one_pass=1 net.inet.tcp.tso=0 net.inet.udp.checksum=0 net.inet.ip.fastforwarding=1 net.inet.ip.redirect=0 net.inet.icmp.drop_redirect=1 net.inet.ip.fw.dyn_max=131072 net.inet.ip.fw.dyn_ack_lifetime=200 net.inet.ip.fw.dyn_buckets=131072 net.inet.ip.fw.dyn_syn_lifetime=10 net.inet.ip.fw.dyn_fin_lifetime=2 net.inet.ip.fw.dyn_short_lifetime=10 net.inet.ip.fw.verbose=0 net.link.ether.ipfw=1 net.link.bridge.ipfw=1 net.link.bridge.inherit_mac=1 net.link.bridge.pfil_onlyip=1 #net.link.bridge.pfil_member=1 #net.link.bridge.pfil_bridge=1 net.link.bridge.ipfw_arp=0 net.inet.ip.fw.enable=0 net.inet.ip.dummynet.io_fast=1 net.inet.ip.dummynet.hash_size=2048 net.inet.ip.dummynet.expire=1 pipe# cat /boot/loader.conf autoboot_delay="2" net.inet.ip.fw.default_to_accept=1 dummynet_load="YES" ipfw_load="YES" if_bridge_load="YES" bridgestp_load="YES" net.link.ether.ipfw=1 net.link.bridge.ipfw=1