From 0f303ce633ceff5812db44199ca806232ea70914 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 3 Nov 2026 05:14:38 +0100 Subject: Fix: Source, header and config file disagreed about which mcast group to join. --- opentracker.conf.sample | 6 ++++-- src/ot_livesync.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/opentracker.conf.sample b/opentracker.conf.sample index 491c88a..3cd30dc 100644 --- a/opentracker.conf.sample +++ b/opentracker.conf.sample @@ -138,9 +138,11 @@ # livesync.cluster.listen 192.168.0.1:9696 # # Note that two udp sockets will be opened. One on ip address 0.0.0.0 -# port 9696, that will join the multicast group 224.0.42.23 for incoming +# port 9696, that will join the multicast group 224.0.23.5 for incoming # udp packets and one on ip address 192.168.0.1 port 9696 for outgoing -# udp packets. +# udp packets. The group is the same for every opentracker, so a cluster +# is kept to itself by the node_ip list below and by the ttl of 1 that +# keeps packets on the local link. # # As of now one and only one ip address must be given, if opentracker # was built with the WANT_SYNC_LIVE feature. diff --git a/src/ot_livesync.h b/src/ot_livesync.h index 4bd3af0..d8d20b3 100644 --- a/src/ot_livesync.h +++ b/src/ot_livesync.h @@ -7,7 +7,8 @@ #include "trackerlogic.h" /* - Syncing is done as udp packets in the multicast domain 224.0.42.5 port 9696 + Syncing is done as udp packets in the multicast group 224.0.23.5, on the + port livesync.cluster.listen names, 9696 by default Each tracker should join the multicast group and send its live sync packets to that group, using a ttl of 1 -- cgit v1.3