Thread (34 messages) 34 messages, 8 authors, 2005-04-02

Re: RFC: Redirect-Device

From: Ben Greear <hidden>
Date: 2005-03-31 21:26:40

jamal wrote:
On Thu, 2005-03-31 at 15:41, Ben Greear wrote:
I must be missing something: What is it that this device can do that the
mirred action cant do? 
Or in general the action framework on the ingress side?
We can redirect to any arbitrary device; we can mirror to any arbitray
device; we can drop, mangle packets identified via classification rules
in any arbitrary way etc
I can operate on these devices with normal socket calls from user-space, and
can treat them as normal net_devices from kernel modules.  I do not have to
parse or manage the mirrored action logic, and I know that I absolutely have
total control over packets with my user-space language of choice.  (I am not
sure how easy it is to use your classification rules and mangling operations
in an arbitrary manner.)

I can also create a nice little set of virtual interfaces
and connections  rdd0 <-> rdd1  |bridge|  rdd2 <-> rdd3.  I can then send traffic
from rdd0 to rdd3 across the bridge, etc.  Now, this last bit is fairly
contrived, but it happens to help me with some testing on my laptop which
lacks a lot of external ethernet interfaces :)

To be honest, I didn't dig into the actions.  It would be much harder for
me to manage things in that manner, whereas virtual interfaces just work
for me.

Thanks,
Ben

-- 
Ben Greear [off-list ref]
Candela Technologies Inc  http://www.candelatech.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help