LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2011, 11:52 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 581

Rep: Reputation: 37
Question vsftpd block ips automatically


Hi,

I'm running vsftpd on a Ubuntu 10.4 server and noticed that my ftp server is getting brute force attacked. I usually check for the IP address and manually add it to my Smoothwall firewall but I was wondering if there is a way for vsftpd to automatically block denied access after certain number of attempts. Let's say 5.
Thank you!
 
Old 06-14-2011, 12:02 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi,

You can use fail2ban for this

Regards
 
Old 06-14-2011, 12:12 PM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 581

Original Poster
Rep: Reputation: 37
Thank you sir!
 
  


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
Allow internal ips block external ips Jz87 Linux - Security 10 07-19-2010 10:42 PM
how to block https for some ips Winanjaya Linux - Security 2 12-01-2009 12:13 AM
2 IPs - need to block different ports on each jchambers Linux - Security 4 05-31-2008 02:59 AM
How to block specific IPs? cranium2004 Linux - Networking 3 04-01-2005 10:02 AM
block all IPs except one how in my setup?? cranium2004 Linux - Networking 3 03-20-2005 04:24 PM


All times are GMT -5. The time now is 04:28 PM.

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