Ethereal-users: Re: [Ethereal-users] IPv6 capture filter.

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 25 Jul 2002 11:59:04 -0700
On Thu, Jul 25, 2002 at 01:51:15PM +0200, Yann Rapaport wrote:
> I am trying to filter and capture packets for an IPv6 host (address
> 3ffe::1) with tethereal.
> 
> I use the following syntax :
> ./tethereal -i ep0 host 3ffe::1
> 
> And get the folllowing error :
> tethereal: Unable to parse filter string (unknown host '3ffe').

The version of libpcap with which Tethereal is linked doesn't support
IPv6; in fact, as it says "unknown host '3ffe'" rather than "IPv6
address 3ffe::1 not supported", it's probably a older version of libpcap
that doesn't even include code to support IPv6, rather than a newer
version that, when built, couldn't find IPv6 support in the OS.

I'm guessing, from the "./", that you're using UNIX; you'd need to
download a newer version of libpcap (0.7.1 is the current version) from
tcpdump.org, compile and install that, and then, in the top-level
Ethereal source tree (I'm also guessing from the "./" that you built
Ethereal from source), do:

	make distclean
	./configure --with-pcap={directory under which libpcap was installed}

(and supply any other arguments you supplied to "configure" earlier),
and then rebuild.