openwrt/package/network/services
Felix Fietkau 41ec0c16a7 unetmsg: fix reconnect loop when RX authenticates before TX
When both peers connect simultaneously, the RX side can authenticate
before the TX handshake completes. network_check_auth() was sending a
ping on the unauthenticated TX channel, which gets rejected by the
remote's pre-auth handler as "Auth failed", killing the connection and
triggering an endless reconnect cycle.

Check chan.auth before interacting with the TX channel. If TX auth
hasn't completed yet, just schedule a reconnect timer - auth_data_cb
already handles state sync when TX auth completes.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 212040b5ca)
2026-02-16 08:09:16 +00:00
..
bridger bridger: update to Git HEAD (2025-10-23) 2025-12-10 23:29:24 +01:00
dnsmasq treewide: add explicit default variant 2026-01-02 18:11:04 +01:00
dropbear dropbear: bump to 2025.89 (CVE-2025-14282, CVE-2019-6111) 2025-12-17 03:59:24 +00:00
ead ead: Forward LDFLAGS 2025-11-18 23:13:45 +01:00
hostapd treewide: add explicit default variant part 2 2026-01-04 18:42:42 +01:00
ipset-dns treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
lldpd lldpd: bump to 1.0.20 2025-10-19 19:35:44 +02:00
odhcpd odhcpd: update to 25.12 Git HEAD (2026-01-19) 2026-01-26 18:48:44 +01:00
omcproxy omcproxy: update to Git HEAD (2025-10-04) 2025-10-04 13:40:56 +02:00
ppp ppp: update deprecated cpe 2026-01-11 16:48:41 +01:00
relayd relayd: update to Git HEAD (2025-10-04) 2025-10-04 13:38:44 +02:00
uhttpd uhttpd: update to Git HEAD (2025-10-03) 2025-10-03 23:57:30 +02:00
umdns umdns: update to Git HEAD (2025-10-04) 2025-10-04 13:31:37 +02:00
unetd unetd: update to Git HEAD (2025-10-03) 2025-10-03 23:57:23 +02:00
unetmsg unetmsg: fix reconnect loop when RX authenticates before TX 2026-02-16 08:09:16 +00:00
ustp ustp: update to Git HEAD (2023-05-29) 2024-04-27 11:40:04 +02:00