macOS
brew install toxiproxylocal Homebrew formula metadata
sudo port install toxiproxyMacPorts ports tree · net/toxiproxy/Portfile · 来源: api.github.com
安装
brew install toxiproxylocal Homebrew formula metadata
sudo port install toxiproxyMacPorts ports tree · net/toxiproxy/Portfile · 来源: api.github.com
sudo dnf install toxiproxyFedora Rawhide package metadata · toxiproxy · 来源: dl.fedoraproject.org
nix profile install nixpkgs#toxiproxynixpkgs package indexes · pkgs/by-name/to/toxiproxy/package.nix · 来源: api.github.com
概览
TCP proxy to simulate network & system conditions for chaos & resiliency testing
历史
Toxiproxy is Shopify's TCP proxy for simulating network conditions in tests, CI, and development. It lets applications route connections through a local proxy and then apply deterministic or randomized failures such as latency, bandwidth limits, timeouts, packet loss, resets, and disabled links.
Shopify created Toxiproxy during its 2014 resiliency work, when the infrastructure team needed automated ways to test behavior under slow or unavailable dependencies before the holiday traffic season. The official README says Shopify had been using it in all development and test environments since October 2014.
The first public GitHub release, v1.0.0, was published in January 2015 as 'Public Release'. The project later moved through a 2.x line with a Go TCP proxy server, HTTP API, command-line client, metrics documentation, and multiple client libraries.
Toxiproxy spread because it packaged a distributed-systems testing trick into a repeatable developer tool. Instead of requiring root-only Linux networking tools such as tc or iptables, developers could install a user-space proxy, declare upstream services, and manipulate faults from tests through HTTP or client libraries.
The official README lists clients for Ruby, Go, Python, .NET, PHP, Node.js, Java, Haskell, Rust, and Elixir. Homebrew, MacPorts, Nix, and Fedora packaging in the source facts show it being distributed as a standalone CLI/server tool rather than just as a Ruby testing helper.
A typical test setup starts `toxiproxy-server`, populates proxy definitions for dependencies such as Redis or MySQL, points the application at the proxy listen ports, and uses a client or `toxiproxy-cli` to apply toxics around a test case.
The README's Rails example demonstrates taking down Redis or adding latency to MySQL to verify fallback behavior. The same model applies to any TCP dependency, which is why Toxiproxy fits CI and local development better than manually editing host networking rules.
For package nerds, Toxiproxy is a high-signal example of infrastructure testing becoming a simple package install. It turns failure injection into `brew install toxiproxy`, a server process, and a CLI/API surface that can be scripted from test suites.
It also helped normalize resilience testing in ordinary application repositories: package maintainers and application developers could add fault-injection checks without privileged networking setup or specialized chaos-testing platforms.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
config/toxiproxy.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
toxiproxy-cli | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
toxiproxy-server | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:toxiproxy |
|---|---|
| 版本 | 2.12.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/shopify/toxiproxy |
| 仓库 | https://github.com/Shopify/toxiproxy |
| 最后更新 | 2026-07-26T00:51:26+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
toxiproxy
nix profile install nixpkgs#toxiproxytoxiproxy 2.1.4-23.fc44
TCP proxy to simulate network and system conditions for resiliency testing
https://github.com/Shopify/toxiproxy
sudo dnf install toxiproxytoxiproxy
sudo port install toxiproxy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.