好久没有打开Light Room Classic, 今天打开发现slpash 出现之后就直接闪退,百思不解,好像很久什么都没有干呀。试一下把网络禁了,发现不闪了。 哦。。。。。原来如此。
好吧,tcpdump分析一下,看看闪退之前访问了什么网络。
sudo tcpdump -i en0 port 53
Password:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes
23:41:56.350817 IP 192.168.2.4.53336 > 192.168.2.1.domain: 10796+ A? lcs-cops.adobe.io. (35)
23:41:56.353447 IP 192.168.2.4.61792 > 192.168.2.1.domain: 42789+ PTR? 1.2.168.192.in-addr.arpa. (42)
23:41:56.394326 IP 192.168.2.1.domain > 192.168.2.4.53336: 10796 4/0/0 A 54.144.73.197, A 18.207.85.246, A 107.22.247.231, A 34.193.227.236 (99)
23:41:56.399622 IP 192.168.2.1.domain > 192.168.2.4.61792: 42789 NXDomain* 0/1/0 (77)
23:41:58.067645 IP 192.168.2.4.55761 > 192.168.2.1.domain: 906+ A? photo-api.adobe.io. (36)
23:41:58.102422 IP 192.168.2.1.domain > 192.168.2.4.55761: 906 2/0/0 A 54.71.139.124, A 54.212.57.71 (68)
23:41:58.154484 IP 192.168.2.4.57216 > 192.168.2.1.domain: 15444+ A? www.photoshop.com. (35)
23:41:58.193876 IP 192.168.2.1.domain > 192.168.2.4.57216: 15444 5/0/0 CNAME photoshop.com., A 54.148.140.113, A 44.241.44.191, A 54.186.31.35, A 44.233.73.34 (113)
sudo tcpdump -i en0 port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes
23:44:02.221251 IP 192.168.2.4.50710 > 192.168.2.1.domain: 50126+ A? cc-api-data.adobe.io. (38)
23:44:02.263081 IP 192.168.2.1.domain > 192.168.2.4.50710: 50126 2/0/0 A 54.168.110.193, A 54.150.163.204 (70)
23:44:03.543880 IP 192.168.2.4.52017 > 192.168.2.1.domain: 63776+ A? prod.adobegenuine.com. (39)
23:44:03.593364 IP 192.168.2.1.domain > 192.168.2.4.52017: 63776 4/0/0 CNAME gocart-web-prod-ue1-477818442.us-east-1.elb.amazonaws.com., A 54.81.59.140, A 3.230.213.132, A 54.88.84.93 (155)
23:44:04.676784 IP 192.168.2.4.53355 > 192.168.2.1.domain: 22852+ A? ocsp-lb.apple.com.akadns.net. (46)
23:44:04.716505 IP 192.168.2.1.domain > 192.168.2.4.53355: 22852 4/0/0 CNAME ocsp-cn-lb.apple.com.akadns.net., CNAME ioshost.qtlcdn.com., A 183.240.58.148, A 120.240.100.117 (135)
23:44:04.723322 IP 192.168.2.4.63473 > 192.168.2.1.domain: 55474+ A? ocsp-lb.apple.com.akadns.net. (46)
23:44:04.723816 IP 192.168.2.1.domain > 192.168.2.4.63473: 55474 4/0/0 CNAME ocsp-cn-lb.apple.com.akadns.net., CNAME ioshost.qtlcdn.com., A 120.240.100.117, A 183.240.58.148 (155)
哦。。。。。 哪在路由上把这些都加入黑名单试试....
ipset=/.adobe.com/blacklist
ipset=/.photoshop.com/blacklist
ipset=/.adobe.io/blacklist
ipset=/.adobegenuine.com/blacklist
重启dnsmasq
好了。。。
希望帮到遇到同样问题的朋友。