Skip to main content
Email Password   helpLost your password?

Introduction

Please note - if you're just looking for the completed tool for use on an IIS server, visit this site where you'll find a more up-to-date file and some discussion about using it.  If you're looking for example code and a little explanation of how it works, please read on!

FTPSecurity is a tool I created based on the frustration I've had with constant dictionary attacks on my IIS FTP server.  Neither IIS nor ISA have a mechanism which will ban a user by IP after a fixed number of logon attemtpts, only by username.  This code will use Log Parser 2.2 which can be downloaded for free from Microsoft.  I may update it eventually to remove the Log Parser requirement, but for now it makes the project a great deal easier.

The application runs as a Windows service and logs events and errors to the application event log.  It can update a single FTP site or the FTP root.  The process used by the application to block unauthorized users is as follows:

I've been running this on my own servers for about two weeks and everything seems very stable so far.  Good luck with it and if you have any questions or suggestions please let me know!

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
NewsUpdated version Pin
-=Deriven
3:40 9 Nov '07  
QuestionDoes not seem to work Pin
macsmulders
4:27 19 Mar '07  
Generalfirst digit of IP address drops off [modified] Pin
cougar694u
12:00 9 Jan '07  
GeneralRe: first digit of IP address drops off Pin
Cpt. Jack
12:17 9 Jan '07  
GeneralRe: first digit of IP address drops off Pin
cougar694u
15:50 10 Jan '07  
QuestionDifferent Error on Startup Pin
therealgreg
21:30 22 Dec '06  
GeneralRe: Different Error on Startup Pin
Cpt. Jack
12:11 23 Dec '06  
GeneralRe: Different Error on Startup Pin
therealgreg
10:14 24 Dec '06  
GeneralError on startup Pin
Bill Patten BPCS
10:34 6 Dec '06  
AnswerRe: Error on startup Pin
Cpt. Jack
14:09 6 Dec '06  
GeneralRe: Error on startup Pin
Bill Patten BPCS
14:24 6 Dec '06  
GeneralDamned dictionary attacks Pin
nxtwothou
11:12 28 Nov '06  


Last Updated 23 Dec 2006 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009