Ethereal-dev: Re: [Ethereal-dev] Can't open Sniffer trace

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

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jul 2003 13:53:56 -0700 (PDT)
On Mon, 7 Jul 2003, Greg Morris wrote:

> Attached are two traces that cannot be opened by Ethereal. On Windows
> Ethereal displays the message 
>  
> The file "C:\Client LAN" is a capture for a network type that Ethereal
> doesn't support.
>  
> In a DOS box the following message is displayed.
>  
> netxray: network type 513 unknown or unsupported

OK, the following hack in wiretap/netxray.c around line 303:

        hdr.network = pletohs(&hdr.network);
+       if (hdr.network == 513)
+               hdr.network = 0;
 
        if (hdr.network >= NUM_NETXRAY_ENCAPS
            || netxray_encap[hdr.network] == WTAP_ENCAP_UNKNOWN) {

allows one of those two to be read ...

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com

Attachment: PXEonWAN.zip
Description: application/compressed

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev