Ethereal-dev: Re: [ethereal-dev] Eliminating duplicate segments in packet-tcp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jochen Friedrich <jochen+ethereal@xxxxxxxx>
Date: Sun, 1 Oct 2000 22:29:36 +0200 (CEST)
Hi Guy,

> The only way to fix it to *completely* avoid that problem is in libpcap,
> which, in Linux (at least on 2.2 and later), is where the code can see
> whether the packet was received or transmitted by the machine on which
> the capture is being done and, if it's being transmitted, discard it if
> the capture is being done on the loopback interface.

Newer versions of tcpdump even show if a packet is received or
transmitted. Pretty useful if you somehow receive your own packet again
(like multicast or broadcast frames on a TokenRing and maybe FDDI,
as well :-) ).

Cheers,
Jochen