Syncthing

Syncthing

Syncthing Logo

Syncthing Web Interface
Original author(s) Jakob Borg
Developer(s) Jakob Borg et al.[1]
Initial release December 15th, 2013
Stable release
0.14.13 / 29 November 2016 (2016-11-29)[2]
Repository github.com/syncthing/syncthing
Development status Active
Written in Go
Operating system Linux, OS X, Windows, Android, BSD, Solaris
Available in English, German, Greek, Spanish, French, Italian, Polish, Portuguese, Russian, Swedish, Norwegian
Type File Synchronization
License MPL 2.0[3]
Website syncthing.net and
github.com/syncthing/syncthing

Syncthing is a free, open-source peer-to-peer file synchronization application available for Windows, Mac, Linux, Android, Solaris, Darwin and BSD.[4] It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety is built into the design of the software.

Technology

Syncthing is written in Go and implements its own, equally free Block Exchange Protocol.[5]

Syncthing is a BYO(Cloud) model where the users provide the hardware the software runs on. It works generally in the same way that Resilio Sync does where the larger the number of mesh devices, the more efficiently data can be transferred. It supports IPv6 and, for those on IPv4 networks, NAT punching and relaying are offered. Devices connecting to each other require explicit approval (unless using the Introducer feature) which increases the security of the mesh. All data, whether transferred directly between devices or via relays, is encrypted using TLS.[6][7]

Conflicts are handled with the older file being renamed with a "sync-conflict" suffix (along with time and date stamp), enabling the user to decide how to manage two or more files of the same name that have been changed between syncing.[8] GUI Wrappers can use these files to present the user with a method of resolving conflicts without having to resort to manual file handling.

Efficient syncing is achieved via compression of metadata or all transfer data,[9] block re-use[10] and lightweight scanning[11] for changed files, once a full hash has been computed and saved. Syncthing offers a "Master Folder" feature[12] where updates from remote devices are not processed, various types of file versioning[13] (trash can, simple or staggered versioning as well as handing versioning to an external program or script) and file/path ignore patterns.[14] Two different SHA256 hashing algorithms are currently supported, the fastest of which will be used dynamically after a brief benchmark on start-up.[15] Moving and renaming of files and folders is handled efficiently, with Syncthing intelligently processing these operations rather than re-downloading data from scratch.[16]

Infrastructure

Device discovery is achieved via publicly-accessible discovery servers hosted by the project developers,[17] local (LAN) discovery via broadcast messages, device history and static host name/addressing. The project also provides the Syncthing Discovery Server[18] program for hosting one's own discovery servers, which can be used alongside, or as a replacement of the public servers.

The network of community-contributed relay servers allows devices that are both behind different IPv4 NAT firewalls to be able to communicate by relaying encrypted data via a third party. The relaying performed is similar in nature to the TURN protocol, with the traffic TLS-encrypted end-to-end between devicess (thus even the relay server cannot see the data, only the encrypted stream). Private relays can also be set up and configured, with or without public relays, if desired. Syncthing will automatically switch from relaying to direct device-to-device connections if it discovers that a direct connection has become available.[19]

Syncthing can be used without any connection to the project or community's servers:[20] upgrades, opt-in usage data, discovery and relaying can all be disabled and/or configured independently, thus the mesh and its infrastructure can all be run in a closed system for privacy or confidentiality.

Configuration and Management

Syncthing can be configured via a web UI locally or remotely (and supports access via proxy server), the REST and Events APIs or one of the community-contributed wrapper programs.[21] Links to Docker images are also provided on the community contributions page, as well as links to supported configuration management solutions such as Puppet, Ansible and others.

Reception

History

Date Version Major Changes
2016.06.19 0.14 “Dysprosium Dragonfly”[23]
  • new, extensible sync protocol (full rehashing of folder contents will happen on first restart)
2016.05.17 0.13 “Copper Cockroach”[24]
  • Serve files while downloading them
  • Unique folder ID separate from label
2015.11.05 0.12 “Beryllium Bedbug”[25]
  • Connection Relaying
  • Device Discovery over HTTPS
2015.04.22 0.11[26]
  • Conflict Handling
  • CPU Usage Improvements
  • Performance Improvements When Syncing Many Small Files or Very Large Ones
  • External Versioning
2014.10.08 0.10[27]
2014.08.01 0.9[28]
2014.04.14 0.8[29]
2014.03.30 0.7[30]
2014.02.23 0.6[31]

The initial public binary release (v0.2) was made on 30 December 2013.[32]

In October 2014 it was announced by the original author that Syncthing was being rebranded as "Pulse".[33] However, on November 17, the developer decided not to change Syncthing to Pulse and is no longer working with ind.ie. Ind.ie's Pulse is now an officially sanctioned fork of Syncthing.[34]

See also

References

  1. "AUTHORS". Retrieved 7 April 2016 via GitHub.
  2. "Releases". Retrieved 2016-11-29 via GitHub.
  3. "LICENSE". Retrieved 7 April 2016 via GitHub.
  4. 1 2 Wallen, Jack (5 January 2016). "Let Syncthing turn your desktop into a local cloud for your mobile device". TechRepublic. CBS Interactive.
  5. "Block Exchange Protocol v1". Retrieved 7 April 2016.
  6. https://docs.syncthing.net/users/security.html
  7. https://docs.syncthing.net/users/relaying.html#security
  8. https://docs.syncthing.net/users/faq.html?highlight=conflict#what-if-there-is-a-conflict
  9. https://docs.syncthing.net/users/faq.html?highlight=compression#why-does-it-use-so-much-cpu
  10. https://docs.syncthing.net/users/syncing.html?highlight=block#blocks
  11. https://docs.syncthing.net/users/syncing.html?highlight=block#scanning
  12. https://docs.syncthing.net/users/foldermaster.html
  13. https://docs.syncthing.net/users/versioning.html
  14. https://docs.syncthing.net/users/ignoring.html
  15. https://github.com/calmh/syncthing/commit/dda6a84cadcb71fe18f8d6693b23554a1711e5b4
  16. https://docs.syncthing.net/users/faq.html#is-synchronization-fast
  17. https://docs.syncthing.net/dev/device-ids.html?highlight=discovery#connection-establishment
  18. https://docs.syncthing.net/users/stdiscosrv.html
  19. https://docs.syncthing.net/users/relaying.html
  20. https://docs.syncthing.net/users/security.html#information-leakage
  21. https://docs.syncthing.net/users/contrib.html#gui-wrappers
  22. "Security Now!". Grc.com. Retrieved 4 November 2014.
  23. "0.14". 19 June 2016.
  24. "0.13". 17 May 2016.
  25. "0.12". 14 April 2016.
  26. "0.11". 14 April 2016.
  27. "0.10". 14 April 2016.
  28. "0.9". 14 April 2016.
  29. "0.8". 14 April 2016.
  30. "0.7". 14 April 2016.
  31. "0.6". 14 April 2016.
  32. "Releases". 30 December 2013 via GitHub.
  33. Borg, Jakob (9 October 2014). "Introducing Pulse, and ind.ie". Retrieved 7 April 2016.
  34. Borg, Jakob (17 November 2014). "Syncthing is still Syncthing". Retrieved 7 April 2016.

External links

This article is issued from Wikipedia - version of the 12/1/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.