Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-30-2006, 12:40 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Is this posible with iptables ?

I dont know if this is posible with iptables, you are here to help
I want to do something like this:
"If some IP connect on server port more then 10 times in 10 seconds ban that IP for 24 hours"
I try to do this with recent and limit modules but i didnt have success
Meaby this cant be done wtih iptables .... then recomend me some tool that is capable to do this.
Best regards
Old 03-30-2006, 01:09 PM   #2
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32

i think that's doable with iptables.
have a look at the "recent" match, maybe that could do it.
another solution may be to use the limit match, and then i think in the 2.6.13 kernel there's an action target that can be use to run another iptables command (in your case it would be a rule droping the packets...). Unfortunatly, the 2.6.13 kernel i have is at the office, so i can't have a quick check now.
I hope this helps... don't take for granted the above statements... i think it can work ;o)


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
Is This Posible???? k1ll3r_x General 12 08-09-2005 04:59 PM
THANKS TO ALL..another question? Is there is posible to modified IP Tables? Lancelot1914 Linux - Newbie 1 06-04-2005 02:44 AM
posible spam bot zurc Linux - Security 0 02-14-2005 08:37 PM
Question IS THIS POSIBLE craigvanham Linux - General 1 03-19-2004 05:03 AM
Full Remote Desktop, is it posible ? Kocil Linux - Networking 7 08-21-2003 06:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:09 AM.

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