|
libipq, iptables, tunneling
Hello all.
I am writing a simple tunneling app. I am redirecting traffic to the userspace QUEUE, and sending the packets out over a tunnel. I can intercept and send out web browswer traffic, or ping icmp traffic with no problem.
My problems begin when I try to intercept a higher bandwidth stream. All I can get is this:
Error: ipq_read() returned -1
Received message truncated
What does it mean that the messages on the queue are truncated? How can I get around this?
The iptables rules I have set are the following:
iptables -A OUTPUT -p UDP -j NFQUEUE
iptables -A OUTPUT -f -p UDP -j NFQUEUE
Thanks in advance,
Connor
|