mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #497] 黑名单域名文件在配置--auth-url不生效 #398
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#398
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mjh-jason on GitHub (Sep 3, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/497
Expected Behavior
1.预期是根据黑名单文件内的内容进行拦截
Possible Solution
1.配置了auth-url后,黑名单域名文件不生效
Steps to Reproduce
Context (Environment)
Detailed Description
1.黑名单域名文件不生效,不知道是不是我哪里配错的问题,望指教,谢谢
Possible Implementation
@snail007 commented on GitHub (Sep 3, 2022):
socks5代理协议下,客户端可以决定是否使用代理解析域名,如果客户端先把域名在客户端本地解析成IP,再让代理连接IP,你设置的黑名单里面却写的是域名,这时候根本不能匹配上,也就不能拦截。
@mjh-jason commented on GitHub (Sep 3, 2022):
非常感谢作者的回复。
HTTP代理协议下也不支持是吗?我这边测试了发现HTTP也拦截不了。
有办法限制客户端使用代理IP解析域名吗?
如果域名套了CDN是不是没办法拦截?
@snail007 commented on GitHub (Sep 3, 2022):
是否解析域名后让代理连接ip,是客户端单方面行为,代理软件不能控制。