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

Call Back Failure #49

Closed
ghost opened this issue Nov 10, 2014 · 9 comments
Closed

Call Back Failure #49

ghost opened this issue Nov 10, 2014 · 9 comments

Comments

@ghost
Copy link

ghost commented Nov 10, 2014

When the non-router IP is entered,the output is :

TypeError: start() takes exactly 2 arguments (3 given)

@DanMcInerney
Copy link
Owner

What OS are you using and what version of nfqueue do you have installed?

dpkg -s python-nfqueue

I suspect you're behind. You need version 0.4-3.

On Mon, Nov 10, 2014 at 2:56 AM, faizanke notifications@github.com wrote:

When the non-router IP is entered,the output is :

TypeError: start() takes exactly 2 arguments (3 given)


Reply to this email directly or view it on GitHub
#49.

@ghost
Copy link
Author

ghost commented Nov 10, 2014

I'm using Ubuntu 14.10 . I've attatched the output for dpkg -s python-nfqueue
selection_003

@ddworken
Copy link
Collaborator

Try downloading the latest version. This should be fixed in the newest version (now compatible with old versions of python-nfqueue.

Fixed by commit 5765f15.

@ghost
Copy link
Author

ghost commented Nov 10, 2014

@ddworken which is the latest version ?

@ghost
Copy link
Author

ghost commented Nov 10, 2014

My version of python-nfqueue is 0.5-build1 ..

@ghost
Copy link
Author

ghost commented Nov 10, 2014

I've downloaded the latest version of LANs.py and i'm getting the following error while running python LANs.py :

Traceback (most recent call last):
File "LANs.py", line 1616, in
wifijammerMain(args)
File "LANs.py", line 1249, in wifijammerMain
signal(SIGINT, stop)
TypeError: 'module' object is not callable

@ddworken
Copy link
Collaborator

Hmmm... Interesting. I patched the code to change how the signals are handled, it is updated in the repo here.

https://github.com/ddworken/LANs.py

Download this and try it out. I could not reproduce the issue on my machine (also running Ubuntu 14.10), but I changed up the imports, which should fix this issue.

If it does fix it, I will update the main repo with this fix.

@ghost
Copy link
Author

ghost commented Nov 11, 2014

Error while running the command "python LANs.py -u" and selecting a victim IP.

Traceback (most recent call last):
File "LANs.py", line 1613, in
LANsMain(args)
File "LANs.py", line 276, in LANsMain
Queued(args)
File "LANs.py", line 978, in init
self.q.fast_open(0, socket.AF_INET)
File "/usr/lib/python2.7/dist-packages/nfqueue.py", line 99, in fast_open
def fast_open(self, *args): return _nfqueue.queue_fast_open(self, *args)
RuntimeError: error during nfq_create_queue()

@ddworken
Copy link
Collaborator

Did you run the command @DanMcInerney suggested? pip install --user
NetfilterQueue I think that may fix this problem. It appears that you have
a newer version of python-nfqueue than is supported.

If that does not fix it, you could try downgrading.

https://packages.debian.org/wheezy/amd64/python-nfqueue/download

Download this package, then run sudo dpkg -i python-nfqueue_0.4-3_amd64.deb

That should fix this.

On Tue, Nov 11, 2014 at 1:42 AM, faizanke notifications@github.com wrote:

Error while running the command "python LANs.py -u" and selecting a victim
IP.

Traceback (most recent call last):
File "LANs.py", line 1613, in
LANsMain(args)
File "LANs.py", line 276, in LANsMain
Queued(args)
File "LANs.py", line 978, in init
self.q.fast_open(0, socket.AF_INET)
File "/usr/lib/python2.7/dist-packages/nfqueue.py", line 99, in fast_open
def fast_open(self, *args): return _nfqueue.queue_fast_open(self, *args)
RuntimeError: error during nfq_create_queue()


Reply to this email directly or view it on GitHub
#49 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants