All of lore.kernel.org
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Changli Gao <xiaosuo@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] act_mirred: don't go back.
Date: Wed, 11 Nov 2009 04:03:52 -0500	[thread overview]
Message-ID: <1257930232.4685.20.camel@bigi> (raw)
In-Reply-To: <412e6f7f0911110044i22c28ab6pa3a3691c014e76a8@mail.gmail.com>

On Wed, 2009-11-11 at 16:44 +0800, Changli Gao wrote:

> The current kernel and iproute2 support ingress in another way, that
> is attaching the filter to the corresponding ingress qdisc. refter to
> http://www.linuxfoundation.org/en/Net:IFB . 

that looks like something i wrote ;->

> The loops is avoided in
> netif_receive_skb() and with TTL mechanism. 
> Do you have more
> documentation or examples about socket redirect? Sorry, I don't know
> what it is used to do. Is it sth. like ipt_REDIRECT?

I open a socket and I install a filter to mirror or redirect to this
socket. It is possible to do it today if you use tun device; thats
why i have never been motivated to do it.

cheers,
jamal


  reply	other threads:[~2009-11-11  9:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  6:43 [PATCH] act_mirred: don't go back Changli Gao
2009-11-09  7:22 ` jamal
2009-11-09  8:31   ` Changli Gao
2009-11-09 10:54     ` jamal
2009-11-09 11:06       ` Changli Gao
2009-11-09 12:33       ` Changli Gao
2009-11-10  7:40         ` jamal
2009-11-10  8:50           ` Changli Gao
2009-11-11  8:11             ` jamal
2009-11-11  8:44               ` Changli Gao
2009-11-11  9:03                 ` jamal [this message]
2009-11-11  9:23                   ` Changli Gao

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=1257930232.4685.20.camel@bigi \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=xiaosuo@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.