
v2ex最近被科学了,但https可以继续访问,想知道是为什么?
1 wuwuyun 2015-03-02 17:32:59 +08:00 URL封锁只能匹配明文 SSL是加密的 |
2 chdreamflying OP @wuwuyun url本身也加密?那dns怎么解析域名啊? |
3 wuwuyun 2015-03-02 17:50:20 +08:00 dns是另外的协议,和https又没关系,端口都不一样啊 一个默认53 一个443 |
4 kslr 2015-03-02 18:01:11 +08:00 @chdreamflying 浏览器数据传输走SSL,但是系统还是把v2ex.com送到DNS服务器查询。 |
5 kslr 2015-03-02 18:02:37 +08:00 @chdreamflying 我记得有篇文章是“打开网页的过程浏览器都做了那些事”,你得去看看 |
6 yanyuechuixue 2015-03-02 18:05:20 +08:00 via Android 封明文? 难道不是封IP么? 如果没用cdn 的话。 |
7 wuwuyun 2015-03-02 18:07:37 +08:00 |
8 xiaozhizhu1997 2015-03-02 18:08:16 +08:00 via Android @yanyuechuixue 封的是关键字。 |
9 chdreamflying OP @kslr 谢谢,回头找找这篇文章! |
10 linhua 2015-03-02 18:20:13 +08:00 @chdreamflying 可用curl试验一下 curl 'http://www.v2ex.com/t/173233' -H 'Host: www.baidu.com' 这个可以 但是 curl 'http://www.v2ex.com/t/173233' -H 'Host: www.v2ex.com' 这个不行 |
11 Septembers 2015-03-02 19:17:12 +08:00 |
12 Felldeadbird 2015-03-02 22:13:55 +08:00 @Septembers 谷歌就是一个最好的例子了。 |
13 chdreamflying OP @linhua 我试了,两个都不行,返回的错误“curl: (56) Recv failure: Connection was aborted” |
14 linhua 2015-03-03 14:47:10 +08:00 @chdreamflying 如果先运行第二个命令,会被reset一段时间(30秒左右),需要等待一会儿再去运行第一个 |
15 chdreamflying OP @linhua 确实是这样的,能解释下为什么是这样的吗? |
16 linhua 2015-03-03 17:24:07 +08:00 @chdreamflying 这是GFW的特性,暂时加目标ip为黑名单。 |
17 linhua 2015-03-03 17:29:01 +08:00 @chdreamflying 可把前面的换为ip地址,这样更清楚一点,如 ping www.v2ex.com PING smile.v2ex.com (104.238.160.183) 56(84) bytes of data. 64 bytes from 104.238.160.183: icmp_seq=1 ttl=46 time=90.5 ms 64 bytes from 104.238.160.183: icmp_seq=2 ttl=46 time=72.2 ms 然后 curl 104.238.160.183 -H 'Host: www.baidu.com' |
18 linhua 2015-03-03 17:32:02 +08:00 @chdreamflying curl 104.238.160.183 -H 'Host: www.baidu.com'----改为--->> curl 'http://104.238.160.183/t/173233' -H 'Host: www.baidu.com' |