pkg.soopen package index

brew / 排名 11003

使用 Homebrew, apt, dnf, Nix 安装 redir

查看 redir 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install redir

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install redir

Debian stable package indexes · redir · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install redir

Fedora Rawhide package metadata · redir · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#redir

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

概览

软件包摘要

TCP port redirector for UNIX

命令和别名

  • redir

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

来源

  • 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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
redircli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本3.3
管理器更新时间2026-09-13
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/troglobit/redir

安装元数据

软件包元数据

软件包键brew:redir
版本3.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/redir
主页https://github.com/troglobit/redir
仓库https://github.com/troglobit/redir
许可证GPL-2.0-or-later
源码归档https://github.com/troglobit/redir/releases/download/v3.3/redir-3.3.tar.xz
最后更新2026-09-13T07:51:49Z
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

redir 3.3-1

Redirect TCP connections

https://github.com/troglobit/redir

sudo apt install redir
  • Section: net
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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