Anonymous File Sharing with OnionShare 2.0
OnionShare Settings
In most cases, no further configuration is required. In certain scenarios, however, you can check out the settings below the gear icon (Figure 4). For example, to run a permanently active OnionShare server, you need to enable Public mode and Use persistent address.
Public mode disables a measure that is actually fairly well established as a security function (see the "Slug Protection" box). The second option tells OnionShare to always use the same address. This setting affects privacy but does let you make a share or upload option accessible via OnionShare for a longer period of time. Setting both options is therefore recommended if you are setting up an upload server.
Slug Protection
In theory, an attacker could get to an OnionShare by simply trying out Onion addresses. The slug adds another hurdle. If the attacker tries to guess the attachment, OnionShare locks the door completely after a few unsuccessful attempts. However, attackers could use this as a DoS attack and kick OnionShare servers off the network in a targeted manner. To prevent this, the function can be completely deactivated via Public mode if required.
But if you want to provide data as a user, and only for a short time – or only for one person – the Use auto-stop timer and Stop sharing after files have been sent options can help. If you activate the timer, OnionShare will display a dialog when starting the service stating Stop the share at; you can now set a time at which OnionShare will automatically remove the share from the network. Alternatively, the program disables sharing as soon as a user has downloaded the files.
Conclusions
OnionShare is a practical tool even if you are not seeking protection from persecution as a whistle-blower. Without accounts, without commercial cloud services, and without any additional router configuration, you can easily exchange data with other network participants. Your own IP address remains hidden, as do the IP addresses of your contacts. The Tor client included in OnionShare and the Tor Browser with its privacy optimizations ensure that even inexperienced users will receive protection.
Infos
- Tor Project: https://www.torproject.org
- Tor Browser: https://www.torproject.org/download/
- OnionShare: https://onionshare.org
- Criticism of Tor: https://https://en.wikipedia.org/wiki/Tor_(anonymity_network)#Weaknesses
- Tails: https://tails.boum.org
- Tor Onion Service Protocol: https://2019.www.torproject.org/docs/onion-services.html.en
- OnionShare building instructions: https://github.com/micahflee/onionshare/blob/master/BUILD.md#gnulinux
- Orbot for Android: https://play.google.com/store/apps/details?id=org.torproject.android&hl=de
- Changes in OnionShare 2: https://github.com/micahflee/onionshare/releases/tag/v2.0
« Previous 1 2
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 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
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.