Visit the LQ Articles and Editorials section
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-01-2009, 09:41 AM   #1
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, 10:38 AM   #2
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
2 things I might try:


Good Luck
Old 03-01-2009, 11:34 AM   #3
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, 01:26 PM   #4
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.


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

All times are GMT -5. The time now is 01:25 PM.

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