byteblowerll.byteblower.CaptureRawPacket

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

This class is used to capture the raw packet data that is received on the Physical interface that is associated with a ByteBlowerPort.

With an CaptureRawpacket you can capture the data that is received by the ByteBlower Port and save this to a pcap file on your pc. You can also apply a filter (BPF-style) to only capture the packets of your interest.

Example

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

Methods

DescriptionGet(*args) Gets a textual description for the current object
FileNameRemoteGet()
FilterGet() Returns the current installed BPF filter string.
FilterSet(inFilter) Sets a BPF filter on a RX object.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ResultGet() Returns the capture result.
Start() Start capturing.
Stop() Stop capturing.
__init__(*args, **kwargs)