LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-01-2009, 08:41 AM   #1
thesnaggle
Member
 
Registered: Sep 2003
Distribution: Fedora
Posts: 52

Rep: Reputation: 15
blocking ips


I am setting up iptables on my linux server which sits behind a linksys router the server has samba vsftp and dhcp running the problem is i have a large group of hackers trying to gain entry through ftp with alphabetic attacks is there a way that i can setup my vsftp config or my iptables config to drop requests if someone fails to authenticate after so many times
 
Old 03-01-2009, 09:38 AM   #2
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
2 things I might try:

http://www.fail2ban.org/wiki/index.php/Main_Page

http://iptables-tutorial.frozentux.n...tml#LIMITMATCH

Good Luck
 
Old 03-01-2009, 10:34 AM   #3
thesnaggle
Member
 
Registered: Sep 2003
Distribution: Fedora
Posts: 52

Original Poster
Rep: Reputation: 15
i installed fail2ban and am still getting the same problem any other suggestions
 
Old 03-02-2009, 12:26 PM   #4
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Did you enable fail2ban in the jail.conf for your FTP server? I also turned my maxretry to 3. I have also installed denyhosts and turned on the sync function. It downloads IPs of known attackers and places the IPs in the denyhost file, that stopped most of the attacks for me.
 
  


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
blocking ips jeff80 Linux - Newbie 4 06-27-2008 08:27 PM
Blocking ips from access andy1974 Linux - Security 5 06-27-2007 06:21 AM
iptables help please with blocking range of IPs lleb Linux - Software 7 02-26-2007 10:09 AM
Blocking IPs bluelaguna Linux - Security 2 05-28-2004 02:08 PM
Blocking IPS clanehleader Linux - Security 2 09-01-2003 10:13 PM


All times are GMT -5. The time now is 05:44 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