From: Volkov Peter Subject: connlimit: Problems with patching kernel? Date: Mon, 16 May 2005 19:36:48 +0400 Message-ID: <200505161936.48624.volkov_peter@list.ru> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1" To: netfilter@lists.netfilter.org Hello. I've tried to subscribe into netfilter mailing list, but failed. I did not= =20 receive no mail from there (for two days already). So I'm trying to mail=20 directly to mailing list. So CC answers to me. In any way, thank you in advance for your time. My problem is that when I issue: iptables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-above 10= -j=20 REJECT I have an error: iptables: No chain/target/match by that name It seems to me that I have not patched kernel, as I do not=20 have /usr/src/linux/include/linux/netfilter_ipv4/ipt_connlimit.h in my kern= el=20 sources. From HOWTO I know that I need to run runme to patch iptables and=20 kernel. But when I issue command, it tells me that I've already have patch= ed=20 kernel and iptables. Look: ************listing of runme************* # ./runme connlimit Hey! KERNEL_DIR is not set. Where is your kernel source directory? [/usr/src/linux] Hey! IPTABLES_DIR is not set. Where is your iptables source code directory?=20 [/usr/src/iptables] /root/iptables Loading patchlet=20 definitions................................................................= =2E.....................=20 done Welcome to Patch-o-matic ($Revision: 3733 $)! Kernel: =C2=A0 2.6.11, /usr/src/linux Iptables: 1.3.1, /root/iptables Each patch is a new feature: many have minimal impact, some do not. Almost every one has bugs, so don't apply what you don't need! =2D------------------------------------------------------ Already applied: Excellent! Source trees are ready for compilation. ****************end of listing runme********************* I had the only kernel in my directory. I have right symlink. I exported=20 KERNEL_DIR, IPTABLES_DIR, tried vanilla sources, but still no luck. Why ./runme tell me that everything is patched although it's not? How runme= =20 checks that I have this patch installed? Can I can install patch manually? BTW. iptables are patched normaly and I=20 have: /usr/local/lib/iptables/libipt_connlimit.so file. What is the problem= =20 with kernel. Where is my problem? Thank you for your help in advance, Peter.