Download BlockHosts - BlockHosts Description, BlockHosts Reviews
Contact
 


 

Download

 
Download Now
Public Domain
Downloads till now: 6
 
 

Quick search

 



 

Rate this software

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

No. Votes

0

 

Linux

Archiving , Backup , Benchmarks , Boot , Clustering and Distributed Net, Clustering and Distributed Networks , Console Fonts, Diagnostics, Emulators , Filesystems , Hardware , Installer/Setup , Logging , Monitoring , Networking , Operating Systems , Operating Systems Kernels, Operating Systems Linux Distri, Operating Systems Other, Recovery , Shells , Software Distribution , System Administration ,

Windows

Mac

Mobile

Drivers

Scripts - DHTML

Scripts - DHTML (new)

Web Developer Blog

Web Developer Blog (new)

Scripts and Applications

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
XML

BlockHosts

 

Details

Last Update: 2008-01-15 17:01:09
Version: 2.3.1
License/Program Type: Public Domain
Publisher: Avinash Chopde
Price:$0.00
Description:

BlockHosts is a script to record how many times "sshd" or "proftpd" is being attacked, and when a particular IP address exceeds a configured number of failed login attempts, that IP address is added to /etc/hosts.allow (or optionally to any other file).
Requires python version 2.3 at a minimum, and runs on Unix-like machines only.
The BlockHosts script is most suitable for home Linux users, who need to keep ssh/ftp ports open.
Blocks IP addresses based on SSH or FTP incoming login failures, by looking at SSHD and ProFTPD logs, and updating hosts.allow as needed.
If you are a Linux user running SSH server, it is likely that you have been probed by script kiddies, and your daily LogWatch emails will show 100-150 login attempts in a short interval, before they go away.
There is no option in OpenSSH to make it difficult to slow down repeated login attempts coming from one IP address -- logins occur at a pretty fast clip -- one attempt every few seconds.
For a home or small business linux user at least, it does not make sense to keep the door open for logins for so long. Use this script, and see the daily LogWatch email notifications now showing only 7-9 login attempts, and remote hosts start getting "Refused incoming connection" messages.
Then, reading the daily LogWatch emails is not terrifying at all, in fact, it may be fun to see these script kiddies get blocked!
- Be sure to acquaint yourself with material available on the web, related to security, and denial-of-service. In particular, see the discussion in the OpenSSH mailing list related to SSHD blocking and FAIL_DELAY:
- Make your sshd/proftpd configurations as tight as possible. For example, for sshd - turn off root logins (PermitRootLogin), use the AllowUsers keyword to only allow one or a select usernames to be accepted. As far as possible, try to avoid common usernames, make even the user names hard to guess. For ProFTPD, use /etc/ftpusers, which contains names of users that will not be allowed to use FTP, root should be in there.
- Last, but not least - always use strong passwords! That is the only real protection.
blockhosts.py scans system logs, and looks for failed login attempts. It keeps a record of the number of times a particular IP address had a failed login. When the count exceeds a configured value, that IP address is added to /etc/hosts.allow with a deny flag, so the next time that IP address attempts to connect to that box, they will get a refused connection message.
Requirements:
· Python, version 2.3 or later.
· TCP_WRAPPERS should be enabled for all services, this will allows use of /etc/hosts.deny and /etc/hosts.allow files.
· IPv4 addesses supported, IPv6 not supported at this time.
· OpenSSH and proftpd logs can be scanned, other implementations or services may require adding pattern matching options to the default blockhosts.py configuration, see the appropriate section in blockhosts.cfg configuration file.
What's New in This Release:
· The log match rules were updated to accept lines without a colon (:) after the [pid].
· This is seen in some Debian and Ubuntu installs, at least.



Leave a comment




(optional)

What is 7-3?




0 comments


Add to

 Del.icio.us   Digg It   Furl   YahooMyWeb   Blinklist
 

BlockHosts Version History

Product Date Added
BlockHosts 2.3.1 2008-01-15 17:01:09


Related Software

Alba-Experiment 2006.04.06
From category: System-Administration
Alba-Experiment 2006.04.06 is system administration software developed by Alba-Experiment Team. Alba-Experiment is an implementation of Gentoo over Solaris or Portage for Solaris. Alba-Expe...
Yabause
From category: Emulators
Yabause is a Sega Saturn emulator....
CruxPorts4Slack 20061113
From category: Installer-Setup
CruxPorts4Slack 20061113 is installer/setup software developed by Henry Jensen. CruxPorts4Slack adapts the \"ports\" and \"pkgmk\" commands to allow the use of ports repositories for Crux with Slac...
DenyHosts
From category: System-Administration
DenyHosts 2.6 is system administration software developed by Phil Schwartz. DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks. If you\...
College Linux
From category: Operating-Systems-Linux-Distri
College Linux 2.5 (Obi Wan) is operating systems linux distri software developed by CollegeLinux. The aim of this experimental Linux distribution is to provide to RKC students andto the student pop...
eltclsh
From category: Shells
eltclsh 1.5 is shells software developed by Anthony Mallet. eltclsh (editline tcl shell) is an interactive shell for the TCL programming language. It provides command line editing, history browsing...
Areca 4.1.5
From category: Archiving
Areca 4.1.5 is archiving software developed by Olivier PETRUCCI. Areca is an Open Source file backup software developped in Java. Here are some key features of \"Areca\": Archives Compre...
Apparix 06-314
From category: Shells
Apparix 06-314 is shells software developed by Stijn van Dongen. Apparix combines the properties of the cdargs utility and the CDPATH shell mechanism for fast navigation through the file system. \...
DeLi Linux
From category: Operating-Systems-Linux-Distri
DeLi Linux 0.7.1 is operating systems linux distri software developed by DeLi Linux Team. DeLi Linux stands for \"Desktop Light\" Linux. It is a Linux Distribution for old computers, from 486 to Pe...
Parted Magic
From category: Operating-Systems
Parted Magic is a ~30mb LiveCD/USB with it\'s only purpose being partitioning hard drives....
coNCePTuaL
From category: Benchmarks
coNCePTuaL 0.8.1 is benchmarks software developed by Scott Pakin. coNCePTuaL software is a tool designed to facilitate rapidly generating programs that measure the performance and/or test the corre...
comserv
From category: Networking
comserv 1.4.3 is networking software developed by Brian S. Dean. COMSERV is a program that allows you to talk to a network terminal server such as a Xyplex MAXserver 1600. The handy thing ab...
Dstat
From category: Diagnostics
Dstat 0.6.4 is diagnostics software developed by dag. Dstat project is a versatile replacement for iostat, vmstat and ifstat. Dstat overcomes some of the limitations and adds some extra features....
WinShares
From category: Networking
WinShares is a Linux program that scans the network and mounts all Windows and Samba shares available....
compFUSEd 200623912
From category: Filesystems
compFUSEd 200623912 is filesystems software developed by Johan Parent. Since there are none right now for Linux [well there still is ext2comp, but ext2 is getting a bit old and the patches are NOT...
 

Top Downloads

 
1. Canon PIXMA iP1000 Printer Driver
2. Canon PIXMA iP1200 Printer Driver
3. Canon PIXMA MP210 MP Drivers
4. Canon PIXMA iP1300 Printer Driver a
5. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
6. Canon PIXMA iP1300 Printer Driver c
7. Canon i-SENSYS LBP2900 Printer Driver R
8. Asus EZVcr II
9. Canon PIXMA MP160 MP Drivers xp64
10. Canon PIXMA MP140 MP Drivers
11. Genius Eye 110 Webcam Driver
12. Canon PIXMA iP1200 Printer Driver x64 d
13. JavaScript Page Preloader
14. LG GSA-2166D
15. Canon PIXMA iP1600 Printer Driver
16. Canon LaserShot LBP-1210 Printer Driver
17. Realtek RTL8139C(L)+/RTL8139D(L)/RTL8100(L)/RTL8130/RTL8139B(L) Driver
18. Canon PIXMA MP220 MP Drivers
19. Canon PIXMA MP150 MP Drivers 2kxp
20. Matsushita DVD-RAM UJ-842S

DownloadTube Editor Reviews

 
1. Opera Browser
Opera lets you synchronize every part of your life. Synch yo...
2. Aplus Video to iPod PSP 3GP Converter
Aplus Video to iPod PSP 3GP Converter - a powerful utility t...
3. Quick Timer PPC
Quick Timer PPC is an application for Pocket PC to control N...
4. UniDoc
UniDoc is a powerful and reliable software application that ...
5. Exif Pilot Lite
Exif Pilot Lite allows you to view EXIF, EXIF GPS and IPTC d...
6. SyncQuick Netwatch
SyncQuick Netwatch provide the ability to monitor multiple s...
7. GdImageBox OCX
GdImageBox OCX is an Image Viewer Control delivered as an Ac...
8. Magicbit DVD to MP4 Converter
Magicbit DVD to MP4 Converter helps you rip and convert DVDs...
9. Alldj DVD to PSP Ripper
Alldj DVD To PSP Ripper is a powerful solution for convertin...
10. Relay Timer
Relay Timer is a powerful tool for NCD ProXR relay controlle...

Software Reviews Full List



Recent Blog Posts

 
1. Sun Microsystems JavaFX 1.0 Could Be Present In Over 6 Billion Devices Connected To Internet
Java technology is integrated in 90 percent of desktops and ...
2. Google Reader Has An Improved Look And More Practical Functionality
After the recent introduction into Google Reader of Google T...
3. Free Web Based Design Tools: A Professional Environment for Image Processing
Over the Internet there are many online tools that allow des...
4. Opera 10 Alpha Obtained A Score of 100/100 For Acid3 Test
Opera Software ASA has made available for free download a ne...
5. Cloud – An Operating System That Boots Into A Browser
After the successful debut with gOS Linux in Wal-Mart comput...
6. The New Python 3.0: A Release Incompatible With 2.x Versions
Python is a well known programming language that allows the ...
7. Moonlight 1.0 Beta 1 Is Available For Free Download
Moonlight 1.0 Beta 1, the open source implementation of Micr...
8. All Popular Social Networks In One Place: Power.com
The concept of social networking is one of the attributes of...
9. The Distribution of PHP / MySQL Applications With Server2Go
Server2Go is a Windows based software that allows the distri...
10. Link Baiting: The Building Of One Way Links In A Natural Manner
One way links represent a direct link to a given website, bu...

Last 20 Scripts

 
1. JamUba AJAX Stock Script
JamUba AJAX Stock Script allows the user to embed a flexible
2. YouTube Video Script
YouTube Video Script runs on YouTube API and fetches million
3. Smooth Navigational Menu
Smooth Navigational Menu is a multi level, CSS list based me
4. JamUba ftpsync Script
JamUba ftpsync Script is a Perl utility to synchronize the h
5. Easy 2Checkout Integrator
Easy 2Checkout Integrator script provides a simple and easy
6. Wussa
Wussa is a script suitable for webmasters planning to create
7. WPJobAds
WPJobAds is a WordPress job board plugin that lets you sell
8. Wallpaper Website Creator
Wallpaper Website Creator is a PHP based script that helps y
9. Flex2 Advanced ColorPicker
Flex2 Advanced ColorPicker is a color picker component for F
10. Tree CheckBox
Tree CheckBox is a Flex3 component resulted from the customi
11. ResizeTool
ResizeTool is a simple and easy to use resize tool to be imp
12. Flickr Cube Viewer
Flickr Cube Viewer is a small utility based on Flex that all
13. Font Reader
Font Reader is an Actionscript 3 based true type font parser
14. iPod like Scroller
iPod like Scroller is a simple component which can simulate
15. AMFPHP
AMFPHP is a free open-source PHP implementation of the Actio
16. FlashFlickr PhotoGallery
FlashFlickr PhotoGallery is an image gallery made in Flex2/A
17. jQuery.popeye
jQuery.popeye script is an inline lightbox alternative.
18. prettyComments
prettyComments script provides a solution for comment boxes
19. prettyPopin
prettyPopin provides a nice way to display simple content or
20. MYRE Realty Manager
MYRE Realty Manager is a complete realty listing management