尝试编译ipv6模块,因为iptables在编译的时候需要调用kernel里面的ipv6库,所以,即使不使用ipv6,也仍然要
make modules SUBDIRS=net/ipv6/netfilter
然后再试试呢?
那么就先用普通升级iptables的方法,先升级iptables,然后用上面的方法再编译iptables
另外一?.........[/quote:b073a0a2ca]
具体怎么升级iptables和编译?
稍等,我在甲方这里调网呢,QQ正在下载中……
[quote:924de6a41d]
iptables v1.3.1 Changelog
======================================================================
This version requires kernel >= 2.4.4
This version recommends kernel >= 2.4.18
Bugs fixed from 1.3.0:
- Fix CLUSTERIP rule deletion
[ Pablo Neira ]
- Fix libip6t_random compilation
[ Harald Welte ]
- Fix CONNMARK on 32bit userspace / 64bit kernel archs
[ Pablo Neira ]
Changes from 1.3.0:
- remove bogus NFC_* stuff in iptables
[ Pablo Neira ]
- libiptc: don't sort builtin chains, restores iptables-1.2.x sort order
[ Olaf Rempel ]
Please note: Since version 1.2.7a, patch-o-matic is now no longer part of
iptables but rather distributed as a seperate package
(ftp://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot)
[/quote:924de6a41d]
看来那个FAQ里面写的random的IPV6模块的问题,是iptables-1.3.0造成的,现在出了1.3.1,弥补了这个BUG
llzqq遇到的问题也类似,但不是那个模块
大家换用iptables-1.3.1应该会好些
估计明天有空
iptables -A FORWARD -s 192.168.1.0/24 -m ipp2p --edk --bit -j DROP
提示我iptables v1.3.1: Couldn't load match `ipp2p':/usr/local/lib/iptables/libipt_ipp2p.so: cannot open shared object file: No such file or directory
但我把模块安装到了/lib/iptables里面了。模块文件也有啊。
cp到 /usr/local/lib/iptables/ 下
make modules SUBDIRS=net/ipv4/netfilter
scripts/Makefile.build:36: kbuild: net/ipv4/netfilter/Makefile - Usage of export-objs is obsolete in 2.6. Please fix!
Building modules, stage 2.
MODPOST
而且运行 iptables -L时候提示:
iptables v1.3.1: can't initialize iptables table `filter': Module is wrong version
Perhaps iptables or your kernel needs to be upgraded.
本文关键:如何给iptables添加模块v2.2(含视频教程)
相关方案
- 如何在硬碟建置Linux系统之…
- Linux系统命令分类详解(3…
- pinnacle studio…
- LPI认证考试介绍…
- package managem…
- oracle9 在 linux…
- DHCP分配地址时的顺序问题…
- SNAT与MASQUERADE…
- 如何让Linux支持NTFS分…
- 一個不錯的資源網站,特別推荐O…
- RedHatLinux AS3…
- TuoboLinux认证介绍…
- VSFTPD服务器架设菜鸟手记…
- RedhatAS3.0上安装A…
- RedHat增加了一个必需的R…
- 如何在硬碟建置Linux系统之…
- 为Sendmail添加杀毒插件…
- IT界的黄金认证RedHat认…
- 基于CBQ(Class Bas…
- 如何在硬碟建置Linux系统之…