Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mark Vevers <mark@vevers.net>
To: cky@arcor.de, netfilter@lists.netfilter.org
Subject: Re: problem with ip_connlimit modul
Date: Mon, 23 Feb 2004 16:57:28 +0000	[thread overview]
Message-ID: <200402231657.29970.mark@vevers.net> (raw)
In-Reply-To: <32094483.1077552403980.JavaMail.ngmail@webmail02.arcor-online.net>

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

On Monday 23 Feb 2004 4:06 pm, cky@arcor.de 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@ifl.net / mark@vevers.net
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-----



  reply	other threads:[~2004-02-23 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23 16:06 problem with ip_connlimit modul cky
2004-02-23 16:57 ` Mark Vevers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-23 15:56 Thomas Martens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200402231657.29970.mark@vevers.net \
    --to=mark@vevers.net \
    --cc=cky@arcor.de \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox