论坛风格切换切换到宽版
  • 806阅读
  • 1回复

[问题求助]晕了,请教加载模块问题。 [复制链接]

上一主题 下一主题
离线cqggff.
 
发帖
1839
C币
-194036
威望
313
贡献值
1
银元
-3
铜钱
4001
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
今天用iptables的connlimit模块.学习
iptables -A INPUT -p tcp --d.port 80 -m connlimit --.help--- 印刷

connlimit. v1.2.11 options:..
[!] --conn.limit-above n         match if the number of existing tcp .connections is (n.ot) above n<性病>
--connlimit-mask n             group. hosts using .mask服务器


iptables -A INPUT -..p tcp --dport 80 -m connlimit -.-connlimit-above 10 -j REJECT电影

i.ptables: No chain/target/match by that .name           鲜花

排错
lsmod
没有看见 conn.limit 模块.

mod.probe ipt_connlimit.

FATAL: Mo.dule ipt_connlimit .not found.学习

查找 connlimit模块
发现在
/.l.ib64/iptables/libipt_connlimit.so            建材

于是用
insmod  ./lib64/iptables/libip.t_connlimit.so            女人

insmod: error inserting './libipt_connlimit..so': -1 Invalid module fo.rmat    健康

我晕了,然后又试验了几次

发现有些模块第一次用insmod 加载的时.候会提示(.比如ntfs).

insmod: error inse.rting 'xxxxxx.so': -1 Invalid .module format.

我用m.odprobe  加载过一次以后用rmmod 删除.模块           鲜花
在使用insmod加载就正常了.。    健康
请问insmod和modprobe有什么.不同??健康
如何加载 libipt_connlim.i.t.so这个模块??域名

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线cg678.
发帖
2019
C币
-60902
威望
330
贡献值
1
银元
-3
铜钱
4493
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
modprobe会解决依赖关系,但只能加载特定的位置的。 insmod相反.
设置iptables规则是自动加载相应模块。
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个