summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-03 05:14:38 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-03 05:14:38 +0100
commit0f303ce633ceff5812db44199ca806232ea70914 (patch)
treecb6c17d3a94d198803d3b505459d15c7c9beed42
parentd501bbc97aeb87e6e4aa50bb2fa10a157d5909e9 (diff)
Fix: Source, header and config file disagreed about which mcast group to join.
-rw-r--r--opentracker.conf.sample6
-rw-r--r--src/ot_livesync.h3
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 @@
138# livesync.cluster.listen 192.168.0.1:9696 138# livesync.cluster.listen 192.168.0.1:9696
139# 139#
140# Note that two udp sockets will be opened. One on ip address 0.0.0.0 140# Note that two udp sockets will be opened. One on ip address 0.0.0.0
141# port 9696, that will join the multicast group 224.0.42.23 for incoming 141# port 9696, that will join the multicast group 224.0.23.5 for incoming
142# udp packets and one on ip address 192.168.0.1 port 9696 for outgoing 142# udp packets and one on ip address 192.168.0.1 port 9696 for outgoing
143# udp packets. 143# udp packets. The group is the same for every opentracker, so a cluster
144# is kept to itself by the node_ip list below and by the ttl of 1 that
145# keeps packets on the local link.
144# 146#
145# As of now one and only one ip address must be given, if opentracker 147# As of now one and only one ip address must be given, if opentracker
146# was built with the WANT_SYNC_LIVE feature. 148# 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 @@
7#include "trackerlogic.h" 7#include "trackerlogic.h"
8 8
9/* 9/*
10 Syncing is done as udp packets in the multicast domain 224.0.42.5 port 9696 10 Syncing is done as udp packets in the multicast group 224.0.23.5, on the
11 port livesync.cluster.listen names, 9696 by default
11 12
12 Each tracker should join the multicast group and send its live sync packets 13 Each tracker should join the multicast group and send its live sync packets
13 to that group, using a ttl of 1 14 to that group, using a ttl of 1