netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lennert Buytenhek <buytenh@wantstofly.org>
To: jamal <hadi@cyberus.ca>
Cc: "David S. Miller" <davem@davemloft.net>,
	netdev@oss.sgi.com, bdschuym@pandora.be
Subject: Re: [PATCH] remove superfluous diverter printk'ing
Date: Sun, 16 Jan 2005 18:22:02 +0100	[thread overview]
Message-ID: <20050116172202.GC20537@xi.wantstofly.org> (raw)
In-Reply-To: <1105895420.1090.708.camel@jzny.localdomain>

On Sun, Jan 16, 2005 at 12:10:21PM -0500, jamal wrote:

> Diverter could simply be killed now that tc actions exist if theres no
> maintainer or user.
> Should be able to divert any packet of choce to any interface.

The diverter is not used for redirecting a packet to another interface.

What it does (IIRC) is overwrite the destination MAC address on selected
packets so that the local host will process them.  You can do the same
thing with iptables' "-j REDIRECT" but the diverter was made for use on
ethernet bridges (REDIRECTing bridged packets) when the bridge-nf stuff
didn't exist yet.

Nowadays we have bridge-nf and you should be able to do the same thing
by just using '-j REDIRECT' as you would do with routing (Bart, please
correct me if I'm wrong there.)


--L

  reply	other threads:[~2005-01-16 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 12:47 [PATCH] remove superfluous diverter printk'ing Lennert Buytenhek
2005-01-14 21:46 ` David S. Miller
2005-01-15 10:47   ` Lennert Buytenhek
2005-01-16 17:10     ` jamal
2005-01-16 17:22       ` Lennert Buytenhek [this message]
2005-01-16 17:33         ` jamal

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=20050116172202.GC20537@xi.wantstofly.org \
    --to=buytenh@wantstofly.org \
    --cc=bdschuym@pandora.be \
    --cc=davem@davemloft.net \
    --cc=hadi@cyberus.ca \
    --cc=netdev@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).