Ethereal-users: [Ethereal-users] Rewriting a Destination MAC Address Field

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

Date Prev Thread Prev
From: cconlon <cconlon@xxxxxxx>
Date: Wed, 31 Jan 2001 20:45:17 -0800
I apologize if this is already answered in the archives but I couldn't
seem to find so I'll ask anyway.

I receive analyzer files in various formats that I use ethereal to
translate. Recently the requirement came up to
change certain fields in these trace files and rewrite them. For
example, I might want to change a Destination MAC address field for all
packets that have a 00:00:00:00:00:00 in that position. I want to keep
the same file and only modify that address in the records that
have it. I want to preserve the file except for this.

First Question:

Is there an easy way with tethereal or editcap to do this ?

Second Question:

I know I can write an intermediate file in pcap format. Are there any
pre-built routines that will let me match and substitute ?

-C