首页/网络/常用端口速查/9051 Tor ControlPort 控制口
本包目录(1171 条)
0-99 系统端口81 条100-199 系统端口99 条200-299 系统端口54 条300-399 系统端口74 条400-499 系统端口100 条500-599 系统端口99 条600-699 系统端口99 条700-1023 系统端口92 条1024-1999 注册端口47 条2000-2999 注册端口60 条3000-3999 注册端口39 条4000-4999 注册端口23 条5000-5999 注册端口47 条6000-6999 注册端口33 条7000-7999 注册端口23 条8000-8999 注册端口65 条
9000-9999 注册端口47 条
10000-19999 注册端口49 条20000-49151 注册端口23 条49152-65535 动态端口17 条

9051 Tor ControlPort 控制口

Tor 守护进程的控制端口:torrc 中 ControlPort 9051(默认关闭),用于切换链路、查询状态,必须配认证。

常用端口速查网络更新于 2026-10-12
服务Tor ControlPort(9051;SOCKS 9050)
协议TCP(控制协议)
用途自动化控制 Tor、NEWNYM 换链路
安全等级仅本机,禁止对外

控制口用 CookieAuthentication 或密码认证;无认证的 9051 可被接管:查询使用痕迹、强制换链路。

配置示例(torrc)

配置示例(torrc)
ControlPort 9051
CookieAuthentication 1
# 交互: printf 'AUTHENTICATE
GETINFO version
QUIT
' | nc 127.0.0.1 9051

易错点

  • 为了脚本方便关掉 CookieAuthentication:本机任意进程可接管 Tor 全部行为

数据来源与参考

  • Tor Project 文档(ControlPort 9051)

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌