reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T21_54_32.055088.pcap, link-type LINUX_SLL (Linux cooked v1)
Packet count: 969
Garbage Collection Began. Flows = 2
/usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b
e ignored.
warnings.warn("The input array could not be properly checked for nan "
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run
session.on_packet_received(p)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received
self.garbage_collect(packet.time)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect
data = flow.get_data()
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data
'PacketTimeMode': packet_time.get_mode(),
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode
mode = float(stat.mode(self._get_packet_times())[0])
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode
if a.dtype == object and np.nan in set(a.ravel()):
TypeError: unhashable type: 'EDecimal'
mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp
-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv
reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1)
Packet count: 945
Garbage Collection Began. Flows = 2
/usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b
e ignored.
warnings.warn("The input array could not be properly checked for nan "
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, *self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run
session.on_packet_received(p)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received
self.garbage_collect(packet.time)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect
data = flow.get_data()
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data
'PacketTimeMode': packet_time.get_mode(),
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode
mode = float(stat.mode(self._get_packet_times())[0])
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode
if a.dtype == object and np.nan in set(a.ravel()):
TypeError: unhashable type: 'EDecimal'
mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp
-Pcap-001_600 -c ./output.csv
tcpdump: error reading dump file: Is a directory
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(self._args, self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 882, in _run
sniff_sockets[PcapReader(
File "/usr/local/lib/python3.8/dist-packages/scapy/utils.py", line 975, in call
raise Scapy_Exception(
scapy.error.Scapy_Exception: No data could be read!
mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp
-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv
reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1)
Packet count: 945
Garbage Collection Began. Flows = 2
/usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b
e ignored.
warnings.warn("The input array could not be properly checked for nan "
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, *self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run
session.on_packet_received(p)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received
self.garbage_collect(packet.time)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect
data = flow.get_data()
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data
'PacketTimeMode': packet_time.get_mode(),
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode
mode = float(stat.mode(self._get_packet_times())[0])
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode
if a.dtype == object and np.nan in set(a.ravel()):
TypeError: unhashable type: 'EDecimal'
mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp
-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv
reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1)
Packet count: 945
Garbage Collection Began. Flows = 2
/usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b
e ignored.
warnings.warn("The input array could not be properly checked for nan "
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(self._args, **self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run
session.on_packet_received(p)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received
self.garbage_collect(packet.time)
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect
data = flow.get_data()
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data
'PacketTimeMode': packet_time.get_mode(),
File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode
mode = float(stat.mode(self._get_packet_times())[0])
File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode
if a.dtype == object and np.nan in set(a.ravel()):
TypeError: unhashable type: 'EDecimal'
reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T21_54_32.055088.pcap, link-type LINUX_SLL (Linux cooked v1) Packet count: 969 Garbage Collection Began. Flows = 2 /usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b e ignored. warnings.warn("The input array could not be properly checked for nan " Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, self._kwargs) File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run session.on_packet_received(p) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received self.garbage_collect(packet.time) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect data = flow.get_data() File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data 'PacketTimeMode': packet_time.get_mode(), File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode mode = float(stat.mode(self._get_packet_times())[0]) File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode if a.dtype == object and np.nan in set(a.ravel()): TypeError: unhashable type: 'EDecimal' mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp -Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1) Packet count: 945 Garbage Collection Began. Flows = 2 /usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b e ignored. warnings.warn("The input array could not be properly checked for nan " Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, *self._kwargs) File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run session.on_packet_received(p) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received self.garbage_collect(packet.time) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect data = flow.get_data() File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data 'PacketTimeMode': packet_time.get_mode(), File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode mode = float(stat.mode(self._get_packet_times())[0]) File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode if a.dtype == object and np.nan in set(a.ravel()): TypeError: unhashable type: 'EDecimal' mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp -Pcap-001_600 -c ./output.csv tcpdump: error reading dump file: Is a directory Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(self._args, self._kwargs) File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 882, in _run sniff_sockets[PcapReader( File "/usr/local/lib/python3.8/dist-packages/scapy/utils.py", line 975, in call raise Scapy_Exception( scapy.error.Scapy_Exception: No data could be read! mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp -Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1) Packet count: 945 Garbage Collection Began. Flows = 2 /usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b e ignored. warnings.warn("The input array could not be properly checked for nan " Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, *self._kwargs) File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run session.on_packet_received(p) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received self.garbage_collect(packet.time) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect data = flow.get_data() File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data 'PacketTimeMode': packet_time.get_mode(), File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode mode = float(stat.mode(self._get_packet_times())[0]) File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode if a.dtype == object and np.nan in set(a.ravel()): TypeError: unhashable type: 'EDecimal' mohittembe@DESKTOP-8FG1VFR:/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter$ python3 dohlyzer.py -f ./MaliciousDoH-dns2tcp -Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap -c ./output.csv reading from file ./MaliciousDoH-dns2tcp-Pcap-001_600/dns2tcp_tunnel_1111_doh1_2020-03-31T22_17_01.945354.pcap, link-type LINUX_SLL (Linux cooked v1) Packet count: 945 Garbage Collection Began. Flows = 2 /usr/lib/python3/dist-packages/scipy/stats/stats.py:263: RuntimeWarning: The input array could not be properly checked for nan values. nan values will b e ignored. warnings.warn("The input array could not be properly checked for nan " Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(self._args, **self._kwargs) File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 989, in _run session.on_packet_received(p) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 105, in on_packet_received self.garbage_collect(packet.time) File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow_session.py", line 119, in garbage_collect data = flow.get_data() File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/flow.py", line 80, in get_data 'PacketTimeMode': packet_time.get_mode(), File "/mnt/c/Users/mohit/Onedrive/Desktop/studentjob/project/DOHmeter/DoHlyzer/meter/features/packet_time.py", line 114, in get_mode mode = float(stat.mode(self._get_packet_times())[0]) File "/usr/lib/python3/dist-packages/scipy/stats/stats.py", line 458, in mode if a.dtype == object and np.nan in set(a.ravel()): TypeError: unhashable type: 'EDecimal'
I am getting this error while uploading the pcap file. Can you please help me with this? This is the link for pcap file I am trying to upload http://205.174.165.80/CICDataset/DoHBrw-2020/Dataset/MaliciousDoH-dns2tcp-Pcaps/