diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-16 16:50:17 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-16 16:50:17 +0000 |
commit | 75420f4ab2977b44e0839a20d98cb67116ae4644 (patch) | |
tree | ba4247b2aa5540fdd8fcc623b204b01aa6fc4937 /doc/text2pcap.pod | |
parent | 27598e20a299b7d3946682adc8a234e9fc17790c (diff) |
Prepend custom Destination IP and Source IP (ipv4 or ipv6) in the pcap. Bug 5650 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5650)
svn path=/trunk/; revision=49964
Diffstat (limited to 'doc/text2pcap.pod')
-rw-r--r-- | doc/text2pcap.pod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod index 0f4198811c..498e190e14 100644 --- a/doc/text2pcap.pod +++ b/doc/text2pcap.pod @@ -218,6 +218,21 @@ IP or Ethernet headers. Note that appropriate Ethernet and IP headers are automatically also included with each packet. Example: I<-u1000,69> to make the packets look like TFTP/UDP packets. +=item -4 E<lt>srcipE<gt>,E<lt>destipE<gt> + +Prepend dummy IP header with specified IPv4 dest and source address. +This option should be accompanied by one of the following options: -i, -s, -S, -T, -u +Use this option to apply "custom" IP addresses. +Example: I<-4 10.0.0.1,10.0.0.2> to use 10.0.0.1 and 10.0.0.2 for all IP packets. + +=item -6 E<lt>srcipE<gt>,E<lt>destipE<gt> + +Prepend dummy IP header with specified IPv6 dest and source address. +This option should be accompanied by one of the following options: -i, -s, -S, -T, -u +Use this option to apply "custom" IP addresses. +Example: I<-6 fe80:0:0:0:202:b3ff:fe1e:8329, 2001:0db8:85a3:0000:0000:8a2e:0370:7334> to +use fe80:0:0:0:202:b3ff:fe1e:8329 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334 for all IP packets. + =back =head1 SEE ALSO |