-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't workingtodoThis will be worked on in the near future.This will be worked on in the near future.
Description
After updating to scapy tests print the following exception repeatedly. It seems to be an issue with scapy in general, as it (now) needs root permissions to create sockets.
Since we do not really use sockets in ID2T anyway, this should not happen. For some reason sockets seem to be created, without ID2T using them. There should be a way to suppress this. If not this might be atopic for another pull request for scapy.
Exception ignored in: <function SuperSocket.__del__ at 0x7f72f43bccb0>
Traceback (most recent call last):
File "/home/pepper-jk/code/ID2T/.venv/lib/python3.7/site-packages/scapy/supersocket.py", line 123, in __del__
self.close()
File "/home/pepper-jk/code/ID2T/.venv/lib/python3.7/site-packages/scapy/arch/linux.py", line 481, in close
set_promisc(self.ins, self.iface, 0)
AttributeError: 'L2Socket' object has no attribute 'ins'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtodoThis will be worked on in the near future.This will be worked on in the near future.