* [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
@ 2014-01-07 13:57 Francois-Xavier Le Bail
2014-01-07 19:14 ` Hannes Frederic Sowa
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Francois-Xavier Le Bail @ 2014-01-07 13:57 UTC (permalink / raw)
To: netdev
Cc: Hannes Frederic Sowa, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki Yoshifuji, Patrick McHardy,
Francois-Xavier Le Bail
This change allows to follow a recommandation of RFC4942.
- Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
as source addresses for ICMPv6 echo reply. This sysctl is false by default
to preserve existing behavior.
- Add inline check ipv6_anycast_destination().
- Use them in icmpv6_echo_reply().
Reference:
RFC4942 - IPv6 Transition/Coexistence Security Considerations
(http://tools.ietf.org/html/rfc4942#section-2.1.6)
2.1.6. Anycast Traffic Identification and Security
[...]
To avoid exposing knowledge about the internal structure of the
network, it is recommended that anycast servers now take advantage of
the ability to return responses with the anycast address as the
source address if possible.
Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
---
v4: update Subject and Documentation, this work also with anycast addresses
created via API, not just with Subnet-Router anycast addresses.
v5: alternative way, replace ipv6_chk_acast_addr() test by
ipv6_anycast_destination() test.
Documentation/networking/ip-sysctl.txt | 7 +++++++
include/net/ip6_route.h | 7 +++++++
include/net/netns/ipv6.h | 1 +
net/ipv6/icmp.c | 4 +++-
net/ipv6/sysctl_net_ipv6.c | 8 ++++++++
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index d71afa8..7373115 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -1094,6 +1094,13 @@ bindv6only - BOOLEAN
Default: FALSE (as specified in RFC3493)
+anycast_src_echo_reply - BOOLEAN
+ Controls the use of anycast addresses as source addresses for ICMPv6
+ echo reply
+ TRUE: enabled
+ FALSE: disabled
+ Default: FALSE
+
IPv6 Fragmentation:
ip6frag_high_thresh - INTEGER
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 1fb6cdd..017badb 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -152,6 +152,13 @@ static inline bool ipv6_unicast_destination(const struct sk_buff *skb)
return rt->rt6i_flags & RTF_LOCAL;
}
+static inline bool ipv6_anycast_destination(const struct sk_buff *skb)
+{
+ struct rt6_info *rt = (struct rt6_info *) skb_dst(skb);
+
+ return rt->rt6i_flags & RTF_ANYCAST;
+}
+
int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));
static inline int ip6_skb_dst_mtu(struct sk_buff *skb)
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index 0fb2401..76fc7d1 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -73,6 +73,7 @@ struct netns_ipv6 {
#endif
atomic_t dev_addr_genid;
atomic_t rt_genid;
+ int anycast_src_echo_reply;
};
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index 5d42009..9a809a4 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -556,7 +556,9 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
saddr = &ipv6_hdr(skb)->daddr;
- if (!ipv6_unicast_destination(skb))
+ if (!ipv6_unicast_destination(skb) &&
+ !(net->ipv6.anycast_src_echo_reply &&
+ ipv6_anycast_destination(skb)))
saddr = NULL;
memcpy(&tmp_hdr, icmph, sizeof(tmp_hdr));
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 107b2f1..6b6a2c8 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -24,6 +24,13 @@ static struct ctl_table ipv6_table_template[] = {
.mode = 0644,
.proc_handler = proc_dointvec
},
+ {
+ .procname = "anycast_src_echo_reply",
+ .data = &init_net.ipv6.anycast_src_echo_reply,
+ .maxlen = sizeof(int),
+ .mode = 0644,
+ .proc_handler = proc_dointvec
+ },
{ }
};
@@ -51,6 +58,7 @@ static int __net_init ipv6_sysctl_net_init(struct net *net)
if (!ipv6_table)
goto out;
ipv6_table[0].data = &net->ipv6.sysctl.bindv6only;
+ ipv6_table[1].data = &net->ipv6.anycast_src_echo_reply;
ipv6_route_table = ipv6_route_sysctl_init(net);
if (!ipv6_route_table)
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 13:57 [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply Francois-Xavier Le Bail
@ 2014-01-07 19:14 ` Hannes Frederic Sowa
2014-01-08 8:06 ` François-Xavier Le Bail
2014-01-07 20:51 ` Hannes Frederic Sowa
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-07 19:14 UTC (permalink / raw)
To: Francois-Xavier Le Bail
Cc: netdev, David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki Yoshifuji, Patrick McHardy
On Tue, Jan 07, 2014 at 02:57:27PM +0100, Francois-Xavier Le Bail wrote:
> This change allows to follow a recommandation of RFC4942.
>
> - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> as source addresses for ICMPv6 echo reply. This sysctl is false by default
> to preserve existing behavior.
> - Add inline check ipv6_anycast_destination().
> - Use them in icmpv6_echo_reply().
>
> Reference:
> RFC4942 - IPv6 Transition/Coexistence Security Considerations
> (http://tools.ietf.org/html/rfc4942#section-2.1.6)
>
> 2.1.6. Anycast Traffic Identification and Security
>
> [...]
> To avoid exposing knowledge about the internal structure of the
> network, it is recommended that anycast servers now take advantage of
> the ability to return responses with the anycast address as the
> source address if possible.
>
> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Works and best solution IMHO.
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Thanks,
Hannes
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 13:57 [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply Francois-Xavier Le Bail
2014-01-07 19:14 ` Hannes Frederic Sowa
@ 2014-01-07 20:51 ` Hannes Frederic Sowa
2014-01-08 8:17 ` François-Xavier Le Bail
2014-01-07 20:52 ` David Miller
2014-01-07 22:55 ` Bill Fink
3 siblings, 1 reply; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-07 20:51 UTC (permalink / raw)
To: Francois-Xavier Le Bail
Cc: netdev, David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki Yoshifuji, Patrick McHardy
On Tue, Jan 07, 2014 at 02:57:27PM +0100, Francois-Xavier Le Bail wrote:
> --- a/include/net/netns/ipv6.h
> +++ b/include/net/netns/ipv6.h
> @@ -73,6 +73,7 @@ struct netns_ipv6 {
> #endif
> atomic_t dev_addr_genid;
> atomic_t rt_genid;
> + int anycast_src_echo_reply;
> };
>
Sorry, I missed that on first review and you could also do that as a
follow-up:
Could you move anycast_src_echo_reply to netns_sysctl_ipv6?
Thanks,
Hannes
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 13:57 [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply Francois-Xavier Le Bail
2014-01-07 19:14 ` Hannes Frederic Sowa
2014-01-07 20:51 ` Hannes Frederic Sowa
@ 2014-01-07 20:52 ` David Miller
2014-01-07 22:55 ` Bill Fink
3 siblings, 0 replies; 13+ messages in thread
From: David Miller @ 2014-01-07 20:52 UTC (permalink / raw)
To: fx.lebail; +Cc: netdev, hannes, kuznet, jmorris, yoshfuji, kaber
From: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Date: Tue, 7 Jan 2014 14:57:27 +0100
> This change allows to follow a recommandation of RFC4942.
>
> - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> as source addresses for ICMPv6 echo reply. This sysctl is false by default
> to preserve existing behavior.
> - Add inline check ipv6_anycast_destination().
> - Use them in icmpv6_echo_reply().
>
> Reference:
> RFC4942 - IPv6 Transition/Coexistence Security Considerations
> (http://tools.ietf.org/html/rfc4942#section-2.1.6)
>
> 2.1.6. Anycast Traffic Identification and Security
>
> [...]
> To avoid exposing knowledge about the internal structure of the
> network, it is recommended that anycast servers now take advantage of
> the ability to return responses with the anycast address as the
> source address if possible.
>
> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Looks good, applied, thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 13:57 [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply Francois-Xavier Le Bail
` (2 preceding siblings ...)
2014-01-07 20:52 ` David Miller
@ 2014-01-07 22:55 ` Bill Fink
2014-01-07 23:01 ` Hannes Frederic Sowa
2014-01-07 23:33 ` David Miller
3 siblings, 2 replies; 13+ messages in thread
From: Bill Fink @ 2014-01-07 22:55 UTC (permalink / raw)
To: Francois-Xavier Le Bail
Cc: netdev, Hannes Frederic Sowa, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki Yoshifuji, Patrick McHardy
On Tue, 7 Jan 2014, Francois-Xavier Le Bail wrote:
> This change allows to follow a recommandation of RFC4942.
>
> - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> as source addresses for ICMPv6 echo reply. This sysctl is false by default
> to preserve existing behavior.
> - Add inline check ipv6_anycast_destination().
> - Use them in icmpv6_echo_reply().
>
> Reference:
> RFC4942 - IPv6 Transition/Coexistence Security Considerations
> (http://tools.ietf.org/html/rfc4942#section-2.1.6)
>
> 2.1.6. Anycast Traffic Identification and Security
>
> [...]
> To avoid exposing knowledge about the internal structure of the
> network, it is recommended that anycast servers now take advantage of
> the ability to return responses with the anycast address as the
> source address if possible.
>
> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
> ---
> v4: update Subject and Documentation, this work also with anycast addresses
> created via API, not just with Subnet-Router anycast addresses.
>
> v5: alternative way, replace ipv6_chk_acast_addr() test by
> ipv6_anycast_destination() test.
Why is ICMPV6 Echo Reply special? Can't the internal structure
of the network be divined from other ICMPv6 responses such as
Destination Unreachable, Time Exceeded (Hop Limit), and Parameter
Problem.
-Bill
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 22:55 ` Bill Fink
@ 2014-01-07 23:01 ` Hannes Frederic Sowa
2014-01-07 23:17 ` Hannes Frederic Sowa
2014-01-07 23:33 ` David Miller
1 sibling, 1 reply; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-07 23:01 UTC (permalink / raw)
To: Bill Fink
Cc: Francois-Xavier Le Bail, netdev, David S. Miller,
Alexey Kuznetsov, James Morris, Hideaki Yoshifuji,
Patrick McHardy
On Tue, Jan 07, 2014 at 05:55:07PM -0500, Bill Fink wrote:
> On Tue, 7 Jan 2014, Francois-Xavier Le Bail wrote:
>
> > This change allows to follow a recommandation of RFC4942.
> >
> > - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> > as source addresses for ICMPv6 echo reply. This sysctl is false by default
> > to preserve existing behavior.
> > - Add inline check ipv6_anycast_destination().
> > - Use them in icmpv6_echo_reply().
> >
> > Reference:
> > RFC4942 - IPv6 Transition/Coexistence Security Considerations
> > (http://tools.ietf.org/html/rfc4942#section-2.1.6)
> >
> > 2.1.6. Anycast Traffic Identification and Security
> >
> > [...]
> > To avoid exposing knowledge about the internal structure of the
> > network, it is recommended that anycast servers now take advantage of
> > the ability to return responses with the anycast address as the
> > source address if possible.
> >
> > Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
> > ---
> > v4: update Subject and Documentation, this work also with anycast addresses
> > created via API, not just with Subnet-Router anycast addresses.
> >
> > v5: alternative way, replace ipv6_chk_acast_addr() test by
> > ipv6_anycast_destination() test.
>
> Why is ICMPV6 Echo Reply special? Can't the internal structure
> of the network be divined from other ICMPv6 responses such as
> Destination Unreachable, Time Exceeded (Hop Limit), and Parameter
> Problem.
No, here destination must match the source address so that the other side
handles accordingly when the icmp error is pushed up to the socket layer.
Greetings,
Hannes
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 23:01 ` Hannes Frederic Sowa
@ 2014-01-07 23:17 ` Hannes Frederic Sowa
2014-01-08 9:56 ` François-Xavier Le Bail
0 siblings, 1 reply; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-07 23:17 UTC (permalink / raw)
To: Bill Fink, Francois-Xavier Le Bail, netdev, David S. Miller,
Alexey Kuznetsov, James Morris, Hideaki Yoshifuji,
Patrick McHardy
On Wed, Jan 08, 2014 at 12:01:34AM +0100, Hannes Frederic Sowa wrote:
> On Tue, Jan 07, 2014 at 05:55:07PM -0500, Bill Fink wrote:
> > On Tue, 7 Jan 2014, Francois-Xavier Le Bail wrote:
> >
> > > This change allows to follow a recommandation of RFC4942.
> > >
> > > - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> > > as source addresses for ICMPv6 echo reply. This sysctl is false by default
> > > to preserve existing behavior.
> > > - Add inline check ipv6_anycast_destination().
> > > - Use them in icmpv6_echo_reply().
> > >
> > > Reference:
> > > RFC4942 - IPv6 Transition/Coexistence Security Considerations
> > > (http://tools.ietf.org/html/rfc4942#section-2.1.6)
> > >
> > > 2.1.6. Anycast Traffic Identification and Security
> > >
> > > [...]
> > > To avoid exposing knowledge about the internal structure of the
> > > network, it is recommended that anycast servers now take advantage of
> > > the ability to return responses with the anycast address as the
> > > source address if possible.
> > >
> > > Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
> > > ---
> > > v4: update Subject and Documentation, this work also with anycast addresses
> > > created via API, not just with Subnet-Router anycast addresses.
> > >
> > > v5: alternative way, replace ipv6_chk_acast_addr() test by
> > > ipv6_anycast_destination() test.
> >
> > Why is ICMPV6 Echo Reply special? Can't the internal structure
> > of the network be divined from other ICMPv6 responses such as
> > Destination Unreachable, Time Exceeded (Hop Limit), and Parameter
> > Problem.
>
> No, here destination must match the source address so that the other side
> handles accordingly when the icmp error is pushed up to the socket layer.
I forgot to mention, rest of kernel followes the old RFC advise to never
use anycast addresses as source addresses.
I guess this will be weakend with upcoming patches so in future this
depends on socket settings and other tweaks. If that's the case default will
be to also respond with anycast source if original destination was anycast.
Greetings,
Hannes
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 22:55 ` Bill Fink
2014-01-07 23:01 ` Hannes Frederic Sowa
@ 2014-01-07 23:33 ` David Miller
2014-01-07 23:39 ` Hannes Frederic Sowa
1 sibling, 1 reply; 13+ messages in thread
From: David Miller @ 2014-01-07 23:33 UTC (permalink / raw)
To: billfink; +Cc: fx.lebail, netdev, hannes, kuznet, jmorris, yoshfuji, kaber
From: Bill Fink <billfink@mindspring.com>
Date: Tue, 7 Jan 2014 17:55:07 -0500
> Why is ICMPV6 Echo Reply special? Can't the internal structure
> of the network be divined from other ICMPv6 responses such as
> Destination Unreachable, Time Exceeded (Hop Limit), and Parameter
> Problem.
Right, this RFC is talking about source address selection in general,
so this anycast handling should be in a generic place too.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 23:33 ` David Miller
@ 2014-01-07 23:39 ` Hannes Frederic Sowa
0 siblings, 0 replies; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-07 23:39 UTC (permalink / raw)
To: David Miller
Cc: billfink, fx.lebail, netdev, kuznet, jmorris, yoshfuji, kaber
On Tue, Jan 07, 2014 at 06:33:05PM -0500, David Miller wrote:
> From: Bill Fink <billfink@mindspring.com>
> Date: Tue, 7 Jan 2014 17:55:07 -0500
>
> > Why is ICMPV6 Echo Reply special? Can't the internal structure
> > of the network be divined from other ICMPv6 responses such as
> > Destination Unreachable, Time Exceeded (Hop Limit), and Parameter
> > Problem.
>
> Right, this RFC is talking about source address selection in general,
> so this anycast handling should be in a generic place too.
I think it would be reasonable to change future behavior to always
send back icmp errors with the anycast address (same as original packet
destination). Ping is a bit special as it is used for service discovery.
UDP sockets can use their source address at will. So I still think this change
is reasonable.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 19:14 ` Hannes Frederic Sowa
@ 2014-01-08 8:06 ` François-Xavier Le Bail
0 siblings, 0 replies; 13+ messages in thread
From: François-Xavier Le Bail @ 2014-01-08 8:06 UTC (permalink / raw)
To: Hannes Frederic Sowa
Cc: netdev, David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki Yoshifuji, Patrick McHardy
On Tue, 1/7/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> On Tue, Jan 07, 2014 at 02:57:27PM +0100, Francois-Xavier Le Bail wrote:
> > This change allows to follow a recommandation of RFC4942.
> >
> > - Add "anycast_src_echo_reply" sysctl to control the use of anycast addresses
> > as source addresses for ICMPv6 echo reply. This sysctl is false by default
> > to preserve existing behavior.
> > - Add inline check ipv6_anycast_destination().
> > - Use them in icmpv6_echo_reply().
> Works and best solution IMHO.
Yes. Thank you for testing.
BR
François-Xavier
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 20:51 ` Hannes Frederic Sowa
@ 2014-01-08 8:17 ` François-Xavier Le Bail
2014-01-08 8:22 ` Hannes Frederic Sowa
0 siblings, 1 reply; 13+ messages in thread
From: François-Xavier Le Bail @ 2014-01-08 8:17 UTC (permalink / raw)
To: Hannes Frederic Sowa
Cc: netdev, David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki Yoshifuji, Patrick McHardy
On Tue, 1/7/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> On Tue, Jan 07, 2014 at 02:57:27PM +0100, Francois-Xavier Le Bail wrote:
> > --- a/include/net/netns/ipv6.h
> > +++ b/include/net/netns/ipv6.h
> > @@ -73,6 +73,7 @@ struct netns_ipv6 {
> > #endif
> > atomic_t dev_addr_genid;
> > atomic_t rt_genid;
> > + int anycast_src_echo_reply;
> > };
> Sorry, I missed that on first review and you could also do that as a
> follow-up:
> Could you move anycast_src_echo_reply to netns_sysctl_ipv6?
I can do that, but please explain what this change is needed.
BR
François-Xavier
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-08 8:17 ` François-Xavier Le Bail
@ 2014-01-08 8:22 ` Hannes Frederic Sowa
0 siblings, 0 replies; 13+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-08 8:22 UTC (permalink / raw)
To: François-Xavier Le Bail
Cc: netdev, David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki Yoshifuji, Patrick McHardy
On Wed, Jan 08, 2014 at 12:17:46AM -0800, François-Xavier Le Bail wrote:
> On Tue, 1/7/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
>
> > On Tue, Jan 07, 2014 at 02:57:27PM +0100, Francois-Xavier Le Bail wrote:
> > > --- a/include/net/netns/ipv6.h
> > > +++ b/include/net/netns/ipv6.h
> > > @@ -73,6 +73,7 @@ struct netns_ipv6 {
> > > #endif
> > > atomic_t dev_addr_genid;
> > > atomic_t rt_genid;
> > > + int anycast_src_echo_reply;
> > > };
>
> > Sorry, I missed that on first review and you could also do that as a
> > follow-up:
>
> > Could you move anycast_src_echo_reply to netns_sysctl_ipv6?
>
> I can do that, but please explain what this change is needed.
I think it is just a matter of style so that the ipv6 knobs are kept
together.
Greetings,
Hannes
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply
2014-01-07 23:17 ` Hannes Frederic Sowa
@ 2014-01-08 9:56 ` François-Xavier Le Bail
0 siblings, 0 replies; 13+ messages in thread
From: François-Xavier Le Bail @ 2014-01-08 9:56 UTC (permalink / raw)
To: Bill Fink, netdev, David S. Miller, Alexey Kuznetsov,
James Morris, Hideaki Yoshifuji, Patrick McHardy,
Hannes Frederic Sowa
On Tue, 1/7/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
> I forgot to mention, rest of kernel followes the old RFC
> advise to never
> use anycast addresses as source addresses.
> I guess this will be weakend with upcoming patches so in
> future this
> depends on socket settings and other tweaks. If that's the
> case default will
> be to also respond with anycast source if original
> destination was anycast.
The next patch will address the datagrams case.
BR
Francois-Xavier
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-01-08 9:59 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07 13:57 [PATCH net-next v5] IPv6: add the option to use anycast addresses as source addresses in echo reply Francois-Xavier Le Bail
2014-01-07 19:14 ` Hannes Frederic Sowa
2014-01-08 8:06 ` François-Xavier Le Bail
2014-01-07 20:51 ` Hannes Frederic Sowa
2014-01-08 8:17 ` François-Xavier Le Bail
2014-01-08 8:22 ` Hannes Frederic Sowa
2014-01-07 20:52 ` David Miller
2014-01-07 22:55 ` Bill Fink
2014-01-07 23:01 ` Hannes Frederic Sowa
2014-01-07 23:17 ` Hannes Frederic Sowa
2014-01-08 9:56 ` François-Xavier Le Bail
2014-01-07 23:33 ` David Miller
2014-01-07 23:39 ` Hannes Frederic Sowa
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).