Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Regina Reine" <regina@erg.abdn.ac.uk>
To: netfilter@lists.netfilter.org
Subject: Mangling problem
Date: Wed, 21 May 2003 12:49:54 +0100	[thread overview]
Message-ID: <000001c31f8f$1866f1d0$88cc858b@TOSHIBAFIRE> (raw)
In-Reply-To: <20030415222001.8410.94392.Mailman@kashyyyk>


Hi,
I am doing an experiment with iptables. I use a hub to connect two
computers. Computer A captures the video packet (or any packets) and
computer B runs iptables and my code in Red Hat 8. Basically, with hub,
computer B will be able to see the packets coming to computer A. I would
like computer B to preroute this packet and put these packets in
userspace where I run my code. 

I uses :

** Iptables -t mangle -I PREROUTING -p udp -I eth0 -j QUEUE

However, seems like I only be able to capture broadcast packets. (But
TCPDUMP could see the udp packets). I have checked my code (just a
simple code that scan what kind of packets and it worked with udp
generator such as iperf or hping). 
I have tried a few other similar ways but still only could capture
broadcast packets. Does anybody spots my mistake or could give me advice
for better solution? Thank you

Best regards,
Regina Reine



       reply	other threads:[~2003-05-21 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030415222001.8410.94392.Mailman@kashyyyk>
2003-05-21 11:49 ` Regina Reine [this message]
2003-05-21 13:26   ` Mangling problem Chris Hoeschen
2003-05-21 14:02     ` Scott MacKay
2003-05-21 23:33   ` Arnt Karlsen
2003-05-21 14:17 ` Regina Reine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c31f8f$1866f1d0$88cc858b@TOSHIBAFIRE' \
    --to=regina@erg.abdn.ac.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox