openwrt/package
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
..
base-files OpenWrt v25.12.0-rc4: revert to branch defaults 2026-01-29 23:52:16 +01:00
boot mediatek: add support for netis NX32U 2026-02-14 01:21:24 +01:00
devel kselftests-bpf: drop dependency on kernel 6.6 2025-11-27 12:47:16 +01:00
firmware qoriq: add support for NXP T4240RDB board 2026-02-14 01:15:12 +01:00
kernel airoha: an7581: enable USB support 2026-02-07 17:03:16 +01:00
libs libpcap: update to 1.10.6 2026-01-29 10:47:14 +01:00
network 6in4: improve HE tunnel update procedure 2026-02-15 01:27:13 +01:00
system apk: handle edge case when parsing .apk files 2026-02-13 00:12:35 +01:00
utils packages: nvram: add set_bcm43602_variables quirk for ASUS RT-AC3200 2026-01-23 16:06:24 +00:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:18:30 +01:00