Commit f9322d2
committed
IPv6: add sendRedirects parameter to suppress ICMPv6 Redirects on ad-hoc links
RFC 4861 Section 8.2 has a router send an ICMPv6 Redirect when it forwards a
packet back out the interface it arrived on. On a wireless multi-hop / ad-hoc
network (e.g. MANET routing over a single shared link) the "better" next hop is
a geographic relay the source cannot reach directly, so the Redirect is useless;
worse, the Redirects are themselves forwarded multi-hop and trigger further
Redirects, causing a storm that congests the medium.
Add a bool sendRedirects parameter to Ipv6 (default true, preserving existing
behavior) and gate the redirect-on-forward block on it, so it can be disabled on
such networks. IPv4 has no redirect-on-forward, so this is IPv6-only.1 parent eaf82cc commit f9322d2
3 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
529 | | - | |
530 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
531 | 534 | | |
532 | 535 | | |
533 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments