# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 cntlm

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

## 安装

```sh
sudo av install brew:cntlm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cntlm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cntlm
```

  证据: MacPorts ports tree: net/cntlm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cntlm
```

  证据: Alpine Linux edge package indexes: cntlm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cntlm
```

  证据: Debian stable package indexes: cntlm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cntlm
```

  证据: Fedora Rawhide package metadata: cntlm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cntlm
```

  证据: nixpkgs package indexes: pkgs/by-name/cn/cntlm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install cntlm
```

  证据: openSUSE Tumbleweed package metadata: cntlm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cntlm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cntlm>
- **版本:** 0.92.3
- **来源摘要:** NTLM authentication proxy with tunneling
- **主页:** <https://cntlm.sourceforge.net/>
- **仓库:** <https://sourceforge.net/p/cntlm/code>
- **上游文档:** <https://cntlm.sourceforge.net/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://downloads.sourceforge.net/project/cntlm/cntlm/cntlm%200.92.3/cntlm-0.92.3.tar.bz2>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cntlm (cli)
- cntlm (别名)

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: Edit $HOMEBREW_PREFIX/etc/cntlm.conf to configure Cntlm
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

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

Cntlm is a small C NTLM/NTLM Session Response/NTLMv2 authenticating HTTP proxy with TCP/IP tunneling, built to let applications that lack NTLM support work behind corporate Microsoft-style proxy infrastructure.

### 项目历史

The official SourceForge site presents Cntlm as a cross-platform proxy written in plain C with no external dependencies, connection caching, tunneling, SOCKS5 mode, and support for parent proxy failover. The project's public news shows active 0.35-era work in 2007, a larger 0.91 rewrite/testing cycle in 2010, and 0.92.x Windows and packaging fixes in 2011-2012.

### 采用历史

Cntlm was adopted by Unix users working behind NTLM-authenticated corporate proxies, especially when command-line package managers, browsers, version-control clients, or build tools could use a normal local HTTP proxy but could not authenticate to NTLM directly. This batch input records packages in Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and openSUSE.

### 使用方式

Users configure usernames, domains, parent proxies, and password hashes in cntlm.conf or cntlm.ini, then point applications at the local Cntlm listener. The official site emphasizes authenticated connection reuse, multiple parent proxies, TCP/IP port forwarding, SOCKS5 proxy mode, and running on Unix and Windows.

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

Cntlm is significant as a pragmatic corporate-network survival package: small, old, and often invisible, but essential when bootstrap tools such as package managers, Git/SVN, language installers, or build systems need ordinary HTTP proxy access through an NTLM-only network.

### 时间线

- 2007: Version 0.35 brought FreeBSD support, Debian packaging visibility, and built-in SOCKS5 proxy support.
- 2010: 0.91 release candidates tested a major rewrite with standalone proxy behavior, WWW authentication support, Windows installer work, and packaging targets.
- 2011: Version 0.92 appeared with bug fixes and feature work after the 0.35.1 stable era.
- 2012: 0.92.3 and updated manual/WebSVN notes were published while 0.93 testing was requested.

### Related projects

- NTLMAPS is the older Python NTLM proxy that Cntlm documentation compares itself against.
- Squid, Tinyproxy, WinGate, NetCache, and Microsoft ISA Server appear in Cntlm's own compatibility and proxy discussion.

### 来源

- <https://cntlm.sourceforge.net/>
- <https://cntlm.sourceforge.net/svn.html>
- <https://cntlm.sourceforge.net/cntlm_manual.pdf>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

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.


## Configuration files

- Unix: /etc/cntlm.conf, /usr/local/etc/cntlm.conf
- Windows: %PROGRAMFILES%\Cntlm\cntlm.ini

## Credential files

- Unix: /etc/cntlm.conf, /usr/local/etc/cntlm.conf
- Windows: %PROGRAMFILES%\Cntlm\cntlm.ini
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cntlm
- **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

## 其他软件包管理器记录

- Debian apt - cntlm - 0.92.3-1.3: normalized package name match | Debian stable package indexes: cntlm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast NTLM authentication proxy with tunneling | http://cntlm.sourceforge.net/
- Nix - cntlm: normalized package name match | nixpkgs package indexes: pkgs/by-name/cn/cntlm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cntlm - 0.92.3-1.3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cntlm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast NTLM authentication proxy with tunneling | http://cntlm.sourceforge.net/
- apk - cntlm - 0.92.3-r5: normalized package name match | Alpine Linux edge package indexes: cntlm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | NTLM Session Response / NTLMv2 authenticating HTTP proxy | https://cntlm.sourceforge.net/
- apk - cntlm-doc - 0.92.3-r5: normalized package name match | Alpine Linux edge package indexes: cntlm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | NTLM Session Response / NTLMv2 authenticating HTTP proxy (documentation) | https://cntlm.sourceforge.net/
- apk - cntlm-openrc - 0.92.3-r5: normalized package name match | Alpine Linux edge package indexes: cntlm-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | NTLM Session Response / NTLMv2 authenticating HTTP proxy (OpenRC init scripts) | https://cntlm.sourceforge.net/
- dnf - cntlm - 0.92.3-34.fc44: normalized package name match | Fedora Rawhide package metadata: cntlm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast NTLM authentication proxy with tunneling | http://cntlm.sourceforge.net/
- zypper - cntlm - 0.92.3-13.6: normalized package name match | openSUSE Tumbleweed package metadata: cntlm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fast NTLM authentication proxy with tunneling | http://cntlm.sourceforge.net/
- MacPorts - cntlm: normalized package name match | MacPorts ports tree: net/cntlm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [connect](https://www.automicvault.com/zh-hans/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [gotun](https://www.automicvault.com/zh-hans/pkg/brew/gotun/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [pwnat](https://www.automicvault.com/zh-hans/pkg/brew/pwnat/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [sshuttle](https://www.automicvault.com/zh-hans/pkg/brew/sshuttle/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [trojan-go](https://www.automicvault.com/zh-hans/pkg/brew/trojan-go/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [tun2proxy](https://www.automicvault.com/zh-hans/pkg/brew/tun2proxy/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [v2ray](https://www.automicvault.com/zh-hans/pkg/brew/v2ray/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [brook](https://www.automicvault.com/zh-hans/pkg/brew/brook/) - Shares av.db curated category or tags: cli, networking, proxy.
- [bitchx](https://www.automicvault.com/zh-hans/pkg/brew/bitchx/) - Local package facts share a topical domain. Shared terms: cli, networking.
- [bittwist](https://www.automicvault.com/zh-hans/pkg/brew/bittwist/) - Local package facts share a topical domain. Shared terms: cli, networking.
- [brag](https://www.automicvault.com/zh-hans/pkg/brew/brag/) - Local package facts share a topical domain. Shared terms: cli, networking.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
