Skip to contentSkip to conversation

Redirect target for IPv6 inclusion

DISCUSSION Steve (Telsat Broadband) 2 participants 5 messages May 29, 2012 – Jun 28, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

Hi All,

I've seen a reference that a REDIRECT target for IPv6 is being worked on and I would like to know if/when it might be included into ip6tables? This redirect target forms a very large part of our network access server and is critical for our IPv4 operations and will also be critical for us to start operating with IPv6.

Is there a current roadmap for development/inclusion or is it just in discussion?

Thanks
Steve

#1 lore raw
Quoted 7 lines · Steve (Telsat Broadband)

Hi All,

I've seen a reference that a REDIRECT target for IPv6 is being worked on and I would like to know if/when it might be included into ip6tables? This redirect target forms a very large part of our network access server and is critical for our IPv4 operations and will also be critical for us to start operating with IPv6.

There is already redirect-to-local with -j TPROXY.

#2 lore raw

Hi Jan,

Thanks for the super fast response!

I've been reading through your previous posts where you've suggested to use the TPROXY method, but after hours of attempting to get it operating it still will not 'proxy' the packets through to the end service.

We're using the 'REDIRECT' target only as an end catch-all method for unauthenticated users on our network access server; if the user has access they are forwarded; if not they are redirected to a service listening on any IP on the same server; however each time I've tested with the TPROXY options, the listening service never sees any packets.

TPROXY its self seems a little more complicated than I need for this situation and when I researched the redirect target for v6 I came across this post which seemed to reference a patch for adding in the redirect target to ip6tables:
http://marc.info/?l=netfilter-devel&m=132185516524115&w=2

If this patch isn't to be included; could you perhaps point me in the direction of some detailed reference of how to get TPROXY established in the same fashion as redirect?

Many thanks
Steve.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan Engelhardt
Sent: Tuesday, 29 May 2012 10:21 PM
To: Steve (Telsat Broadband)
Cc: [email protected]
Subject: Re: Redirect target for IPv6 inclusion

Quoted 7 lines · Steve (Telsat Broadband)

Hi All,

I've seen a reference that a REDIRECT target for IPv6 is being worked on and I would like to know if/when it might be included into ip6tables? This redirect target forms a very large part of our network access server and is critical for our IPv4 operations and will also be critical for us to start operating with IPv6.

There is already redirect-to-local with -j TPROXY.

#3 lore raw
In reply to Jan Engelhardt

Hi Jan,

Do you have any documentation reference for using 'redirect-to-local' when applying it in a rule in the mangle table is reports 'unknown option'

ip6tables v1.4.12.1: unknown option "--redirect-to-local" Try `ip6tables -h' or 'ip6tables --help' for more information.

Thanks
Steve.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jan Engelhardt
Sent: Tuesday, 29 May 2012 10:21 PM
To: Steve (Telsat Broadband)
Cc: [email protected]
Subject: Re: Redirect target for IPv6 inclusion

Quoted 7 lines · Steve (Telsat Broadband)

Hi All,

I've seen a reference that a REDIRECT target for IPv6 is being worked on and I would like to know if/when it might be included into ip6tables? This redirect target forms a very large part of our network access server and is critical for our IPv4 operations and will also be critical for us to start operating with IPv6.

There is already redirect-to-local with -j TPROXY.

#4 lore raw
Quoted 6 lines · Steve (Telsat Broadband)
Quoted 6 lines
Quoted 5 lines

I've seen a reference that a REDIRECT target for IPv6 is being worked on and I would like to know if/when it might be included into ip6tables? This redirect target forms a very large part of our network access server and is critical for our IPv4 operations and will also be critical for us to start operating with IPv6.

Quoted 6 lines
Quoted 1 line

There is already redirect-to-local with -j TPROXY.

Do you have any documentation reference for using 'redirect-to-local' when applying it in a rule in the mangle table is reports 'unknown option'

ip6tables v1.4.12.1: unknown option "--redirect-to-local"

I did not say it was a target option. It is in fact a term for a decision of the routing engine. As per ip(8), there is

TYPE := [ unicast | local | broadcast | multicast | throw |
unreachable
| prohibit | blackhole | ...

some implemented, some not.