Pixiv彻底被墙

18年9月13日下午GFW开始对P站相关域名实施更高一级的tls识别,并进行TCP RST,目前主流改DNS和改HOSTS均已失效,和Steam Community是一样的待遇,而唯一的解决方案只要之前一篇文章提到的或者相关产品。

 

支持,威武,有希望了。

一行字解决无法访问 Pixiv

从2017年9月开始,P站被墙了。但是P站的图床域名(pximg.net)并没有被墙。并且经过简单的测试,目前针对 Pixiv 的仅仅是 DNS 投毒

Sakura:~ Sora$ dig www.pixiv.net

; <<>> DiG 9.9.7-P3 <<>> www.pixiv.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40630
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.pixiv.net.			IN	A

;; ANSWER SECTION:
www.pixiv.net.		300	IN	A	74.86.12.172

;; Query time: 19 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Thu Feb 01 19:13:33 CST 2018
;; MSG SIZE  rcvd: 47

而在境外测得的结果是如下

[root@mono ~]# dig www.pixiv.net

; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> www.pixiv.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50555
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.pixiv.net.                 IN      A

;; ANSWER SECTION:
www.pixiv.net.          240     IN      CNAME   pixiv.net.
pixiv.net.              240     IN      A       210.129.120.43
pixiv.net.              240     IN      A       210.129.120.41
pixiv.net.              240     IN      A       210.129.120.44

;; AUTHORITY SECTION:
pixiv.net.              213     IN      NS      ns1.pixiv.net.
pixiv.net.              213     IN      NS      ns2.pixiv.net.

;; ADDITIONAL SECTION:
ns1.pixiv.net.          213     IN      A       210.129.120.60
ns2.pixiv.net.          213     IN      A       210.129.120.62

;; Query time: 219 msec
;; SERVER: 108.61.10.10#53(108.61.10.10)
;; WHEN: Thu Feb 01 19:15:16 CST 2018
;; MSG SIZE  rcvd: 172

解析得到的是210.129.120.41这一组 IP 能够在中国大陆直接访问

ping -c 4 210.129.120.41 
PING 210.129.120.41 (210.129.120.41): 56 data bytes
64 bytes from 210.129.120.41: icmp_seq=0 ttl=47 time=106.773 ms
64 bytes from 210.129.120.41: icmp_seq=1 ttl=47 time=113.868 ms
64 bytes from 210.129.120.41: icmp_seq=2 ttl=47 time=100.819 ms
64 bytes from 210.129.120.41: icmp_seq=3 ttl=47 time=97.169 ms

--- 210.129.120.41 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 97.169/104.657/113.868/6.327 ms

因此我们直接加一行 hosts 即可解决这个问题。

MacOS: /etc/hosts

Windows: C:\Windows\system32\drivers\etc\Hosts

 

将下面的内容复制进去

210.129.120.41 www.pixiv.net 
210.129.120.41 accounts.pixiv.net
210.140.131.144 source.pixiv.net 
210.140.131.144 imgaz.pixiv.net

然后就能愉♂快得访问 Pixiv 啦