aboutsummaryrefslogtreecommitdiffstats
path: root/docs/MAIL-SERVER.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-04 13:44:12 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-04 13:44:12 +0200
commit8288714853952aca6b3511268b9d772f1b7f489f (patch)
treef2a2b82bbf915a8e12853f6f85f3a930a0632d0a /docs/MAIL-SERVER.md
parentd85dbf5c0be71d870cc9b60510a2d43a9efc9f69 (diff)
downloadmeshbay-8288714853952aca6b3511268b9d772f1b7f489f.tar.gz
fix(node): make ice_interfaces match adapters on Windows (W9)
`ice_interfaces` compared the operator's entry against ifaddr's `adapter.name` only -- the kernel name on Linux (`wlp3s0f0`), but the adapter GUID on Windows (`{846EE342-...}`). A setting written on Linux, or copied into a Windows node's node.toml, matched no adapter at all. The failure was silent and total rather than partial: aioice binds one socket per host address, so an empty list means no sockets, no host candidates, and an SDP offering only a reflexive address. The settings field is free text with no picker, and on Windows the operator sees neither the GUID nor the description -- `ipconfig` shows the connection name -- so an entry now matches the adapter name, the device description, or one of the adapter's own IPv4 addresses, case-insensitively. An address is the one identifier visible on every platform. A filter that matches nothing now falls back to the unfiltered list with a warning. Losing the 5 s timeout saving is a regression; being silently unconnectable is a defect. Also fixes IPv4/IPv6 discrimination in the same loop: the two were told apart by falling through to an `elif` that index-probed `ip.ip[0]` and `ip.ip[2]`, which on an IPv4 str yields characters that compared unequal by luck rather than by design. Now discriminated by isinstance. WINDOWS-PORT.md claimed Transport had "no platform dependency"; it does. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtfG7z6wHWj8RKHCvxQtY1
Diffstat (limited to 'docs/MAIL-SERVER.md')
0 files changed, 0 insertions, 0 deletions