moved
[Accesser.git] / CDN.md
blob4193a9418c3e15a4ccc9575c3212955b58f7d52a
1 # Notes for CDNs
3 ## Akamai
5 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
7 ## Amazon CloudFront
10 It does not support TLS handshake without SNI
12 You must specific correct SNI in `config.json`
14 ### Example:
16 For `www.wsj.com` 
17 Run
19 $ `nali-dig @208.67.222.222 -p 5353 -t CNAME www.wsj.com +short`
21 ```
22 dlp0y1mxy0v3u.cloudfront.net. [AWS CloudFront]
23 ```
25 Or run (If MS Windows)
27 \> `nali-nslookup -q=cname -port=5353 www.wsj.com 208.67.222.222`
29 ```
30 Server:         208.67.222.222 [美国 加利福尼亚州旧金山 市 OpenDNS 有限公司公众 DNS 服务器]
31 Address:        208.67.222.222 [美国 加利福尼亚州旧金山 市 OpenDNS 有限公司公众 DNS 服务器]#5353
33 Non-authoritative answer:
34 www.wsj.com     canonical name = dlp0y1mxy0v3u.cloudfront.net. [AWS CloudFront]
36 Authoritative answers can be found from:
37 ```
39 Add below in `config.json`'s `alert_hostname` field
41 ```
42 "www.wsj.com": "dlp0y1mxy0v3u.cloudfront.net"
43 ```
45 ## Automattic
47 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
49 Note: this IP `192.0.66.2` has been blocked using QoS filtering
51 Other IPs in the range `192.0.66.0/24` is not
53 ## CloudFlare
55 By default(most sites), it does not support TLS handshake without SNI, and will check if SNI extension and HTTP Host header contains the same domain
57 Domain Fronting is not possible
59 ## ddos-guard.net
61 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
63 I suggest that you use `ddos-guard.net` as the set SNI, other values will [return](https://github.com/URenko/Accesser/pull/93) strange self-signed TLS certificates
65 ## Fastly
67 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
69 ## Google Web Service
71 SNI is required, but it doesn't require SNI and Host to contain same domain.
73 e.g.
75 `curl -v https://about.google --connect-to ::142.250.98.90 -H "Host: www.google.com.hk"`
77 is OK.
79 ## Incapsula
81 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
83 ## StackPath
85 Support TLS handshake without SNI, and does not require SNI extension and HTTP Host header to contain the same domain
87 Note: this IP `151.139.128.11` has been blocked using QoS filtering
89 Other IPs in the range `151.139.128.0/24` is not