mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 20:45:59 +03:00
[GH-ISSUE #84] CDN mode not working: transport TLS in correct format but not Cloak: cipher: message authentication failed #74
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#74
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 @NuLL3rr0r on GitHub (Dec 25, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/84
As it can be seen the domain fronting works with curl:
But when I try it with Cloak, the Cloak log says:
And the client says:
Of course, if I set it to direct instead of CDN it works.
My Shadowsocks config:
My cloak ckclient.json:
My ckserver.json on Azure VPS:
Any ideas?
@NuLL3rr0r commented on GitHub (Dec 25, 2019):
More debugging information with curl:
@cbruegg commented on GitHub (May 17, 2021):
I believe the problem is that Azure CDN maps HTTP to HTTP and HTTPS to HTTPS, i.e. when you access http://yourcdn.azureedge.net, it forwards to http://yourorigin.azureedge.net and when you access https://yourcdn.azureedge.net, it forwards to https://yourorigin.azureedge.net. With the former, Azure CDN doesn't expect a TLS connection, so it doesn't work. With the latter, Azure tries to establish a real TLS connection to the origin, which also cannot result in a working tunnel.
This actually even affects non-fronted setups. I haven't been able to set up the normal CDN mode of Cloak with Azure either.