Skip to content

PCAP De-Encapsulation utility ERSPAN ARISTA METAMAKO IXIA

Notifications You must be signed in to change notification settings

fmadio/pcap_decap

Repository files navigation

Alt text

fmadio 10G 40G 100G Packet Capture

Fast PCAP de-encapsulation tool. Utility removes encapsulation from packets, and also updates any timestamp in the PCAP with any specialized header/footer. This provides more accurate timestamps at the ingress port instead of at the capture port.

Utility is fast, pure C and uses linux pipes. It designed for processing TB scale PCAP running a single pass operation.

Supports:

  • VLAN
  • MPLS
  • VNTAG
  • VXLAN
  • CAPWAP
  • GRE basic
  • ERSPAN v1 Timestamp
  • ERSPAN v3 Timestamp
  • Metamako TimeStamp
  • Exablaze TimeStamp
  • Arista DANZ TimeStamp

Experimental

  • Ixia X40 Stream Packet Broker Timestamp

Roadmap:

Usage:

Input is stdin

Output is stdout

Example:

cat erspan.pcap | pcap_decap > output.pcap

PCAP De-encapsuation : FMADIO 10G 40G 100G Packet Capture : http://www.fmad.io
pcap_decap

Command works entirely based linux input / ouput pipes.
For example:
$ cat erspan.pcap | pcap_decap > output.pcap

Options:
-v                 : verbose output
-vv                : dump every packet

Protocols:
--metamako         : assume every packet has metamako footer
--ixia             : Ixia X40 Stream. replace FCS with a TS
--arista           : Arista DANZ replace FCS with a TS

About

PCAP De-Encapsulation utility ERSPAN ARISTA METAMAKO IXIA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published