Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Aaron Lewis <the.warl0ck.1989@gmail.com>
Cc: netfilter mailing list <netfilter@vger.kernel.org>
Subject: Re: Mirroring traffic with iptables TEE target
Date: Mon, 31 Dec 2012 00:28:32 +0100	[thread overview]
Message-ID: <20121230232832.GA30047@1984> (raw)
In-Reply-To: <20121230091048.GA4575@devnull.qunarservers.com>

On Sun, Dec 30, 2012 at 05:10:48PM +0800, Aaron Lewis wrote:
> Hi,
> 
> I tried to mirror TCP traffic with mangle chain, 
> 
> that all packets sent to 192.168.56.2 would be copied to 192.168.56.1,
> 
> # On 192.168.56.2 I executed,
> iptables -A PREROUTING -p tcp --dport 80 -j TEE --gateway 192.168.56.1
> 
> But on 192.168.56.1 no traffic to port 80 was seen
> 
> Anything wrong?

There was a bug in the 3.6 series that broke TEE, but that is fixed in
-stable. What kernel are you using?

      parent reply	other threads:[~2012-12-30 23:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30  9:10 Mirroring traffic with iptables TEE target Aaron Lewis
2012-12-30 11:25 ` Jan Engelhardt
     [not found]   ` <CAJZVxRnvbPQfXJRQOLx8tjjP8ee8D6F8Mt=4U8GFBdN_iKCbjA@mail.gmail.com>
2012-12-30 12:19     ` Jan Engelhardt
2012-12-30 12:54       ` Aaron Lewis
2012-12-30 13:18         ` Jan Engelhardt
2012-12-30 23:28 ` Pablo Neira Ayuso [this message]

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=20121230232832.GA30047@1984 \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=the.warl0ck.1989@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox