LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-28-2010, 08:53 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 242

Rep: Reputation: 18
Unhappy iptables - connlimit doesnt work


Hi all,

I would like to limit incomming connections in my firewall. My second server has a kernel:

2.6.18-028

The problem is when I`m trying to use "connlimit" in iptables.

I`m pretty sure that this rule is OK:

Code:
iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 20 -j REJECT --reject-with tcp-reset
but for some reason when I`m trying to execute this I see this:

Code:
iptables: No chain/target/match by that name

Connlimit module is in the folder
Code:
/lib/xtables/libxt_connlimit.so
Maybe its not loaded ? I have no idea how to install connlimit for iptables... who can help me ?
 
Old 12-30-2010, 03:12 AM   #2
ubyt3m3
Member
 
Registered: Apr 2008
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92

Rep: Reputation: 19
If you are using CentOS (guessing from your profile), this link might help you.

-gibb
 
  


Reply

Tags
connlimit, iptables, load, module, problem


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
port forwarding with iptables - doesnt work dlugasx Linux - Networking 6 09-23-2009 09:06 AM
Centos 5.0 x86_64: need help adding connlimit module to iptables thanhlong Linux - Enterprise 4 07-14-2008 03:14 AM
iptables doesnt work in my linux kernel rohit83.ken Linux - Newbie 1 04-01-2008 08:28 AM
my iptables command doesnt work rohit83.ken Linux - Networking 1 04-01-2008 06:24 AM
[IPTABLES] FTP doesnt work with ls command narmida Linux - Networking 3 03-11-2005 12:51 PM


All times are GMT -5. The time now is 03:13 AM.

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