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
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.