LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 03-20-2011, 01:41 PM   #1
kthomeer
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS
Posts: 3

Rep: Reputation: 0
Post New Project on automatic IP Blacklisting based on Apache Logs: opinion asked


Hi,

I made a small project that makes an IP blacklist based on Apache Access Logs.

You can find it here:

http://blacklist.ict-health.be/

I made it because I couldn't find other ways to block the numerous access to my webserver for screening security holes. The system is totaly automatic.

What do you think about it? Is it usefull? Or are there better ways?

Sincerely,

Koen
 
Old 03-20-2011, 08:34 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Would it have been possible to leverage fail2ban to accomplish this as well? I've never had good luck using fail2ban in this way but just wondering if you had tried that solution? Other than that thought, good work! I'll be checking this out to see if it can be used as a nice slowloris or DOS attack mitigation technique.

Regards,

Alunduil
 
Old 03-21-2011, 03:52 AM   #3
kthomeer
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by alunduil View Post
Would it have been possible to leverage fail2ban to accomplish this as well?
Thx,

it seems that fail2ban is made for protection against brute force password attacks.

Not for attacks against security holes (mod_proxy, phpMyAdmin, ...)

Koen
 
Old 03-21-2011, 10:09 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Actually, the design is flexible enough that if you can match a string in a log file it can setup the firewall rule to block an IP address. It's just a matter of crafting the right regex for the job.

Regards,

Alunduil
 
Old 03-21-2011, 01:43 PM   #5
kthomeer
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by alunduil View Post
Actually, the design is flexible enough that if you can match a string in a log file it can setup the firewall rule to block an IP address. It's just a matter of crafting the right regex for the job.
That's correct.

But the extra's in this concept:
- blacklist is centralised
- everebody can use the blacklist freely
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic mail of "Last User Login Logs" & "AIX Logs" nishith AIX 3 12-04-2009 12:42 PM
Blacklisting automatic driver modules xerxesdaphat Linux - Hardware 1 11-02-2007 02:13 AM
LXer: Opinion: It Takes a Project to Raze a Forest LXer Syndicated Linux News 0 05-05-2006 12:03 PM
Automatic email sent when ftp user logs in joadoor Linux - Security 2 04-13-2006 11:20 PM
LXer: Opinion : XGL- An Xserver framework based on OpenGL LXer Syndicated Linux News 0 02-11-2006 01:01 AM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration