From nobody@FreeBSD.org  Sat Apr 12 09:24:30 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F0910106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Apr 2008 09:24:30 +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 EE3538FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Apr 2008 09:24:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3C9OTHc068991
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Apr 2008 09:24:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m3C9OS8l068978;
	Sat, 12 Apr 2008 09:24:28 GMT
	(envelope-from nobody)
Message-Id: <200804120924.m3C9OS8l068978@www.freebsd.org>
Date: Sat, 12 Apr 2008 09:24:28 GMT
From: Sergey Zabolotny <vintiliator@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: It is not visible passing packets in tcpdump
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122685
>Category:       kern
>Synopsis:       It is not visible passing packets in tcpdump(1)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 09:30:02 UTC 2008
>Closed-Date:    
>Last-Modified:  Sun Sep 28 02:34:28 UTC 2008
>Originator:     Sergey Zabolotny
>Release:        7.0
>Organization:
>Environment:
FreeBSD gw.deadnet.net 7.0-RELEASE FreeBSD 7.0-RELEASE #10: Fri Apr 11 20:47:03 EEST 2008     Zuram@gw.deadnet.net:/usr/src/sys/i386/compile/gw.deadnet.net  i386

>Description:
There are two channels in the Internet. Default gateway through iface1.

There is a rule in firewall:

fwd ip_gw_iface2 ip from ip_iface2 to any out xmit iface1

do ping -S ip_iface1 mail.ru answers is, tcpdumpd shows sending requests and replays on the interface iface1.

do ping -S ip_iface2 mail.ru answers is, tcpdumpd shows only answers on the interface iface2. requests I do not see neither on iface1 nor on iface2.
>How-To-Repeat:
ifconfig fxp0 inet 192.168.1.254/24
ifconfig fxp1 inet 192.168.2.254/24
route add default 192.168.1.1

ipfw add 1 fwd 192.168.2.1 ip from 192.168.2.254 to any out xmit fxp0
ipfw add 2 allow ip from any to any

ping -S 192.168.2.254 mail.ru >/dev/null &

tcpdump -ni fxp1 icmp
tcpdump -ni fxp2 icmp
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jul 6 09:16:38 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122685 
>Unformatted:
