Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
openbaby
V2EX  ›  Linux

iptables 修改 ip_pkt_list_tot?

  •  
  •   openbaby · Dec 6, 2017 · 1974 views
    This topic created in 3104 days ago, the information mentioned may be changed or developed.
    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 replies    2017-12-07 09:22:36 +08:00
    zyp0921
        1
    zyp0921  
       Dec 7, 2017
    看他内核的实现 ,然后修改之,重新编译这个模块,插入-
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2457 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:28 · PVG 09:28 · LAX 18:28 · JFK 21:28
    ♥ Do have faith in what you're doing.