惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
B
Blog
The Register - Security
The Register - Security
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
F
Full Disclosure
The GitHub Blog
The GitHub Blog
Recorded Future
Recorded Future
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
美团技术团队
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
D
DataBreaches.Net
Martin Fowler
Martin Fowler
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
The Cloudflare Blog
博客园 - 【当耐特】
U
Unit 42
月光博客
月光博客
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
博客园 - 聂微东
I
InfoQ
B
Blog RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
Cyberwarzone
Cyberwarzone
V
V2EX
S
Securelist
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Security @ Cisco Blogs
PCI Perspectives
PCI Perspectives
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Heimdal Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Hacker News
The Hacker News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tor Project blog

Squid

萌新入坑求指教 - V2EX squid 正向代理问题 - V2EX Squid 配置了 cache_peer ,为啥不生效? - V2EX squid 只能访问 https 的网站, http 无法访问。 - V2EX V2EX Squid 如何国内外分流 - V2EX squid 配置 Basic auth 始终失败,百思不得其解 - V2EX 哪位做过 squid 本地缓存 - V2EX Squid的配置中,cache_peer使用ssl通信究竟如何配置? - V2EX
(Squid) is not configured to allow SSL tunnel to port 80 - V2EX
yazoox · 2021-09-27 · via Squid

因为一个组件需要访问 dropbox 的 API,所以,临时搭一个 proxy,借用美国同事的机器。

我用的这个 docker image,
docker run --name squid -d -p 8010:3128 Datadog/squid

在 chrome 里面,设置了 switchy omega 到该机器的地址端口,能够正常工作,打开油管啥的, etc.

如果我用 proxifier, protocol 设置 http 模式,check 都通过,但是设置成 https,就会报错。


[43:29] Testing Started.
	Proxy Server
	Address:	10.35.35.87:8010
	Protocol:	HTTPS
	Authentication: NO

[43:29] Starting: Test 1: Connection to the Proxy Server
[43:29] IP Address: 10.35.35.87
[43:29] Connection established
[43:29] Test passed.
[43:29] Starting: Test 2: Connection through the Proxy Server
	Error: the proxy server (Squid) is not configured to allow SSL tunnel to port 80.
	To fix the problem please find and comment the following line in the Squid
	configuration file (squid.conf):
		http_access deny CONNECT !SSL_ports
	The proxy server reply header is:
		HTTP/1.1 403 Forbidden
		Server: squid/3.5.12
		Mime-Version: 1.0
		Date: Mon, 27 Sep 2021 09:43:32 GMT
		Content-Type: text/html;charset=utf-8
		Content-Length: 3441
		X-Squid-Error: ERR_ACCESS_DENIED 0
		Vary: Accept-Language
		Content-Language: en
		X-Cache: MISS from cf3b7970725b
		X-Cache-Lookup: NONE from cf3b7970725b:3128
		Via: 1.1 cf3b7970725b (squid/3.5.12)
		Connection: keep-alive
[43:29] Test failed.
[43:29] Testing Finished.

提示我把这句配置注释掉
"http_access deny CONNECT !SSL_ports"

于是 ,我去 https://gist.github.com/sritchie/1357652 下载了一个样本,把“头”那部分删除掉了。 然后把这句给#注释掉了。

但是貌似没有啥用。不知道是不是这个.conf 太老了,或者有太多不需要的配置了,还是说,要走 https 的 protocol,得配置相关的 cert,等等?

不知道有没有 squid 专家,指点一下

谢谢!