Im having trouble using the nfqueue module in python to intercept traffic queue from iptables.
I am able to capture the packets modify the content like i want to, but i do not know how to send them, or allow the modified version through the queue.
I haven't been able to find to much documentation on the web about this. But from what i can find is that this is how i should re accept the packets through the queue
payload.set_verdict_modified(nfqueue.NF_ACCEPT, str(pkt), len(pkt))
[/size]where as put is the new packet you created. The packet was modified using scapy.
[/size]Any ideas why this isn't working would be really helpful. Thanks