hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to block (IP) failed logins
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to block (IP) failed logins

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-02-2008, 06:33 AM
LP560 LP560 is offline
Web Hosting Evangelist
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 546
Question

How to block (IP) failed logins


I have a personal dedicated server for family sites, but there seems to be someone or something trying to ssh into the server.
I have BFD installed and that has blocked the IP(s) after a number of attempts.
How can I change when it blocks the IP, say after 3 attempts or a certain number of attempts within a time limit, is this possible with BFD?

__________________
C program run. C program crash. C programmer quit.


Reply With Quote


Sponsored Links
  #2  
Old 03-02-2008, 07:45 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
You can set the trigger number at /usr/local/bfd/rules/sshd

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #3  
Old 03-02-2008, 08:38 AM
LP560 LP560 is offline
Web Hosting Evangelist
 
Join Date: Apr 2005
Location: Tinterweb
Posts: 546
Thanks set it to 2, but I tried logging in with an incorrect password but it didn't ban the IP for about 10 minutes.
So I take it its on a cron, can this be changed?

__________________
C program run. C program crash. C programmer quit.


Reply With Quote
Sponsored Links
  #4  
Old 03-02-2008, 11:16 AM
IntraHost-Greg IntraHost-Greg is offline
WHT Addict
 
Join Date: Dec 2003
Location: Chicago, IL
Posts: 169
Yes, it can be changed. Check out /etc/cron.d/bfd

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Liquid Web Updates Block Storage, Adding Scale, Cross Mounting Web Hosting News 2012-12-14 16:17:44
Liquid Web Block Storage Offering Provides Flexible, Affordable Storage Option Web Hosting News 2012-11-20 15:03:47
Rackspace Launches OpenStack-Powered Cloud Block Storage Solution Web Hosting News 2012-10-23 10:16:40
OpenStack Adds Networking, Block Storage to Sixth Release Folsom Web Hosting News 2012-09-28 10:55:29
Web Host eUKhost Moves Billing System to New Server After Hacker Breach Web Hosting News 2012-04-30 10:21:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?