Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: LOG File Lookup
PostPosted: 2009-01-07 17:07 
New user
New user

Joined: 2008-10-30 14:44
Posts: 8
Location: Budapest, Hungary
A few days ago I successfully switched my existing mail server to hMailServer. I was browsing my LOG files and found some IPs tried to DOS the SMTP service.
I made a tool which checks all of the LOG files and looks for 530 and 535 errors, collects the IP addresses and the times and prints it out to the screen in this format:

--> IP Address
Date & Time (tab) Error Code

You only have to browse the output to check which are the most problematic IPs to ban :)
Script was written in PERL and requires only 1 variable to set to let it work. I attached a CMD file too, which collects the results and opens them in a Notepad.


Attachments:
hMailLogParser.zip [781 Bytes]
Downloaded 273 times

_________________
(\ /)
(O.o)
(} {)o
This is Bunny. Copy Bunny into your signature to help him on his way to world domination.
Top
 Profile  
 
 Post subject: Re: LOG File Lookup
PostPosted: 2009-01-07 17:16 
Developer

Joined: 2003-11-21 01:09
Posts: 6395
Location: Sweden
Nice. However I doubt they were trying to DOS the SMTP service. Much more likely it was spammers who tried to locate an account they could use to send spam. Spammers often tries to locate an account by testing weak passwords. In hMailServer 5.1 there will be auto-ban functionality to prevent these.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group