openwrt/package/network/ipv6
Rany Hany 80ba5e4e27 6in4: improve HE tunnel update procedure
- uclient-fetch timeout bumped from 5s to 15s. If we do not do this
  we get flagged by HE as the update request is expensive and takes
  more than 5s to execute. Currently 5s timeout causes uclient-fetch
  to be killed prematurely as can be seen by the following log:

  10:34:57 user.notice 6in4-henet: update 1/3: timeout
  10:35:07 user.notice 6in4-henet: update 2/3: timeout
  10:35:17 user.notice 6in4-henet: update 3/3: timeout
  10:35:22 user.notice 6in4-henet: update failed

  The above is the worst case, what usually happens is:

  10:53:59 user.notice 6in4-henet: update 1/3: timeout
  10:54:06 user.notice 6in4-henet: update 2/3: abuse
  10:54:06 user.notice 6in4-henet: updated

- We now use an exponential backoff starting from 5 seconds.

- Detect ca-bundle so we don't use --no-check-certificates
  unnecessarily.

- The while loop was changed so we don't retry unnecessarily
  after the final failure.

- Worst-case total time the update operation might take before
  bailing out is:

     (sum(15 + (5 × (2^(x − 1))), 1, 2) + 15) seconds = 1 min

Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/22016
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 862b46dd8f)
2026-02-15 01:27:13 +01:00
..
6in4 6in4: improve HE tunnel update procedure 2026-02-15 01:27:13 +01:00
6rd package: avoid the use of eval to parse ipcalc.sh output 2023-09-25 15:02:49 +02:00
6to4 package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
464xlat 464xlat: delete SNATed conntracks on interface teardown 2022-06-19 21:54:05 +02:00
ds-lite ds-lite: Add support for IPIP6(RFC2473) tunnel 2024-03-16 13:15:18 +08:00
map treewide: edit local CMakeLists.txt to be compatible with cmake 4.x 2025-11-04 15:14:53 +01:00
odhcp6c odhcp6c: update to 25.12 Git HEAD (2026-01-25) 2026-01-27 08:14:41 +01:00
thc-ipv6 packages: refresh patches 2024-05-31 11:30:06 +02:00