V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
openbaby
V2EX  ›  Linux

iptables 修改 ip_pkt_list_tot?

  •  
  •   openbaby · 2017-12-06 21:27:21 +08:00 · 1480 次点击
    这是一个创建于 2323 天前的主题,其中的信息可能已经有所发展或是发生改变。
    iptables 要修改 ip_pkt_list_tot
    按照网上资料
    在 /etc/modprobe.d/下新建文件,内容为 options xt_recent ip_list_tot=1024 ip_pkt_list_tot=200
    停止 iptables 后 modprobe -r xt_recent 再重启 iptables
    但 200 的数值还不够,如果设置为 1000 则会出错,如何能突破这一限制呢?
    1 条回复    2017-12-07 09:22:36 +08:00
    zyp0921
        1
    zyp0921  
       2017-12-07 09:22:36 +08:00
    看他内核的实现 ,然后修改之,重新编译这个模块,插入-
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2682 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:54 · PVG 23:54 · LAX 08:54 · JFK 11:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.