mac 下 如何屏蔽一个 ip? 122.141.234.60

2015 年 4 月 17 日
 cobola
122.141.234.60 这个ip 妈的 运营商劫持了
6229 次点击
所在节点    问与答
7 条回复
hackerwgf
2015 年 4 月 17 日
我也遇到了...
yinheli
2015 年 4 月 17 日
我也是...

抓包看了下. 是百度的一个统计脚本被劫持了.

curl 重现...

curl -v hm.baidu.com
* Rebuilt URL to: hm.baidu.com/
* Hostname was NOT found in DNS cache
* Trying 220.181.164.39...
* Connected to hm.baidu.com (220.181.164.39) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: hm.baidu.com
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: http://122.141.234.60:51234/bdpop.sl.php?http://hm.baidu.com/
< Content-type: text/html
< Content-Length: 0
<
* Excess found in a non pipelined read: excess = 890 url = / (zero-length body)
* Connection #0 to host hm.baidu.com left intact
yinheli
2015 年 4 月 17 日
现在... 暂时先吧 hm.baidu.com hosts 到 127.0.0.1 了
cobola
2015 年 4 月 17 日
@yinheli 多谢多谢 搞定
yinheli
2015 年 4 月 18 日
@cobola 也可以改路由器的 iptables. 这样所有的设备都ok了.

比如我的 openwrt 的路由器. 在 iptables 里加了一条.
iptables -I FORWARD -d 122.141.234.60 -j REJECT

holyghost
2015 年 4 月 19 日
同被劫持。
brt
2015 年 4 月 20 日
这两天也出现这种情况,在打开易迅时火狐提示。
坐标:广东汕头。电信。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.xtra.eu.org/t/184444

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX