hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Script that automatically adds IP's to the hosts.deny file?
Closed Thread

Forum Jump

Script that automatically adds IP's to the hosts.deny file?

Closed Thread Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Does anyone have a script that will monitor the /var/log/secure and the /var/log/messages files and log the ip's of attempts to connect faster than once every second?

I am having a lot of people attempting to connect to my ftp server (anonymously) and also through telnet and I want to set up a script that will just add their ip's to my /etc/hosts.deny file so I don't have to worry about them again.

It gets annoying having to browse through 200 attempts from the same ip.

Is it just me or do most illegal attempts come from Europe?

Any ideas?



Sponsored Links
  #2  
Old
Web Hosting Guru
 
Join Date: Feb 2001
Posts: 313
portsentry does. I am sure if you want to add them manually thru a web interface its easy to create a script to do so.

  #3  
Old
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Wow, I posted that over a year ago !!

Where did you dig that one up

Sponsored Links
  #4  
Old
Web Hosting Guru
 
Join Date: Oct 2001
Posts: 264
WOW hehe maybe he needs post count boost

__________________
eat me

  #5  
Old
Premium Member
 
Join Date: Dec 2000
Location: Lowlands
Posts: 717
Quote:
Originally posted by tymonhall
portsentry does. I am sure if you want to add them manually thru a web interface its easy to create a script to do so.

Portsentry does that? I don't think so.

  #6  
Old
Retired Moderator
 
Join Date: Sep 2000
Location: New York/USA
Posts: 1,669
tabernack posted that when he was a newbie

anyway, locking thread..

Closed Thread

Related posts from TheWhir.com
Title Type Date Posted
Dropbox Suffers Temporary Outage Impacting File Sharing and Synchronizing Web Hosting News 2014-03-14 12:11:46
Nasuni Launches Cloud Mirroring Feature to Storage Solution Web Hosting News 2013-08-08 14:15:27
OpenStack and the AWS API Debate Web Hosting News 2014-05-09 12:40:29
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2014-05-09 12:40:35
Google Cloud Platform Adds Four Support Tiers to Meet Business User Needs Web Hosting News 2013-02-21 16:27: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?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

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?