Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2008 11:53:00 +0100
From:      "Alireza Torabi" <alireza.torabi@gmail.com>
To:        "Eugene Grosbein" <eugen@kuzbass.ru>
Cc:        net@freebsd.org
Subject:   Re: bpf does not see packets forwarded with ipfw fwd
Message-ID:  <cffd8c580804120353h2d2eb0c0o38e7c264a73fb9a4@mail.gmail.com>
In-Reply-To: <20080412062251.GA2199@svzserv.kemerovo.su>
References:  <20080412062251.GA2199@svzserv.kemerovo.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Is BIOCFEEDBACK set?


On Sat, Apr 12, 2008 at 7:22 AM, Eugene Grosbein <eugen@kuzbass.ru> wrote:
> Hi!
>
>  One of 7.0 users has reported in some cyrillic newsgroup
>  a problem that I have reproduced in my 7.0-STABLE system.
>  That is: tcpdump does not show locally originated outgoing IP packets
>  that were processed by 'ipfw fwd' rule. The same configuration presents
>  no problems with 6.3-STABLE.
>
>  Consider simple schema: two FreeBSD boxes (A and B) directly connected
>  with ethernet intefaces. The box A has another ethernet interface and uses
>  "ipfw fwd" as its very first ipfw rule to forward some packets to B,
>  while these packets would normally go out trough mentioned another
>  interface. Now, tcpdump does NOT show outgoing packets but host B also
>  runs tcpdump on its incoming interface and does see them.
>
>  I double-checked all paramerets for tcpdump, all routing tables.
>  I even connected A and B with cross-over ethernet cable, without a switch.
>  Still, B sees incoming packets coming over the cable and A does not see
>  them leaving. This bothers me a bit :-)
>
>  Eugene Grosbein
>  _______________________________________________
>  freebsd-net@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-net
>  To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cffd8c580804120353h2d2eb0c0o38e7c264a73fb9a4>