PSAD, also known as Port Scan Attack Detector, is a lightweight IDS that uses the snort signatures. I made a simple script to add a summary to logwatch: report the number of IP's blocked by PSAD after a portscan; the top-attackers and a list of countries from which the attackers operate.
For more people to make use of it, it can be added to the source...
I am new on sourceforge, so please help me to start.
Thanks for the files. I am not familiar with psad, but I do have some comments:
head -25 scripts/services/namedto obtain a standard version of it. Change the year and copyright holder, and prepend it to the scripts/services/psad script.$psadstatushard-coded in the psad source? It is preferable to make it a configurable option, and can default to the value you've hard-coded in the script if not re-defined.whoisfor each IP address. It appears that psad has some sort of whois functionality. Can that be enabled when starting the psad process, and then Logwatch simply processes the log files with the embedded whois info?