Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chr0mefalcon

Pages: [1]
1
Scripting Languages / Python nfqueue
« on: March 16, 2013, 04:32:40 pm »
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

Pages: [1]