Hello,
We have a case where we have a pcap containing all IPv4 packets captured off
ethernet. A third of those are IPv4 with an IPv6 payload - that is, the IPv4
Protocol is 41 (0x29). The same addresses are represented in both IPv4 and IPv6
headers. Example: if IPv4 is 10.20.30.1, then the IPv6 is
[2002:0a14:1e01::0a14:1e01::].
We want to use tcprewrite to alter the IP addresses. We'd like to alter the
IPv4 and the IPv6 addresses. The -pnat alters the IPv4 addresses, but it
doesn't appear to looking inside for the embedded IPv6 packet and alter the
addresses there.
My command line is:
tcprewrite --pnat=10.20.0.0/16:172.19.0.0/16,[2002:0a14::/32]:[2002:ac13::/32]
-i Capture1.pcap -o rewrite-out.pcap
This makes the IPv4 address changes as desired, but there are no changed to the
IPv6 addresses.
Can tcprewrite rewrite addresses on the embedded IPv6 header? If so, how do I
accomplish that?
Any suggestion are appreciated.
Thanks,
Bob
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support