From owner-freebsd-ipfw@FreeBSD.ORG Thu Apr 1 06:45:47 2010 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A66D1065676 for ; Thu, 1 Apr 2010 06:45:47 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.153.48.3]) by mx1.freebsd.org (Postfix) with ESMTP id C58F28FC31 for ; Thu, 1 Apr 2010 06:45:46 +0000 (UTC) Received: from msrv.matik.com.br (localhost.matik.com.br [127.0.0.1]) by msrv.matik.com.br (8.14.3/8.14.2) with ESMTP id o316jjMY018220; Thu, 1 Apr 2010 03:45:45 -0300 (BRT) (envelope-from asstec@matik.com.br) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at msrv.matik.com.br DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=matik.com.br; s=racoon; t=1270104345; bh=dQb5tgIThngq4X6AKRA94XPGJOztyawHkXpizF7/n5M=; h=Message-ID:In-Reply-To:References:Date:Subject:From:To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding; b=TQciNnzZEHtSHTeY70CAWUiRJC8txYmKhsZc4YRcOVFnps3iET70Xf1DAqpZVTCpe dn+YtAQO+wkQ43hQA6v9X7xvV9azdnzFg/6DyRhiVpdimjxrAlhEXF0l3/kC73AHbZ DukEPt5TVGQLMctO0TgtRPMNtahMcOLLBdRMtyDs= DomainKey-Signature: a=rsa-sha1; s=default; d=matik.com.br; c=nofws; q=dns; h=received:x-authentication-warning:received:message-id: in-reply-to:references:date:subject:from:to:cc:user-agent:mime-version: content-type:content-transfer-encoding:x-priority:importance; b=ADK87x5qZhMONRr8xoNXUm1JTe8jdEjVGz/E7Flv6vxP6q8g54j1l5+DBC8CmwjhR TYmJKUnYFrMurSiOAAGVvwbguHHyODQwxT+tTYMJ/YQeTiJIBYzA90m67u0xXLyZLGq DU/M40HatxGQdhrw6KqWcKW9dd1KGeNnlRlEwvg= Received: (from www@localhost) by msrv.matik.com.br (8.14.3/8.14.3/Submit) id o316jdms018217; Thu, 1 Apr 2010 03:45:39 -0300 (BRT) (envelope-from asstec@matik.com.br) X-Authentication-Warning: msrv.matik.com.br: www set sender to asstec@matik.com.br using -f Received: from 187.42.226.192 (SquirrelMail authenticated user asstec) by wm.matik.com.br with HTTP; Thu, 1 Apr 2010 03:45:40 -0300 Message-ID: <8d0898da57267f85caef76cb7bc9ee6c.squirrel@wm.matik.com.br> In-Reply-To: <20100401002014.GA57424@onelab2.iet.unipi.it> References: <4BB24C86.3030709@hardonline.com.br> <20100331020943.GA47928@onelab2.iet.unipi.it> <20100331164302.GA55699@korolev-net.ru> <20100331170221.GB55010@onelab2.iet.unipi.it> <20100401002014.GA57424@onelab2.iet.unipi.it> Date: Thu, 1 Apr 2010 03:45:40 -0300 From: "Ass.Tec. Matik" To: "Luigi Rizzo" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw error in last stable version freebsd 8 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: Thu, 01 Apr 2010 06:45:47 -0000 > On Wed, Mar 31, 2010 at 03:47:49PM -0300, Ass.Tec. Matik wrote: >> >> >> > it means that you are probably using a new kernel and an old /sbin/ipfw. >> > The new ipfw/dummynet has a different kernel/userland API to accommodate >> > some new features, and the kernel has a compatibility layer to translate >> > requests back and forth between the two APIs. >> > >> >> >> where this is coming from: >> >> ipfw0: flags=8801 metric 0 mtu 65536 > > sys/netinet/ipfw/ip_fw_log.c > thank's for clarification a note in UPDATING at least would be usefull since most people don't read the source right ;) the new interface brought trouble into my snmp monitoring since it changed the IF/NIC numbers ... > Revision 200654 - (view) (annotate) - [select for diffs] > Modified Thu Dec 17 23:11:16 2009 UTC (3 months, 1 week ago) by luigi > > Add some experimental code to log traffic with tcpdump, > similar to pflog(4). > To use the feature, just put the 'log' options on rules > you are interested in, e.g. > > ipfw add 5000 count log .... > > and run > tcpdump -ni ipfw0 ... > > net.inet.ip.fw.verbose=0 enables logging to ipfw0, > net.inet.ip.fw.verbose=1 sends logging to syslog as before. > > cheers > luigi > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > Joćo Martins Eng.Resp.Helpdesk e Suporte Matik https://suporte.matik.com.br