Re: Kernel с поддержкой iplimit [message #20188 is a reply to message #16377] |
Thu, 13 September 2007 06:56   |
GFell
Messages: 12 Registered: August 2007
|
Junior Member |
|
|
Поставил gcc 3.4.4...
export PATH, CC и вообще грохнул ту версию которая была до этого (4.1) вместе с libgcc от неё.
[root@v180 /]# gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure
Thread model: posix
gcc version 3.4.4
[root@www netfilter]# cat /proc/version
Linux version 2.6.18-ovz028stab039.1-smp (root@centos-32-build) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Tue Jul 24 12:13:58 MSD 2007
[root@www netfilter]# modinfo ipt_connlimit.ko
filename: ipt_connlimit.ko
license: GPL
vermagic: 2.6.18-8.1.8.el5.028stab039.1 SMP mod_unload 686 REGPARM gcc-3.4
depends: x_tables,ip_conntrack
srcversion: E7354AB22D085D35285E9B6
[root@www netfilter]# insmod ipt_connlimit.ko
insmod: error inserting 'ipt_connlimit.ko': -1 Invalid module format
При этом есть нормальный модуль:
modinfo ipt_REJECT
filename: /lib/modules/2.6.18-ovz028stab039.1-smp/kernel/net/ipv4/netf ilter/ipt_REJECT.ko
license: GPL
author: Netfilter Core Team <coreteam@netfilter.org>
description: iptables REJECT target module
vermagic: 2.6.18-ovz028stab039.1-smp SMP mod_unload 686 4KSTACKS gcc-3.4
depends: x_tables
[Updated on: Sat, 06 October 2007 12:19] Report message to a moderator
|
|
|