Packet Sniffer

Packet sniffer module.

class probequest.packet_sniffer.PacketSniffer(config, new_packets)[source]

Wrapper around the ‘AsyncSniffer’ class from the Scapy project.

is_running()[source]

Returns true if the sniffer is running, false otherwise.

new_packet(packet)[source]

Adds the packet given as parameter to the queue to be processed by the parser.

start()[source]

Starts the packet sniffer.

stop()[source]

Stops the packet sniffer.