手机
当前位置:查字典教程网 >操作系统 >unix linux >iptables: Unknown error 4294967295问题解决方法
iptables: Unknown error 4294967295问题解决方法
摘要:今天买了个腾讯云,想添加几个限制连接数的规则,没想到iptables老是报错iptables:Unknownerror4294967295,...

今天买了个腾讯云,想添加几个限制连接数的规则,没想到iptables老是报错iptables: Unknown error 4294967295,我还以为没有加载模块,停止iptables,执行modprobe -r ipt_recent,然后启动iptables,再添加规则还是报错,最后终于找到解决办法了.如下:

cat >> /etc/modprobe.conf <<EOF

options ipt_recent ip_pkt_list_tot=200

EOF

停止iptables后,重新加载recent模块:

modprobe -r ipt_recent

再来添加规则

iptables -A INPUT -p tcp --dport 80 -m recent --name BAD_HTTP_ACCESS --update --seconds 60 --hitcount 100 -j REJECT

iptables -A INPUT -p tcp --dport 80 -m recent --name BAD_HTTP_ACCESS --set -j ACCEPT</p> <p>service iptables save

保存后没有再报错了,好了,问题解决.

【iptables: Unknown error 4294967295问题解决方法】相关文章:

Linux inode 耗尽导致图片/文件无法上传的解决方法

yum update 升级报错的解决办法

Linux系统中nc命令的基本用法掌握

linux usb不能识别解决方法

linux下tar命令遇到error:"Error exit delayed from previous errors"的问题及解决

U盘在Linux下显示不正常的解决方法

Linux系统“死机”时解决方法

Linux系统下常见基本问题的解决方法

禅道系统迁移到linux平台 用户无法登录问题的解决

fedora 17终端桌面快捷键与桌面快捷方式设置指南

精品推荐
分类导航