The sys admin's daily grind – Pulse
Here and There
Equal treatment, as sys admin Charly so boldly proposes, should be the norm. What he really wants is a free tool to sync user data across multiple computers.
In the past, I have covered various approaches to keeping files synchronized across two or more computers. BitTorrent Sync [1] does a great job here, but it's not open source. Pulse [2] is a GPLv3 tool knocking on the door of all data duplicators. It is a Syncthing [3] fork and very popular despite its beta status.
The Pulse software is available on Linux and on OpenBSD, NetBSD, OS X, Windows, and Android. The Linux clients include versions for ARMv5, v6, and v7, which means that Pulse also runs on the Raspberry Pi and its close relatives. Communication between the computers is secured by TLS encryption with Perfect Forward Secrecy [4].
When first launched, Pulse generates keys and certificates, creates the ~/sync
directory, and launches a web server on port 8080, which then handles the remaining configuration steps. The web interface looks pretty neat and well designed, which you wouldn't necessarily expect of a beta version (see Figure 1).
In Settings | Show ID, it shows you a 46-digit string representing the SHA-256 hash of the certificate. The string, which the GUI also thankfully displays as a QR code, identifies the network node. Just like BitTorrent Sync, Pulse uses a peer-to-peer protocol and does without a dedicated master.
Looking for a Partner
By exchanging hash values between the participating computers, the peers on the LAN soon start talking. This process is particularly useful on networks in which the computers are assigned a different IP address on each boot by the DHCP server. Synchronization on the web is also possible – given a matching (D)DNS and router configuration. The nodes contact a global announce server to discover the current names or IP addresses of their peers. Of course, the server doesn't get to see any transferred data.
Pulse will version stored files on request. It either keeps a specified number of versions (five being the default), or it will version in stages and store the data in increasingly longer intervals until the defined maximum age is reached.
BitTorrent Sync uses an elegant inotify mechanism to keep track of the modified data in the directory to be synced. In contrast to this, Pulse simply scans the directory cyclically – every 60 seconds by default. I really do hope that inotify support is available in the next generation Pulse; if so, it's off to the happy hunting grounds for BitTorrent Sync on my networks.
Infos
- BitTorrent Sync: http://www.getsync.com
- Pulse: https://source.ind.ie/project/pulse-swift
- Syncthing: http://syncthing.net
- Perfect Forward Secrecy: http://www.perfectforwardsecrecy.com/
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.