macOS
brew install redirlocal Homebrew formula metadata
安装
brew install redirlocal Homebrew formula metadata
sudo dnf install redirFedora Rawhide package metadata · redir · 来源: dl.fedoraproject.org
nix profile install nixpkgs#redirnixpkgs package indexes · pkgs/by-name/re/redir/package.nix · 来源: api.github.com
概览
TCP port redirector for UNIX
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
redir | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | redir |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
redir 3.3-1
Redirect TCP connections
https://github.com/troglobit/redir
sudo apt install redirredir
nix profile install nixpkgs#redirredir 3.3-1
Redirect TCP connections
https://github.com/troglobit/redir
sudo apt install redirredir 3.3-15.fc45
A TCP port redirector for UNIX
https://github.com/troglobit/redir
sudo dnf install redir来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.