Bug 122685 - It is not visible passing packets in tcpdump(1)
Summary: It is not visible passing packets in tcpdump(1)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-12 10:30 UTC by Sergey Zabolotny
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Zabolotny 2008-04-12 10:30:02 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-07-06 10:16:38 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:26 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped