4 ms·
Again, not an expert on Syncthing, but I'm pretty sure that Avahi/Bonjour do pretty much exactly what Syncthing's local discovery protocols do. edit: here's a
by txcwpalpha 7y ago
Again, not an expert on Syncthing, but I'm pretty sure that Avahi/Bonjour do pretty much exactly what Syncthing's local discovery protocols do.
edit: here's a discussion on GitHub about adding avahi support: https://github.com/syncthing/syncthing/issues/5460 https://github.com/syncthing/syncthing/issues/5460
It seems they've dismissed it as unnecessary:
>Avahi as far as I understand is essentially the same as Bonjour/mDNS/dns-sd. Regardless, bonjour is just multicast unicast bla bla thingy, same like we do with local discovery, the only difference is that bonjour/mDNS/dns-sd etc has support in the routers to forward the service announcements to other subnets, which they won't do for syncthings local discovery.
But that thread does have some other information if you want to continue trying to use avahi/bonjour
edit again just to be clear: there's a difference between local and global discovery. Global Discovery is the "discovery server" you're referring to. Local Discovery is simply your device sending an announce packet on your local network with your device ID, so that other Syncthing device's on the same network can see it. Local Discovery does not run a "discovery server". I'm not sure exactly what your requirements are, but I would think that just using local discovery would be what you're looking for, or at least worth looking more into.
- em-bee 7y agoyes, local discovery without needing a server is exactly what i am looking for. thank you! i mentioned avahi/bonjour mainly as a point of comparison for something like it. i don't care about the implementation details as long as it works :-)