LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 02-01-2008, 08:44 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30
Question Trouble adding connlimit support


I'm running Debian Sid.

I've downloaded the linux-2.6.23.12 kernel and patched it and iptables-1.4.0 with patch-o-matic-ng-20071226.
Code:
lrwxrwxrwx  iptables -> iptables-1.4.0
drwxr-xr-x  iptables-1.4.0
-rw-r--r--  iptables-1.4.0.tar.bz2
drwxr-xr-x  l7-protocols-2007-11-22
-rw-r--r--  l7-protocols-2007-11-22.tar.gz
lrwxrwxrwx  linux -> linux-2.6.23.12
drwxrwxr-x  linux-2.6.23.12
lrwxrwxrwx  linux-2.6.23.12-slh-smp-2 -> linux-headers-2.6.23.12-slh-smp-2
-rw-r--r--  linux-2.6.23.12.tar.bz2
-rw-r--r--  linux-custom-patches-2.6.23.12-slh-smp-2.tar.bz2
drwxr-xr-x  linux-headers-2.6.23.12-slh-smp-2
-rwxr-xr-x  linux-source-2.6.23.12-slh-smp-2.sh
drwxr-xr-x  netfilter-layer7-v2.17
-rw-r--r--  netfilter-layer7-v2.17.tar.gz
drwxr-xr-x  patch-o-matic-ng-20071226
-rw-r--r--  patch-o-matic-ng-20071226.tar.bz2
When I try compiling the kernel this is where it dies.
Code:
root@siduxbox:/usr/src# make-kpkg --initrd --append-to-version=-ms.01 kernel_image kernel_headers
.......
CC [M]  net/ipv4/netfilter/ipt_connlimit.o
net/ipv4/netfilter/ipt_connlimit.c: In function 'count_them':
net/ipv4/netfilter/ipt_connlimit.c:98: error: too many arguments to function 'nf_conntrack_find_get'
net/ipv4/netfilter/ipt_connlimit.c: At top level:
net/ipv4/netfilter/ipt_connlimit.c:312: warning: initialization from incompatible pointer type
net/ipv4/netfilter/ipt_connlimit.c:316: warning: initialization from incompatible pointer type
make[4]: *** [net/ipv4/netfilter/ipt_connlimit.o] Error 1
make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.12'
make: *** [debian/stamp-build-kernel] Error 2
root@siduxbox:/usr/src/linux#
 
  


Reply

Tags
iptables, kernel, netfilter


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ip6tables and connlimit? Tux-Slack Slackware 0 12-05-2007 02:41 PM
connlimit? NightSoul Linux - Software 1 06-21-2006 12:31 AM
Problems with connlimit. mussons Linux - Networking 1 02-10-2004 03:41 PM
Adding APM Support jwjody Fedora 3 11-26-2003 04:40 PM
Adding language support SkinHead Linux - General 1 09-21-2003 10:15 AM


All times are GMT -5. The time now is 03:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration