Re: problem with ip_connlimit modul

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 23 Feb 2004 4:06 pm, cky@xxxxxxxx wrote:
> I try to compile the new 2.4.25 kernel with patch-o-matic-20031219 and I've
> a little problem.
>
> All iptables works fine, but just the ipt_connlimit module makes trouble,
> when I try to compile it.

Check the latest CVS for the connlimit module ....  ip_conntrack_module
is no longer used and the lines using it are deleted ... I think this is
related to refcount fixing mentioned in the 2.4.25 change log.

The following patch if applied as patch -lp0 < connlimit.patch in
<KERNEL_DIR>/net/ipv4/netfilter will do just that .... 
(save the text between the lines as connlimit.patch)

cheers
Mark
- -----------------------------------------------------------------------------------------------
- --- ipt_connlimit.c     2004-02-23 12:12:55.000000000 +0000
+++ ipt_connlimit.c     2004-02-23 12:13:49.000000000 +0000
@@ -216,7 +216,4 @@
 static int __init init(void)
 {
- -	/* NULL if ip_conntrack not a module */
- -	if (ip_conntrack_module)
- -		__MOD_INC_USE_COUNT(ip_conntrack_module);
	return ipt_register_match(&connlimit_match);
 }
@@ -225,6 +222,4 @@
 {
	ipt_unregister_match(&connlimit_match);
- -	if (ip_conntrack_module)
- -		__MOD_DEC_USE_COUNT(ip_conntrack_module);
 }

- ------------------------------------------------------------------------------------------------
- -- 
Mark Vevers.    mark@xxxxxxx / mark@xxxxxxxxxx
Principal Internet Engineer, Internet for Learning,
Research Machines Plc. (AS5503)
- --
GPG Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB08F3CA3
Fingerprint: 85BA 30C4 9EC8 1792 4C8C   C31E 58B5 3D1C B08F 3CA3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAOjD4WLU9HLCPPKMRAlbeAKCKVikbwOt/UzqKzXHCbg8//uHT4gCfWI4n
1EHcVx12skVBs1ewm7DeRok=
=ExXE
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux