aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorOctavian Purdila <opurdila@ixiacom.com>2009-10-02 07:39:15 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-07 04:10:45 -0400
commitf7734fdf61ec6bb848e0bafc1fb8bad2c124bb50 (patch)
treed2e5ab4c87f54982e3fd2898d37b2a5f8624c444 /Documentation
parent51953d5bc43e468f24cc573a45cde1d32af129b8 (diff)
make TLLAO option for NA packets configurable
On Friday 02 October 2009 20:53:51 you wrote: > This is good although I would have shortened the name. Ah, I knew I forgot something :) Here is v4. tavi >From 24d96d825b9fa832b22878cc6c990d5711968734 Mon Sep 17 00:00:00 2001 From: Octavian Purdila <opurdila@ixiacom.com> Date: Fri, 2 Oct 2009 00:51:15 +0300 Subject: [PATCH] ipv6: new sysctl for sending TLLAO with unicast NAs Neighbor advertisements responding to unicast neighbor solicitations did not include the target link-layer address option. This patch adds a new sysctl option (disabled by default) which controls whether this option should be sent even with unicast NAs. The need for this arose because certain routers expect the TLLAO in some situations even as a response to unicast NS packets. Moreover, RFC 2461 recommends sending this to avoid a race condition (section 4.4, Target link-layer address) Signed-off-by: Cosmin Ratiu <cratiu@ixiacom.com> Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/ip-sysctl.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index fbe427a6580c..a0e134dd2523 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -1086,6 +1086,24 @@ accept_dad - INTEGER
1086 2: Enable DAD, and disable IPv6 operation if MAC-based duplicate 1086 2: Enable DAD, and disable IPv6 operation if MAC-based duplicate
1087 link-local address has been found. 1087 link-local address has been found.
1088 1088
1089force_tllao - BOOLEAN
1090 Enable sending the target link-layer address option even when
1091 responding to a unicast neighbor solicitation.
1092 Default: FALSE
1093
1094 Quoting from RFC 2461, section 4.4, Target link-layer address:
1095
1096 "The option MUST be included for multicast solicitations in order to
1097 avoid infinite Neighbor Solicitation "recursion" when the peer node
1098 does not have a cache entry to return a Neighbor Advertisements
1099 message. When responding to unicast solicitations, the option can be
1100 omitted since the sender of the solicitation has the correct link-
1101 layer address; otherwise it would not have be able to send the unicast
1102 solicitation in the first place. However, including the link-layer
1103 address in this case adds little overhead and eliminates a potential
1104 race condition where the sender deletes the cached link-layer address
1105 prior to receiving a response to a previous solicitation."
1106
1089icmp/*: 1107icmp/*:
1090ratelimit - INTEGER 1108ratelimit - INTEGER
1091 Limit the maximal rates for sending ICMPv6 packets. 1109 Limit the maximal rates for sending ICMPv6 packets.