macOS
brew install haproxylocal Homebrew formula metadata
sudo port install haproxyMacPorts ports tree · net/haproxy/Portfile · 来源: api.github.com
安装
brew install haproxylocal Homebrew formula metadata
sudo port install haproxyMacPorts ports tree · net/haproxy/Portfile · 来源: api.github.com
sudo apk add haproxyAlpine Linux edge package indexes · haproxy · 来源: dl-cdn.alpinelinux.org
sudo apt install haproxyDebian stable package indexes · haproxy · 来源: deb.debian.org
sudo dnf install haproxyFedora Rawhide package metadata · haproxy · 来源: dl.fedoraproject.org
nix profile install nixpkgs#haproxynixpkgs package indexes · pkgs/by-name/ha/haproxy/package.nix · 来源: api.github.com
sudo pacman -S haproxyArch Linux sync databases · haproxy · 来源: geo.mirror.pkgbuild.com
sudo zypper install haproxyopenSUSE Tumbleweed package metadata · haproxy · 来源: download.opensuse.org
概览
Reliable, high performance TCP/HTTP load balancer
历史
HAProxy is a long-running open source TCP and HTTP reverse proxy and load balancer. Its project identity is unusually tied to operations culture: it is a small, fast daemon, configured with plain text, used for health checks, traffic steering, failover, TLS termination, observability, and controlled reloads in Unix-like production environments.
For package users, HAProxy matters because it sits at the point where upstream release branches, distribution packaging, TLS libraries, init systems, and operational safety meet. The Homebrew package represents the general HAProxy command-line daemon rather than a language library or desktop application.
The HAProxy history page traces the project back to Zprox, a tool used in 1999 to test how applications behaved with many slow modem clients. In 2000 Zprox gained header rewriting and a minimal configuration language with concepts such as listeners and servers; in 2001 HAProxy 1.0 appeared as a tool for offloading traffic from hardware load balancers.
The public branch table on haproxy.org places HAProxy 1.0 on 2001-12-16, followed by 1.1 in 2002, 1.2 in 2003, and 1.3 in 2006. The early releases established the durable shape of the program: a single-purpose network daemon, a configuration file centered on frontends/backends/listeners/servers, health checking, cookie persistence, logging, and incremental protocol support.
HAProxy evolved by adding operational features without changing its basic package identity. HAProxy 1.5 brought SSL and compression into the community branch, 1.8 introduced multithreading and HTTP/2-era plumbing, 2.0 added cloud-native-adjacent features such as the Kubernetes Ingress Controller, Data Plane API, and Prometheus exporter, and 2.8 added production-oriented QUIC work along with reliability, observability, and usability improvements.
HAProxy became a standard choice for high-traffic HTTP and TCP load balancing because it combined low overhead, predictable behavior, and admin-friendly configuration. The project homepage emphasizes high availability, reliability, performance, and security, and the package appears across many Unix package managers in the supplied input facts.
Its adoption also reflects a packaging pattern: operations teams often need distro or package-manager builds for repeatable deployment, while also caring about exact upstream branch support, OpenSSL or alternate TLS linkage, systemd integration, and whether a branch receives only critical fixes or broader maintenance.
Typical use is as a front-line or internal load balancer: accepting HTTP or raw TCP connections, selecting backends, checking server health, adding forwarded headers, terminating TLS, exposing stats, and allowing controlled reloads or runtime changes.
For Homebrew users, the package provides the `haproxy` executable for local development, test rigs, laptop-hosted reverse proxying, and small deployments. Production Unix installations commonly pair the daemon with a service manager and a configuration file such as `haproxy.cfg`, but the batch input has no official config path to preserve.
HAProxy is package-nerd material because it is both tiny in surface area and heavy in operational consequences. A package revision can change TLS behavior, threading defaults, QUIC support, Lua support, compression, service files, or hardening flags.
The project's parallel branch model makes version selection meaningful. A formula named `haproxy` follows the general package role, while versioned formulae such as `haproxy@2.8` exist to keep a particular upstream branch available for operators who need that branch's ABI, behavior, or support window.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
haproxy | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:haproxy |
|---|---|
| 版本 | 3.4.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/haproxy |
| 主页 | https://www.haproxy.org/ |
| 仓库 | https://git.haproxy.org/?p=haproxy.git |
| 上游文档 | https://docs.haproxy.org/ |
| 许可证 | GPL-2.0-or-later WITH openvpn-openssl-exception |
| 源码归档 | https://www.haproxy.org/download/3.4/src/haproxy-3.4.2.tar.gz |
| 最后更新 | 2026-07-03T10:39:29Z |
| Pulse | updated |
| 依赖 | openssl@3, pcre2 |
| macOS 提供的库 | libxcrypt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | haproxy |
| Aliases |
|
| 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 软件包链接分开显示。
haproxy 3.0.11-1+deb13u2
fast and reliable load balancing reverse proxy
sudo apt install haproxyhaproxy-doc 3.0.11-1+deb13u2
fast and reliable load balancing reverse proxy (HTML documentation)
sudo apt install haproxy-docvim-haproxy 3.0.11-1+deb13u2
syntax highlighting for HAProxy configuration files
sudo apt install vim-haproxyhaproxy
nix profile install nixpkgs#haproxyhaproxy 2.8.5-1ubuntu3
fast and reliable load balancing reverse proxy
sudo apt install haproxyhaproxy-doc 2.8.5-1ubuntu3
fast and reliable load balancing reverse proxy (HTML documentation)
sudo apt install haproxy-docvim-haproxy 2.8.5-1ubuntu3
syntax highlighting for HAProxy configuration files
sudo apt install vim-haproxyhaproxy 3.4.0-r0
A TCP/HTTP reverse proxy for high availability environments
sudo apk add haproxyhaproxy-doc 3.4.0-r0
A TCP/HTTP reverse proxy for high availability environments (documentation)
sudo apk add haproxy-dochaproxy-openrc 3.4.0-r0
A TCP/HTTP reverse proxy for high availability environments (OpenRC init scripts)
sudo apk add haproxy-openrchaproxy 3.4.0-1.fc45
Reliable, high-performance TCP/HTTP load-balancing reverse proxy
sudo dnf install haproxyhaproxy 3.4.0-2
Reliable, high performance TCP/HTTP load balancer
sudo pacman -S haproxyhaproxy 3.4.0+git0.64a335366-1.1
The Reliable, High Performance TCP/HTTP Load Balancer
sudo zypper install haproxyhaproxy
sudo port install haproxy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.