macOS
brew install torsockslocal Homebrew formula metadata
sudo port install torsocksMacPorts ports tree · net/torsocks/Portfile · Quelle: api.github.com
brew / Rang 2981
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für torsocks in AI-Agent-Workflows.
Installation
brew install torsockslocal Homebrew formula metadata
sudo port install torsocksMacPorts ports tree · net/torsocks/Portfile · Quelle: api.github.com
sudo apk add torsocksAlpine Linux edge package indexes · torsocks · Quelle: dl-cdn.alpinelinux.org
sudo apt install torsocksDebian stable package indexes · torsocks · Quelle: deb.debian.org
sudo dnf install torsocksFedora Rawhide package metadata · torsocks · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#torsocksnixpkgs package indexes · pkgs/by-name/to/torsocks/package.nix · Quelle: api.github.com
sudo pacman -S torsocksArch Linux sync databases · torsocks · Quelle: geo.mirror.pkgbuild.com
Überblick
Use SOCKS-friendly applications with Tor
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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.confExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
torsocks | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:torsocks |
|---|---|
| Version | 2.5.0 |
| Paketmanager | Homebrew |
| Homepage | https://gitlab.torproject.org/tpo/core/torsocks |
| Zuletzt aktualisiert | 2026-07-14T17:14:18+09:00 |
| Pulse | updated |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 torsocksQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.