pkg.soopen package index

brew / rank 11003

Install redir with Homebrew, apt, dnf, Nix

TCP port redirector for UNIX. Version 3.3 via Homebrew; verified 2026-09-13. Also installable with debian: sudo apt install redir.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install redir

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install redir

Debian stable package indexes · redir · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install redir

Fedora Rawhide package metadata · redir · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#redir

nixpkgs package indexes · pkgs/by-name/re/redir/package.nix · source: api.github.com

overview

Package summary

TCP port redirector for UNIX

Commands and aliases

  • redir

history

Project history and usage

redir is a small Unix TCP port redirector that accepts connections on a source address and port and relays their byte streams to a destination. It can run from inetd, as a standalone daemon, or in the foreground under a service manager.

Project history

redir was originally created by Nigel Metheringham and Sam Creasey as a lightweight, 8-bit-clean TCP port redirector for Unix. It could operate under inetd or as a standalone daemon handling multiple connections.

Maintenance later moved to Joachim Wiberg under the troglobit organization on GitHub. The maintained code uses GNU Autotools and preserves optional support for traffic shaping, FTP redirection, Linux transparent proxy mode, TCP wrappers, and a subset of the older interface.

Version 3.0 changed the command-line syntax. The build-time --enable-compat option retains a limited subset of version 2 options for older deployments.

Adoption history

redir has been packaged across Homebrew, Debian, Ubuntu, Fedora-family repositories, and Nix according to the supplied metadata. That breadth reflects its role as a small, conventional Unix networking utility.

The current project retains inetd integration while also supporting standalone daemon and foreground operation, allowing it to fit both traditional Unix service management and modern process supervisors.

How it is used

The modern syntax specifies source and destination endpoints, for example redir :80 127.0.0.1:8080. Options control binding, foreground or inetd mode, logging, timeouts, FTP handling, transparent proxying, and traffic shaping.

No application-specific configuration or credential file is required; persistent service definitions belong to the chosen supervisor, such as inetd.conf or a systemd unit.

Why package nerds care

redir is representative of the compact Unix networking tools that package collections preserve for decades: one executable, a manual page, conventional Autotools support, and compatibility with inetd-era service composition. It remains useful when a complete proxy suite would be unnecessary.

Its version 3 command-line transition is especially relevant to maintainers because compatibility with part of the version 2 syntax must be enabled at build time.

Timeline

  • Original era: Nigel Metheringham and Sam Creasey created redir as a lightweight Unix TCP redirector.
  • Later maintenance: Joachim Wiberg assumed maintenance in the troglobit GitHub repository.
  • Version 3.0: The command-line interface changed, with limited version 2 compatibility available as a build option.
  • Current packaging: Available in Homebrew, Debian, Ubuntu, Fedora-family, and Nix ecosystems according to the supplied input.

Related projects

  • uredir, linked by the official README, provides UDP port redirection.
  • inetd and xinetd can supervise redir and add access control through TCP wrappers; modern deployments can instead run it in the foreground under systemd or another process monitor.

Sources

  • Official manual page: https://github.com/troglobit/redir/blob/master/redir.1
  • Official repository and README: https://github.com/troglobit/redir
  • Package availability: source_facts.package-manager

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
redircliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version3.3
manager updated2026-09-13
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/troglobit/redir

install metadata

Package metadata

Package keybrew:redir
Version3.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/redir
Homepagehttps://github.com/troglobit/redir
Repositoryhttps://github.com/troglobit/redir
LicenseGPL-2.0-or-later
Source archivehttps://github.com/troglobit/redir/releases/download/v3.3/redir-3.3.tar.xz
Last updated2026-09-13T07:51:49Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameredir
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

redir 3.3-1

Redirect TCP connections

https://github.com/troglobit/redir

sudo apt install redir
  • Section: net
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Redir
Debian stable package indexes · deb.debian.org · Debian stable package indexes: redir from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

redir

nix profile install nixpkgs#redir
  • normalized package name match
  • Matched by: Redir
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/re/redir/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

redir 3.3-1

Redirect TCP connections

https://github.com/troglobit/redir

sudo apt install redir
  • Section: universe/net
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Redir
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: redir from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

redir 3.3-15.fc45

A TCP port redirector for UNIX

https://github.com/troglobit/redir

sudo dnf install redir
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: redir
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Redir
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: redir from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation