From 2c0730c96609b875eb02604eb9429c1198186b67 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 30 Sep 2025 19:29:31 +0200 Subject: [PATCH] luci-mod-network: expose IPv6 RA reachability and retransmission timers These timers are configurable for many years and allow control of node timers. Signed-off-by: Paul Donald --- .../resources/view/network/interfaces.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index ddeca78053..9d9f818e4c 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -866,6 +866,24 @@ return view.extend({ so.depends('ra', 'server'); so.depends({ ra: 'hybrid', master: '0' }); + so = ss.taboption('ipv6-ra', form.Value, 'ra_reachabletime', _('RA Reachability Timer'), + _('Units: milliseconds. 0 means unspecified.') + ' ' + + _('Dictates how long a node assumes a neighbor is reachable after a reachability confirmation; published in RA messages.')); + so.optional = true; + so.datatype = 'range(0, 3600000)'; // RFC4861 and odhcpd caps to 3,600,000 msec + so.placeholder = '0'; + so.depends('ra', 'server'); + so.depends({ ra: 'hybrid', master: '0' }); + + so = ss.taboption('ipv6-ra', form.Value, 'ra_retranstime', _('RA Retransmission Timer'), + _('Units: milliseconds. 0 means unspecified.') + ' ' + + _('Controls retransmitted Neighbor Solicitation messages; published in RA messages.')); + so.optional = true; + so.placeholder = '0'; + so.datatype = 'range(0, 60000)'; // odhcpd caps to 60,000 msec + so.depends('ra', 'server'); + so.depends({ ra: 'hybrid', master: '0' }); + so = ss.taboption('ipv6-ra', form.Value, 'ra_lifetime', _('RA Lifetime'), _('Router Lifetime published in RA messages. Maximum is 9000 seconds.')); so.optional = true; so.datatype = 'range(0, 9000)'; -- 2.30.2