expcap v0.1.0

Modules summary

ExPcap

This module represents a pcap file that has been parsed

ExPcap.Binaries

This module provides utility functions for dealing with binaries

ExPcap.CLI

Prints the contents of a PCAP file to stdout

ExPcap.GlobalHeader

This module represents the global header of a pcap file

ExPcap.MagicNumber

This module represents a ‘magic number’ from a pcap header. The magic number not only contains a known value, but the value indicates the order in which bytes should be read AND whether or not datetimes use milliseconds or nanoseconds

ExPcap.NetworkTypes

This module contains information about the types of packets that are contained in the PCAP file. For example, if the network type is ‘ethernet’ then each packet in the pcap file will be an ethernet packet

ExPcap.Packet

This module represents a single pcap packet. It contains a header and both raw and parsed versions of the body

ExPcap.PacketData

This module represents the body of a packet

ExPcap.PacketHeader

This module represents a pcap packet header

Protocol.Dns

A parsed DNS packet

Protocol.Dns.Header

A parsed DNS packet header

Protocol.Dns.Question

A parsed DNS question

Protocol.Dns.ResourceRecord

A parsed DNS resource record

Protocol.Ethernet

A parsed ethernet packet

Protocol.Ethernet.Header

A parsed ethernet packet header

Protocol.Ethernet.Types

This module contains functions related to the payload types that this ethernet packet may contain

Protocol.Ipv4

A parsed IPv4 packet

Protocol.Ipv4.Header

A parsed IPv4 packet header

Protocol.Udp

A parsed UDP packet

Protocol.Udp.Header

A parsed UDP packet header

Protocols summary

PayloadParser

This protocol indicates a module that is aware of how to convert binary data to a parsed packet

PayloadType

This protocol indicates a module that is aware of which parser should be used to handle its body