Xpra: Ticket #2317: python-zeroconf fixes - addresses
Wed, 31 Jul 2019 06:39:25 GMT - Antoine Martin:
First some zeroconf fixes:
- r23370 race condition introduced by r23347
- r23371 support updating txt records (#2187)
- r23372 python-zeroconf doesn't like spaces in the service name
- r23375 preparatory refactoring
Thu, 01 Aug 2019 11:27:37 GMT - Antoine Martin: status changed
- status
changed from new to assigned
- r23376 initial support for multi-address mode
- r23377 listen on all interfaces enumerated
- r23379 can disable multi-address mode with
XPRA_ZEROCONF_MULTI=0
- r23380 IPv6 bug
- r23381 + r23382 refactoring
- r23383 always add
.local.
- r23384 server bug: only remove duplicate interfaces for the same port
- r23385 ssh-port 0 bug on ms windows, preserve TXT record order
- r23386 auto-rename service name if we listen on more than one port for the same protocol (ie: ssh), keep track of all services (doh - non-multi mode), deal with race conditions during
update_txt
(just log a warning)
What doesn't work is per-interface handling, as per how-do-i-use-it: Discovery and service registration use all available network interfaces by default. If you want to customize that you need to specify interfaces argument when constructing Zeroconf object (see the code for details).
Thu, 01 Aug 2019 13:28:15 GMT - Antoine Martin: status, summary changed; resolution set
- status
changed from assigned to closed
- resolution
set to fixed
- summary
changed from python-zeroconf 0.23 can handle multiple addresses to python-zeroconf fixes - addresses
This ticket's summary was python-zeroconf 0.23 can handle multiple addresses when in fact that was not what we were really after. Changed.
And finally:
- r23389 ensure addresses are correct by instantiating a different Zeroconf instance for each address
- r23390 restores the IPv6 code, but it remains disabled by default zince Zeroconf will error out when given an IPv6 address...
- r23391 + r23392 + r23393: makes the code more resilient when hitting those errors
- r23394 deal with multiple ports (ie: ssh)
Sat, 23 Jan 2021 05:48:04 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2317