LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-01-2008, 01:24 PM   #1
Connor.Poske
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Tunneling or VPN Tunneling Teomari Linux - Networking 3 04-09-2007 07:52 PM
DISCUSSION: Libipq by example mad_ady LinuxAnswers Discussion 0 07-27-2006 05:07 PM
How to retrieve an sk_buff from libipq netfunk Linux - Networking 2 03-20-2006 04:16 AM
incoming tunneling or tunneling via a 3rd party? JustinHoMi Linux - Networking 1 04-15-2005 01:57 PM
problem with trying the libipq example code enjoyzj Programming 4 12-07-2003 07:41 PM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration