Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

2016-07-15 Thread James deCocq
Ah, by "a code change" you meant to the utility? I offered to do that a couple posts back. I vote for a boolean parameter indicating update MAC on a change to multicast IP. Not holding my breath, I'll write a libpcap thing to fix up my files, Thanks though!

Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

2016-07-15 Thread James deCocq
Thanks, yes I know the calculation, but the new value of the IP is not known, low-order bits of the existing IP are masked in to the new IP. I obviously could do what you suggest with a libpcap-based post-processor, but otherwise I must not be understanding what you are suggesting, can you

Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

2016-07-15 Thread Aaron Turner
I would think that after you've re-written the IP address you could look at it and then rewrite the MAC. Unless I don't understand what you're trying to accomplish? -- Aaron Turner https://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little

Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

2016-07-15 Thread James deCocq
I am using tcprewrite, but aren't you describing a programmatic solution? "Look at it and then rewrite the MAC" is exactly what I'd like to do, but how to accomplish that with tcprewrite? From: Aaron Turner Sent: Friday, July 15,

Re: [Tcpreplay-users] tcprewrite recalculate multicast MAC

2016-07-15 Thread Aaron Turner
Yes, that's why I said "with a code change". -- Aaron Turner https://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin On Fri, Jul 15, 2016 at 4:05 PM, James