byteblowerll.byteblower.PacketDump

class byteblowerll.byteblower.PacketDump(*args, **kwargs)

Utility for dumping ByteBlower network traffic to a pcap file.

A PacketDump object is created for a ByteBlower interface and can be configured with a BPF filter and a maximum snapshot length.

Example

from byteblowerll.byteblower import ByteBlower
server = ByteBlower.ServerAdd('byteblower-1.lab.byteblower.com')
# TODO
__init__(*args, **kwargs)

Methods

DescriptionGet(*args) Gets a textual description for the current object
FileNameGet() Returns file name of the target pcap file.
FileSizeGet() Returns current size of the target pcap file.
FilterGet() Returns the BPF filter.
FilterSet(value) Configures a BPF filter so that only packets that match the filter will be captured.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ServerGet()
SnapshotLengthGet() Returns the maximum number of bytes that can be captured for each packet.
SnapshotLengthSet(value) Configure the maximum number of bytes that can be captured for each packet.
Start(filename) Start capturing packets.
Stop() Stop capturing packets.
__init__(*args, **kwargs)