From owner-freebsd-ipfw@FreeBSD.ORG Sat Jun 19 16:47:15 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 ABDBA106566B for ; Sat, 19 Jun 2010 16:47:15 +0000 (UTC) (envelope-from freebsd-ipfw@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 66FEC8FC15 for ; Sat, 19 Jun 2010 16:47:15 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OQ1CK-0004g9-M6 for freebsd-ipfw@freebsd.org; Sat, 19 Jun 2010 18:47:12 +0200 Received: from static-78-8-147-77.ssp.dialog.net.pl ([78.8.147.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jun 2010 18:47:12 +0200 Received: from mwisnicki+freebsd by static-78-8-147-77.ssp.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jun 2010 18:47:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ipfw@freebsd.org connect(): No such file or directory From: Marcin Wisnicki Date: Sat, 19 Jun 2010 16:47:00 +0000 (UTC) Lines: 25 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: static-78-8-147-77.ssp.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Subject: tcpdump on ipfw0 and ipv6 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: Sat, 19 Jun 2010 16:47:15 -0000 I'm trying to log ipv6 traffic with following rule: ipfw add 10 set 6 count log ip6 from any to any with `ipfw enable verbose` it is correctly logged to /var/log/security: > Jun 19 18:40:16 ghost kernel: ipfw: 10 Count TCP [...]:56233 [...]:22 in via vr0 however when I do `ipfw disable verbose` and `tpdump -ni ipfw0` all I can see is: # tcpdump -ni ipfw0 tcpdump: WARNING: ipfw0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ipfw0, link-type EN10MB (Ethernet), capture size 96 bytes 18:41:43.563579 IP6 , wrong link-layer encapsulationbad-hlen 0 18:41:43.563598 IP6 , wrong link-layer encapsulationbad-hlen 0 18:41:43.563747 IP6 , wrong link-layer encapsulationbad-hlen 0 Am I doing something wrong or is logging to ipfw0 broken for ip6 ? uname: FreeBSD 8.1-PRERELEASE #3: Sun Jun 6 21:14:57 CEST 2010 from sources checked out that day