macOS
brew install torsockslocal Homebrew formula metadata
sudo port install torsocksMacPorts ports tree · net/torsocks/Portfile · Source: api.github.com
brew / rang 2981
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de torsocks pour les workflows d'agents IA.
installation
brew install torsockslocal Homebrew formula metadata
sudo port install torsocksMacPorts ports tree · net/torsocks/Portfile · Source: api.github.com
sudo apk add torsocksAlpine Linux edge package indexes · torsocks · Source: dl-cdn.alpinelinux.org
sudo apt install torsocksDebian stable package indexes · torsocks · Source: deb.debian.org
sudo dnf install torsocksFedora Rawhide package metadata · torsocks · Source: dl.fedoraproject.org
nix profile install nixpkgs#torsocksnixpkgs package indexes · pkgs/by-name/to/torsocks/package.nix · Source: api.github.com
sudo pacman -S torsocksArch Linux sync databases · torsocks · Source: geo.mirror.pkgbuild.com
aperçu
Use SOCKS-friendly applications with Tor
historique
torsocks is a Tor Project command-line wrapper and preload library that routes many ordinary network applications through Tor. The official README says it handles DNS safely and rejects traffic other than TCP; the Tor support glossary gives the same user-facing explanation.
torsocks exists to solve a practical gap around the tor daemon: many applications speak TCP but do not know how to use Tor's SOCKS proxy safely. torsocks wraps an application with LD_PRELOAD and overrides libc networking calls such as connect and gethostbyname so the application's traffic is forced through Tor when the mechanism is applicable.
The Tor Project blog announced torsocks 1.2 in October 2011 as a Linux, BSD, and Mac OS X application for using network applications such as ssh and irssi with Tor. That release focused on adding a test suite, cleaning source code, simplifying the build, compiling on more BSD versions, and adding leak-prevention defenses.
By August 2014, Tor Weekly News said torsocks 2.0 was considered stable after more than a year of effort, describing it as a wrapper program that forces an application's network connections through Tor. Later Tor Project writing about oniux in 2025 used torsocks as the established comparison point and explained its libc-overriding approach and leak limitations.
torsocks became a standard companion package for command-line Tor users because it lets existing tools like ssh, irssi, curl-like clients, and other dynamically linked libc applications attempt network access through Tor without those applications adding native SOCKS support.
The input package facts show torsocks packaged across Homebrew, Debian/Ubuntu via libtorsocks, Fedora/dnf, Arch/pacman, Nix, MacPorts, apk, and zypper. That breadth reflects its role as a small Unix privacy utility commonly installed beside tor.
The README's basic usage is torsocks [application], with torsocks ssh username@host as an example. It also documents direct LD_PRELOAD usage with libtorsocks.so, and warns that applications using raw syscalls or bypassing libc cannot be protected by this mechanism.
The wrapper reads /etc/tor/torsocks.conf or a TORSOCKS_CONF_FILE override, and otherwise uses sensible defaults for common Tor installations. Package nerds use it for quick torification of terminal tools, circuit isolation experiments, and privacy-aware testing where a full network namespace or VM would be heavier.
torsocks is a classic package-nerd tool because it is small, composable, and sharp-edged: it gives ordinary commands a Tor routing context, but its README clearly states the LD_PRELOAD ceiling. That makes it useful and also educational for understanding where user-space wrappers stop and stronger isolation begins.
Its continued relevance is visible in Tor Project's 2025 oniux announcement, which presents oniux as a newer alternative for Linux isolation while using torsocks as the familiar baseline.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/tor/torsocks.confexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
torsocks | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:torsocks |
|---|---|
| Version | 2.5.0 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://gitlab.torproject.org/tpo/core/torsocks |
| Dernière mise à jour | 2026-07-14T17:14:18+09:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libtorsocks 2.5.0-1+deb13u1
use SOCKS-friendly applications with Tor (library)
https://gitweb.torproject.org/torsocks.git
sudo apt install libtorsockstorsocks 2.5.0-1+deb13u1
use SOCKS-friendly applications with Tor
https://gitweb.torproject.org/torsocks.git
sudo apt install torsockstorsocks
nix profile install nixpkgs#torsockstorsocks 2.4.0-1
use SOCKS-friendly applications with Tor
https://gitweb.torproject.org/torsocks.git
sudo apt install torsockstorsocks 2.5.0-r0
Wrapper to safely torify applications
https://gitlab.torproject.org/tpo/core/torsocks
sudo apk add torsockstorsocks-doc 2.5.0-r0
Wrapper to safely torify applications (documentation)
https://gitlab.torproject.org/tpo/core/torsocks
sudo apk add torsocks-doctorsocks 2.4.0-12.fc45
Use SOCKS-friendly applications with Tor
https://gitweb.torproject.org/torsocks.git
sudo dnf install torsockstorsocks 2.5.0-1
Wrapper to safely torify applications
https://gitlab.torproject.org/tpo/core/torsocks
sudo pacman -S torsockstorsocks
sudo port install torsockspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.