netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] The Linux kernel IPv6 stack don't follow the RFC 4942 recommendation
@ 2011-11-04 14:46 François-Xavier Le Bail
  2011-11-04 16:24 ` Eric Dumazet
  0 siblings, 1 reply; 11+ messages in thread
From: François-Xavier Le Bail @ 2011-11-04 14:46 UTC (permalink / raw)
  To: netdev

Hi,

I do some tests on a Linux 3.0 kernel with IPv6 forwarding mode enabled.

When I ping (ICMPv6 echo request) on one of its Subnet-Router anycast addresses
(SRAA, http://tools.ietf.org/html/rfc4291#section-2.6.1),
the Linux kernel reply with an unicast source address, not the anycast one.

When I send an IPv6 UDP packet to a server on Linux on one of its SRAA,
the Linux kernel build a reply with an unicast source address, not the anycast one.

The RFC 4942 states (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.

Also, If the source address of reply differs from destination address of the request, many applications are broken.
Please let me know your feedback.


Thanks,
Francois-Xavier Le Bail

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

end of thread, other threads:[~2011-11-18 10:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 14:46 [RFC] The Linux kernel IPv6 stack don't follow the RFC 4942 recommendation François-Xavier Le Bail
2011-11-04 16:24 ` Eric Dumazet
2011-11-05  8:39   ` François-Xavier Le Bail
2011-11-05  9:20     ` Eric Dumazet
2011-11-18 10:15       ` Bjørn Mork
2011-11-05  9:30     ` Eric Dumazet
2011-11-10 10:58       ` François-Xavier Le Bail
2011-11-10 11:27         ` Eric Dumazet
2011-11-10 12:54           ` François-Xavier Le Bail
2011-11-10 15:23             ` François-Xavier Le Bail
2011-11-10 13:25         ` How to get the port values Naveen B N (nbn)

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).