I have a need to

1) read all packets on a wire  from eth0

2) Look at them in user space 


3) Push them out unchanged to eth1

4) need to do this in both directions


5) Do not really want to have my Linux Box visible
   (no need for other devices to see me as a gateway,
so if I sit on a trunk I am just part of the wire to
the rest of the network)


I know how to do do pieces of this but if somebody
could fill in the blanks or correct any bad
assumptions that would be a great time saver


I know how to set up iptables and queue packets into
user space for a single ethernet card, but I do not
know how to push them out on another interface


I understand to blindly get all packets I need to set
my ethernet interface to promiscious mode, can this be
done without assigning an IP address to the card? 


I assume that I will need to write some form of rules
that go something like 


eth0 -> user space -> eth1

eth1 -> user space -> eh0

for all IP packets


Can somebody help me with how to write and set up
these rules , if this is even possible?

Thanks in advance, willing to buy  dinner certificate
or some other token of appreciation for help.


Art Reisman


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

Reply via email to