Skip to content

Script to help with server security management. Uses Python and a little Linux (cat, whois and grep) to return a list of CIDR blocks relating to ip's which have made a connection with Apache server

Notifications You must be signed in to change notification settings

BobbyLeonard/Apache-Log-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Apache-Log-Parser

Script to help with server security management. This script returns a list of CIDR blocks relating to Ip's which have made some connection with Apache server over the last 2 days. 99% of this traffic is unwanted (port scans, sqlmap attempts, research scans, etc.) Because only 3, maybe 4 different networks ever have a legitimate reason to have a connection with my server, my solution is to ban anyone else who attempts to connect. I do this by running PSAD (https://github.com/mrash/psad) and passing the output of this script to PSAD's blocking file (auto_dl)

About

Script to help with server security management. Uses Python and a little Linux (cat, whois and grep) to return a list of CIDR blocks relating to ip's which have made a connection with Apache server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages