Return to site

Mac Pcap Viewer

broken image


Name

https://hereyfile856.weebly.com/yahoo-messenger-for-windows.html. WinPcap Has Ceased Development. The WinPcap project has ceased development and WinPcap and WinDump are no longer maintained. We recommend using Npcap instead. If you do insist upon using WinPcap, be aware that its installer was built with an old version of.

tcprewrite - Rewrite the packets in a pcap file.

Synopsis

  • About PCAP Files. Our goal is to help you understand what a file with a.pcap suffix is and how to open it. The Packet Capture Data file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team.We strive for 100% accuracy and only publish information about file formats that we have tested.
  • Logs include analyses of network activity that let you identify security issues and reduce malicious use of your network. You can send logs to a syslog server or view them through the log viewer. Using data anonymization, you can encrypt identities in logs and reports. Display event information for different modules and filter logs.
  • All present and past releases can be found in our download area. Installation Notes. For a complete list of system requirements and supported platforms, please consult the User's Guide. Information about each release can be found in the release notes. Each Windows package comes with the latest stable release of Npcap, which is required for live packet capture.

tcprewrite [-flag [value]].. [--opt-name [[=| ]value]]..

All arguments must be options.

Description

This manual page briefly documents the tcprewrite command. Tcprewrite is a tool to rewrite packets stored in pcap(3) file format, such ascrated by tools such as tcpdump(1) and ethereal(1). Once a pcap file has had it's packets rewritten, they can be replayed back out on the networkusing tcpreplay(1).

tcprewrite currently supports reading the following DLT types:

DLT_C_HDLC aka Cisco HDLC

DLT_EN10MB aka Ethernet

DLT_LINUX_SLL aka Linux Cooked Socket

DLT_RAW aka RAW IP

DLT_NULL aka BSD Loopback

DLT_LOOP aka OpenBSD Loopback

DLT_IEEE802_11 aka 802.11a/b/g

DLT_IEEE802_11_RADIO aka 802.11a/b/g with Radiotap headers

Please see the --dlt option for supported DLT types for writing.

The packet editing features of tcprewrite which distinguish between 'client' and 'server' traffic requires a tcpprep(1) cache file.

For more details, please see the Tcpreplay Manual at: http://tcpreplay.synfin.net/trac/wiki/manual

Options

-rstring, --portmap=string

Rewrite TCP/UDP ports. This option may appear up to -1 times.

Specify a list of comma delimited port mappingings consisting of colon delimited port number pairs. Each colon delimited port pair consists of the port tomatch followed by the port number to rewrite.

Examples:

-snumber, --seed=number
Randomize src/dst IPv4/v6 addresses w/ given seed. This option may appear up to 1 times. This option takes an integer number as its argument.

Mac Os X Pcap Viewer

Causes the source and destination IPv4/v6 addresses to be pseudo randomized but still maintain client/server relationships. Since the randomization isdeterministic based on the seed, you can reuse the same seed value to recreate the traffic.

-Nstring, --pnat=string
Rewrite IPv4/v6 addresses using pseudo-NAT. This option may appear up to 2 times. This option must not appear in combination with any of the followingoptions: srcipmap.

Takes a comma delimited series of colon delimited CIDR netblock pairs. Each netblock pair is evaluated in order against the IP addresses. If the IP addressin the packet matches the first netblock, it is rewriten using the second netblock as a mask against the high order bits.

IPv4 Example:IPv6 Example:

-Sstring, --srcipmap=string
Rewrite source IPv4/v6 addresses using pseudo-NAT. This option may appear up to 1 times. This option must not appear in combination with any of thefollowing options: pnat.
Mac os x pcap viewer

Works just like the --pnat option, but only affects the source IP addresses in the IPv4/v6 header.

-Dstring, --dstipmap=string
Rewrite destination IPv4/v6 addresses using pseudo-NAT. This option may appear up to 1 times. This option must not appear in combination with any of thefollowing options: pnat.

Works just like the --pnat option, but only affects the destination IP addresses in the IPv4/v6 header.

-estring, --endpoints=string
Rewrite IP addresses to be between two endpoints. This option may appear up to 1 times. This option must appear in combination with the following options:cachefile.

Takes a pair of colon delimited IPv4/v6 addresses which will be used to rewrite all traffic to appear to be between the two IP's.

IPv4 Example:IPv6 Example:

-b, --skipbroadcast
Skip rewriting broadcast/multicast IPv4/v6 addresses.
By default --seed, --pnat and --endpoints will rewrite broadcast and multicast IPv4/v6 and MAC addresses.

Setting this flag will keep broadcast/multicast IPv4/v6 and MAC addresses from being rewritten.

-C, --fixcsum
Force recalculation of IPv4/TCP/UDP header checksums.

Causes each IPv4/v6 packet to have it's checksums recalcualted and fixed. Automatically enabled for packets modified with --seed, --pnat,--endpoints or --fixlen.

-mnumber, --mtu=number
Override default MTU length (1500 bytes). This option may appear up to 1 times. This option takes an integer number as its argument. The value ofnumber is constrained to being:
Override the default 1500 byte MTU size for determining the maximum padding length (--fixlen=pad) or when truncating (--mtu-trunc).
--mtu-trunc
Truncate packets larger then specified MTU. This option may appear up to 1 times.

Similar to --fixlen, this option will truncate data in packets from Layer 3 and above to be no larger then the MTU.

-E, --efcs
Remove Ethernet checksums (FCS) from end of frames.

Note, this option is pretty dangerous! We don't actually check to see if a FCS actually exists in the frame, we just blindly delete the last two bytes.Hence, you should only use this if you know know that your OS provides the FCS when reading raw packets.

--ttl=string
Modify the IPv4/v6 TTL/Hop Limit.

Allows you to modify the TTL/Hop Limit of all the IPv4/v6 packets. Specify a number to hard-code the value or +/-value to increase or decrease by the valueprovided (limited to 1-255).

Examples:

--tos=number
Set the IPv4 TOS/DiffServ/ECN byte. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the TOS (also known as DiffServ/ECN) value in IPv4.
--tclass=number
Set the IPv6 Traffic Class byte. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the IPv6 Traffic Class field.
--flowlabel=number
Set the IPv6 Flow Label. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the 20bit IPv6 Flow Label field. Has no effect on IPv4 packets.
-Fstring, --fixlen=string
Pad or truncate packet data to match header length. This option may appear up to 1 times.

Packets may be truncated during capture if the snaplen is smaller then the packet. This option allows you to modify the packet to pad the packet back out tothe size stored in the IPv4/v6 header or rewrite the IP header total length to reflect the stored packet length.

pad Truncated packets will be padded out so that the packet length matches the IPv4 total length

trunc Truncated packets will have their IPv4 total length field rewritten to match the actual packet length

del Delete the packet

--skipl2broadcast
Skip rewriting broadcast/multicast Layer 2 addresses.
By default, editing Layer 2 addresses will rewrite broadcast and multicast MAC addresses.

Setting this flag will keep broadcast/multicast MAC addresses from being rewritten.

--dlt=string
Override output DLT encapsulation. This option may appear up to 1 times.

By default, no DLT (data link type) conversion will be made. To change the DLT type of the output pcap, select one of the following values:

enet Ethernet aka DLT_EN10MB

hdlc Cisco HDLC aka DLT_C_HDLC

user User specified Layer 2 header and DLT type

--enet-dmac=string
Override destination ethernet MAC addresses. This option may appear up to 1 times.

Takes a pair of comma deliminated ethernet MAC addresses which will replace the destination MAC address of outbound packets. The first MAC address will beused for the server to client traffic and the optional second MAC address will be used for the client to server traffic.

Example:

--enet-smac=string
Mac Pcap Viewer

Works just like the --pnat option, but only affects the source IP addresses in the IPv4/v6 header.

-Dstring, --dstipmap=string
Rewrite destination IPv4/v6 addresses using pseudo-NAT. This option may appear up to 1 times. This option must not appear in combination with any of thefollowing options: pnat.

Works just like the --pnat option, but only affects the destination IP addresses in the IPv4/v6 header.

-estring, --endpoints=string
Rewrite IP addresses to be between two endpoints. This option may appear up to 1 times. This option must appear in combination with the following options:cachefile.

Takes a pair of colon delimited IPv4/v6 addresses which will be used to rewrite all traffic to appear to be between the two IP's.

IPv4 Example:IPv6 Example:

-b, --skipbroadcast
Skip rewriting broadcast/multicast IPv4/v6 addresses.
By default --seed, --pnat and --endpoints will rewrite broadcast and multicast IPv4/v6 and MAC addresses.

Setting this flag will keep broadcast/multicast IPv4/v6 and MAC addresses from being rewritten.

-C, --fixcsum
Force recalculation of IPv4/TCP/UDP header checksums.

Causes each IPv4/v6 packet to have it's checksums recalcualted and fixed. Automatically enabled for packets modified with --seed, --pnat,--endpoints or --fixlen.

-mnumber, --mtu=number
Override default MTU length (1500 bytes). This option may appear up to 1 times. This option takes an integer number as its argument. The value ofnumber is constrained to being:
Override the default 1500 byte MTU size for determining the maximum padding length (--fixlen=pad) or when truncating (--mtu-trunc).
--mtu-trunc
Truncate packets larger then specified MTU. This option may appear up to 1 times.

Similar to --fixlen, this option will truncate data in packets from Layer 3 and above to be no larger then the MTU.

-E, --efcs
Remove Ethernet checksums (FCS) from end of frames.

Note, this option is pretty dangerous! We don't actually check to see if a FCS actually exists in the frame, we just blindly delete the last two bytes.Hence, you should only use this if you know know that your OS provides the FCS when reading raw packets.

--ttl=string
Modify the IPv4/v6 TTL/Hop Limit.

Allows you to modify the TTL/Hop Limit of all the IPv4/v6 packets. Specify a number to hard-code the value or +/-value to increase or decrease by the valueprovided (limited to 1-255).

Examples:

--tos=number
Set the IPv4 TOS/DiffServ/ECN byte. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the TOS (also known as DiffServ/ECN) value in IPv4.
--tclass=number
Set the IPv6 Traffic Class byte. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the IPv6 Traffic Class field.
--flowlabel=number
Set the IPv6 Flow Label. This option may appear up to 1 times. This option takes an integer number as its argument. The value of number isconstrained to being:
Allows you to override the 20bit IPv6 Flow Label field. Has no effect on IPv4 packets.
-Fstring, --fixlen=string
Pad or truncate packet data to match header length. This option may appear up to 1 times.

Packets may be truncated during capture if the snaplen is smaller then the packet. This option allows you to modify the packet to pad the packet back out tothe size stored in the IPv4/v6 header or rewrite the IP header total length to reflect the stored packet length.

pad Truncated packets will be padded out so that the packet length matches the IPv4 total length

trunc Truncated packets will have their IPv4 total length field rewritten to match the actual packet length

del Delete the packet

--skipl2broadcast
Skip rewriting broadcast/multicast Layer 2 addresses.
By default, editing Layer 2 addresses will rewrite broadcast and multicast MAC addresses.

Setting this flag will keep broadcast/multicast MAC addresses from being rewritten.

--dlt=string
Override output DLT encapsulation. This option may appear up to 1 times.

By default, no DLT (data link type) conversion will be made. To change the DLT type of the output pcap, select one of the following values:

enet Ethernet aka DLT_EN10MB

hdlc Cisco HDLC aka DLT_C_HDLC

user User specified Layer 2 header and DLT type

--enet-dmac=string
Override destination ethernet MAC addresses. This option may appear up to 1 times.

Takes a pair of comma deliminated ethernet MAC addresses which will replace the destination MAC address of outbound packets. The first MAC address will beused for the server to client traffic and the optional second MAC address will be used for the client to server traffic.

Example:

--enet-smac=string
Override source ethernet MAC addresses. This option may appear up to 1 times.

Takes a pair of comma deliminated ethernet MAC addresses which will replace the source MAC address of outbound packets. The first MAC address will be usedfor the server to client traffic and the optional second MAC address will be used for the client to server traffic.

Example:

--enet-vlan=string
Specify ethernet 802.1q VLAN tag mode. This option may appear up to 1 times.

Allows you to rewrite ethernet frames to add a 802.1q header to standard 802.3 ethernet headers or remove the 802.1q VLAN tag information. https://bestyup181.weebly.com/iflicks-2-2-6-2.html.

add Rewrites the existing 802.3 ethernet header as an 802.1q VLAN header

del Rewrites the existing 802.1q VLAN header as an 802.3 ethernet header

--enet-vlan-tag=number
Specify the new ethernet 802.1q VLAN tag value. This option may appear up to 1 times. This option must appear in combination with the following options:enet-vlan. This option takes an integer number as its argument. The value of number is constrained to being:
--enet-vlan-cfi=number
Specify the ethernet 802.1q VLAN CFI value. This option may appear up to 1 times. This option must appear in combination with the following options:enet-vlan. This option takes an integer number as its argument. The value of number is constrained to being:

Mac Pcap Viewer File

--enet-vlan-pri=number
Specify the ethernet 802.1q VLAN priority. This option may appear up to 1 times. This option must appear in combination with the following options:enet-vlan. This option takes an integer number as its argument. The value of number is constrained to being:
--hdlc-control=number
Specify HDLC control value. This option may appear up to 1 times. This option takes an integer number as its argument.

The Cisco HDLC header has a 1 byte 'control' field. Apparently this should always be 0, but if you can use any 1 byte value.

--hdlc-address=number
Specify HDLC address. This option may appear up to 1 times. This option takes an integer number as its argument.

The Cisco HDLC header has a 1 byte 'address' field which has two valid values:

0x0F Unicast

0xBF Broadcast
You can however specify any single byte value.

--user-dlt=number
Set output file DLT type. This option may appear up to 1 times. This option takes an integer number as its argument.

Set the DLT value of the output pcap file.

--user-dlink=string
Rewrite or '.INI') file(s). The homerc fileis '$$/', unless that is a directory. In that case, the file '.tcprewriterc' is searched for within that directory.

See Also

tcpdump(1), tcpprep(1), tcpreplay(1)

Author

Copyright 2000-2010 Aaron Turner

For support please use the tcpreplay-users@lists.sourceforge.net mailing list.

Mac Pcap Viewer Download

The latest version of this software is always available from: http://tcpreplay.synfin.net/

Pcap Viewer Mac

Released under the Free BSD License.

This manual page was AutoGen-erated from the tcprewrite option definitions.

Referenced By

tcpbridge(1),tcpreplay-edit

Mac Pcap Viewer Software

(1)



broken image