# 使用 Homebrew 安装 ip_relay

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

## 安装

```sh
sudo av install brew:ip_relay
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ip_relay
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:ip_relay
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ip_relay>
- **版本:** 0.71
- **来源摘要:** TCP traffic shaping relay application
- **主页:** <https://stewart.com.au/ip_relay/>
- **上游文档:** <https://stewart.com.au/ip_relay>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://stewart.com.au/ip_relay/ip_relay-0.71.tgz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ip_relay (cli)
- ip_relay (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.71
- 本地数据: OK
- 上游仓库: https://stewart.com.au/ip_relay/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ip_relay is Gavin Stewart's Perl TCP relay for shaping proxied traffic to a chosen bandwidth. It is an early home-user bandwidth-control tool: simple, single-user, and intentionally user-space rather than a router or kernel traffic-control system.

### 项目历史

The project page says ip_relay grew out of Stewart's modem Internet use, where a large download could make interactive activities such as telnet, web browsing, or voice traffic unpleasant. The README dates the documented release line to 2000-01-05 and describes the program as a TCP relay with traffic-shaping behavior.

Version 0.71, announced on 2000-05-27, added daemon mode and a command-line bandwidth option. The changelog attributes the daemon-mode request to Eduardo Augusto Alvarenga and notes command-line bandwidth selection as the other release change.

### 采用历史

The official site preserves only a small release archive, and Homebrew packaging gives the tool most of its package-manager visibility. That makes it a niche package rather than a broadly adopted network daemon.

Its adoption story is strongest as preserved Unix networking craft: a small Perl program kept installable for users who want an inspectable TCP proxy to reproduce old bandwidth conditions or throttle a few streams.

### 使用方式

The common pattern is `ip_relay.pl local_port:remote_host:remote_port`, then optionally setting a total byte-per-second bandwidth cap shared by forwarded streams. The README walks through using it as an SSH or proxy relay and changing the bandwidth interactively while traffic flows.

The FAQ is explicit about the tradeoffs: ip_relay is not authenticated, not secure, not designed for multiple users, and single-threaded. It is best understood as a local testing and personal bandwidth-shaping tool.

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

ip_relay is interesting to package nerds because it captures a pre-broadband style of Unix utility: a short Perl program solving a concrete modem-era problem with almost no infrastructure.

Its Homebrew formula keeps a tiny historical networking tool available without pretending it is a modern traffic-control framework.

### 时间线

- 1999: The README examples identify the program as copyright Gavin Stewart 1999.
- 2000-01-05: README date for the documented ip_relay.pl release line.
- 2000-05-27: Version 0.71 announced with daemon mode and command-line bandwidth selection.
- 2000: Older revision 0.7 and release 0.71 preserved on the project site.
- Homebrew era: The tool was packaged as `ip_relay` for one-command installation.

### Related projects

- Conceptually related tools include SOCKS proxies, local HTTP proxy setups, traffic-shaping routers, and operating-system traffic-control facilities, but ip_relay is much narrower: it forwards selected TCP streams through a user-space Perl process.
- The README also describes using it to simulate modem speeds while testing VNC over faster Ethernet links.

### 来源

- <https://formulae.brew.sh/formula/ip_relay>
- <https://stewart.com.au/ip_relay/>
- <https://stewart.com.au/ip_relay/CHANGELOG>
- <https://stewart.com.au/ip_relay/FAQ>
- <https://stewart.com.au/ip_relay/README>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ip_relay
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [iperf](https://www.automicvault.com/zh-hans/pkg/brew/iperf/) - Shares av.db curated category or tags: bandwidth, cli, networking, tcp.
- [iperf3](https://www.automicvault.com/zh-hans/pkg/brew/iperf3/) - Shares av.db curated category or tags: bandwidth, cli, networking, tcp.
- [proxytunnel](https://www.automicvault.com/zh-hans/pkg/brew/proxytunnel/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.
- [redir](https://www.automicvault.com/zh-hans/pkg/brew/redir/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.
- [rinetd](https://www.automicvault.com/zh-hans/pkg/brew/rinetd/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.
- [speedbump](https://www.automicvault.com/zh-hans/pkg/brew/speedbump/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.
- [stone](https://www.automicvault.com/zh-hans/pkg/brew/stone/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.
- [tproxy](https://www.automicvault.com/zh-hans/pkg/brew/tproxy/) - Shares av.db curated category or tags: cli, networking, proxy, tcp.

## Combined YAML source

View the package source record on GitHub. [combined/ip_relay.yml](https://github.com/automic-vault/db/blob/main/combined/ip_relay.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
