Sniffs data.serial and dumps into pcap file (assumes that frames are DLT_IEEE802_15_4)
Sniffs data.tun and dumps into pcap file (assumes that frames are DLT_IEEE802_15_4)
...
...
@@ -19,32 +19,45 @@ class AmqpDataPacketDumper(threading.Thread):
incl_len: the number of bytes of packet data actually captured and saved in the file. This value should never become larger than orig_len or the snaplen value of the global header.
orig_len: the length of the packet as it appeared on the network when it was captured. If incl_len and orig_len differ, the actually saved packet size was limited by snaplen.
"""
COMPONENT_ID='capture_dumper'
COMPONENT_ID='capture_dumper_%s'%uuid.uuid1()# uuid in case several dumpers listening to bus