I am on the code_injector tutorial, and after accidentally messing around with the pip package I think I busted my netfilterqueue.
I’m running the iptables (iptables -I INPUT -j NFQUEUE –queue-num 0 and iptables -I OUTPUT -j NFQUEUE –queue-num 0), that part is fine… but when I go to run my code I am getting:
Traceback (most recent call last):
File “code_injector.py”, line 42, in <module>
File “netfilterqueue.pyx”, line 182, in netfilterqueue.NetfilterQueue.bind (netfilterqueue.c:4388)
OSError: Failed to create queue 0.
Any idea why this OS Error is popping up? I do want to think it has something to do with the netfilterqueue.pyx file, which I cannot locate for the life of me to view line 182 and try to dig further… as much as I love this puzzle of figuring things out, I’ve exhausted my attempts.