Linux Netfilter discussions
 help / color / mirror / Atom feed
* Problem with iptables -j TEE
       [not found] <BANLkTik2sHtuWOr64ty4yQhjP5EYwD20pg@mail.gmail.com>
@ 2011-04-13 11:46 ` JOSE FELIX HERNANDEZ BARRIO
  2011-04-13 12:10   ` Marek Kierdelewicz
  0 siblings, 1 reply; 3+ messages in thread
From: JOSE FELIX HERNANDEZ BARRIO @ 2011-04-13 11:46 UTC (permalink / raw)
  To: netfilter

I'm trying to copy the incoming traffic by tcp to another host using TEE.

My command:
iptables -t mangle -A PREROUTING -p tcp -j TEE --gateway 192.168.0.100

And the error:
iptables: No chain/target/match by that name.


any tip?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with iptables -j TEE
  2011-04-13 11:46 ` Problem with iptables -j TEE JOSE FELIX HERNANDEZ BARRIO
@ 2011-04-13 12:10   ` Marek Kierdelewicz
  2011-04-13 12:16     ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Kierdelewicz @ 2011-04-13 12:10 UTC (permalink / raw)
  To: JOSE FELIX HERNANDEZ BARRIO; +Cc: netfilter

Hi,

>I'm trying to copy the incoming traffic by tcp to another host using
>TEE.
>My command:
>iptables -t mangle -A PREROUTING -p tcp -j TEE --gateway 192.168.0.100
>And the error:
>iptables: No chain/target/match by that name.
>any tip?

Answer is in the thread from 8 days ago:
http://www.spinics.net/lists/netfilter/msg50656.html

Best regards,
Marek Kierdelewicz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with iptables -j TEE
  2011-04-13 12:10   ` Marek Kierdelewicz
@ 2011-04-13 12:16     ` Jan Engelhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2011-04-13 12:16 UTC (permalink / raw)
  To: Marek Kierdelewicz; +Cc: JOSE FELIX HERNANDEZ BARRIO, netfilter

On Wednesday 2011-04-13 14:10, Marek Kierdelewicz wrote:

>Hi,
>
>>I'm trying to copy the incoming traffic by tcp to another host using
>>TEE.
>>My command:
>>iptables -t mangle -A PREROUTING -p tcp -j TEE --gateway 192.168.0.100
>>And the error:
>>iptables: No chain/target/match by that name.
>>any tip?
>
>Answer is in the thread from 8 days ago:
>http://www.spinics.net/lists/netfilter/msg50656.html

And to summarize:

xt_TEE requires either:
   1. iptables >= 1.4.8 && kernel >= 2.6.35
OR 2. iptables < 1.4.8 && kernel < 2.6.35 && xtables-addons (its mconfig 
file may need to be adjusted)

because case 1's components only knows about xt_TEE revision 1, while 
xt-a's is revision 0 (deliberately - to avoid clashes, r1 is in fact, 
different).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-13 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BANLkTik2sHtuWOr64ty4yQhjP5EYwD20pg@mail.gmail.com>
2011-04-13 11:46 ` Problem with iptables -j TEE JOSE FELIX HERNANDEZ BARRIO
2011-04-13 12:10   ` Marek Kierdelewicz
2011-04-13 12:16     ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox