-
Notifications
You must be signed in to change notification settings - Fork 361
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
Crash immediately on launch on Ubuntu 20.04 #166
Comments
Hey @thejoelpatrol, thanks for opening the issue. This is generally an error where the To load the module (assuming you have installed Try running fakenet after loading the module. Hopefully that should solve the issue. |
@thejoelpatrol The comment I left above is to solve specifically the first error/exception: We need to change that in the codebase. Thanks for pointing out! |
@3V3RYONE That would explain why it only happens near boot and not later after a successful run, so that's a good tip, thanks. The crash most immediately seems to be because of the second exception, though, as the first one is supposed to be handled cleanly. And there are more like it just waiting to happen. Looking forward to the next release with a fuller python3 update :) |
We're working on it 🚀 |
OS: Ubuntu 20.04
Python: 3.8.10
VM: VMWare Workstation 16
Latest commit: ac33a70
When starting Fakenet soon after boot, it fails to handle an exception properly. This seems to be an artifact of the Python 2-->3 migration. Officially in Python 3,
IOError
doesn't actually exist any more, though somehow thisFileNotFoundError
is still caught. In any case, it does not contain amessage
attribute. Changing(procfs_path, e.message)
to(procfs_path, e)
fixes it. There are several other locations where this may occur, where an oldIOError
is caught.I could not reproduce this after fixing it and running for a while, then unfixing it, so it may only happen near boot. It does happen for me every boot. The file
/proc/net/netfilter/nfnetlink_queue
actually does not exist.The text was updated successfully, but these errors were encountered: