LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-30-2006, 11:40 AM   #1
koye78
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Is this posible with iptables ?


Hi
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.
Thanks
Best regards
 
Old 03-30-2006, 12:09 PM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

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)
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration