Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scapy exeptions #101

Open
pepper-jk opened this issue Oct 22, 2019 · 0 comments
Open

scapy exeptions #101

pepper-jk opened this issue Oct 22, 2019 · 0 comments
Labels
bug Something isn't working todo This will be worked on in the near future.

Comments

@pepper-jk
Copy link
Collaborator

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'
@pepper-jk pepper-jk added bug Something isn't working todo This will be worked on in the near future. labels Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working todo This will be worked on in the near future.
Projects
None yet
Development

No branches or pull requests

1 participant