Closed xhdix closed 4 years ago
This looks like a Python 3.5 issue - could you show us your python version?
Python 3.5.3
Also, netfilterqueue
cannot be installed in Python 3.7.3
.
What version did you test?
All of our testing has been on python3.6. could you try that? We'll look into porting it to older versions of Python too.
I used: https://github.com/chriskuehl/python3.6-debian-stretch
Then:
# /usr/bin/python3.6 -m pip install -r requirements.txt
And finally:
# /usr/bin/python3.6 engine.py --server-port 80 --strategy "[TCP:flags:PA]-duplicate(tamper{TCP:dataofs:replace:10}(tamper{TCP:chksum:corrupt},),)-|" --log debug
2019-11-16 02:15:36 DEBUG:[ENGINE] Engine created with strategy [TCP:flags:PA]-duplicate(tamper{TCP:dataofs:replace:10}(tamper{TCP:chksum:corrupt},),)-| \/ (ID ex02e8i6) to port 80
2019-11-16 02:15:36 DEBUG:[ENGINE] Configuring iptables rules
2019-11-16 02:15:36 DEBUG:[ENGINE] iptables -A OUTPUT -p tcp --dport 80 -j NFQUEUE --queue-num 1
2019-11-16 02:15:37 DEBUG:[ENGINE] iptables -A INPUT -p tcp --sport 80 -j NFQUEUE --queue-num 2
2019-11-16 02:15:37 DEBUG:[ENGINE] iptables -A OUTPUT -p udp --dport 80 -j NFQUEUE --queue-num 1
2019-11-16 02:15:37 DEBUG:[ENGINE] iptables -A INPUT -p udp --sport 80 -j NFQUEUE --queue-num 2
2019-11-16 02:15:37 DEBUG:[ENGINE] NFQueue Initialized after 0
Thank You But it is better to support higher versions of Python too.
Thanks so much for testing this out. Sorry to make you the guinea pig on this issue.
We have a fix for python3.5 and we'll be pushing that soon. The fix for python 3.7+ is tougher, but we'll work on it!
I'm leaving this issue open until the fix comes out as I imagine other people will run into it.
You're welcome Thanks for making this amazing project an open source.
Hey @xhdix - I updated the parsing code to support Python 3.5. Let us know if you have any other issues!
I can't run it.
Debian GNU/Linux 9.11 (stretch)