V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  myliyifei  ›  全部回复第 25 页 / 共 42 页
回复总数  822
1 ... 21  22  23  24  25  26  27  28  29  30 ... 42  
2015-02-16 10:58:36 +08:00
回复了 q84629462 创建的主题 VPS 国内不放网站不绑域名不开 80 端口不备案的 vps/服务器哪家强?
如果开放WEB,但是不是80,也要备案吗
2015-02-16 10:51:48 +08:00
回复了 jokcy 创建的主题 VPS 为什么这么多人喜欢买类似 linode 这样的 vps 而不用阿里的云主机
linode 除了高可用性要自己搞定,什么API CLI都有
iptables -m owner 可以指定哪个程序
2015-02-15 12:52:39 +08:00
回复了 sldaniel 创建的主题 问与答 怎么解决 chrome 看在线视频 CPU 占用过高?
@sldaniel Disable Youtube™ HTML5 Player 插件 然后chrome内置的PPAPI不支持硬件加速。换FF版本的 NPAPI FLASH
@loading 车后面放三脚架可以免,否则还是违停。
我想准确的告诉楼主,按照中国现在的法律,在道路上,不管有没有禁停标识,只要没有停在指定停车线内,都算违停。。我中招过。
@sophymax A站的CEO现在被关在北京。。。失联中
@anouser chrome的DNS异步解析,默认没有开吧
2015-02-15 02:49:51 +08:00
回复了 sldaniel 创建的主题 问与答 怎么解决 chrome 看在线视频 CPU 占用过高?
强制改成Flash,NAPPI,原生的,搞定
2015-02-12 22:04:27 +08:00
回复了 JackBlack2006 创建的主题 职场话题 单位春节不放假, 照常上班, 无加班费怎么办
可以折腾一下,要你老板陪你钱再走人。
烧钱太厉害
2015-02-12 13:04:30 +08:00
回复了 myliyifei 创建的主题 Linux 如何屏蔽 SS 服务器访问大陆的 IP 段?
@ryd994 geoip准确吗? 和ipset的性能比较呢? 下面的文档说ipset用的是Jenkins3,但是搜不到这个



geoip vs ipset
xt_geoip uses the (probably) most efficient format, a (non-compressed) packed blob. Loading one country into the kernel costs as much as the file on disk.

Since ipset does not support arbitrary IPaddr–IPaddr ranges, one would need to approximate that using, for example, multiple Network/Prefixlength entries. Furthermore, if a hash set type is used, you can assume that, by the nature of hashes and/or trees, some buckets remain empty and/or additional metadata is required. The memory footprint with an ipset-based geoip thus is naturally larger. User reports[1] indicate it can become two orders of magnitude higher in certain cases (iptreemap).

xt_geoip's lookup time is O(log2(ranges)), so to lookup an address within 20,000 ranges, at most 15 iterations each with address comparisons (at most 3) are required. ipset uses Jenkins3 for hashing, which has a certain time cost of its own.
2015-02-12 00:20:38 +08:00
回复了 myliyifei 创建的主题 问与答 Iptables 连接状态的理解
来个高手解答下吧
2015-02-11 13:31:47 +08:00
回复了 myliyifei 创建的主题 问与答 Iptables 连接状态的理解
还有个补充
4 像一些构造的异常的TCP数据包,比如XMAS攻击之类的,这些都属于invalid状态吗?没有必要一个个在写了吗

-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
-A INPUT -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A INPUT -p tcp -m tcp --tcp-flags ALL NONE -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,PSH,URG -j DROP
1 ... 21  22  23  24  25  26  27  28  29  30 ... 42  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2900 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
Developed with CodeLauncher
♥ Do have faith in what you're doing.