DEV Community

Discussion on: What's the Latest Project You're Working On?

Collapse
 
jrbrtsn profile image
John Robertson • Edited

I have several projects going, but the most recent is ban2fail. ban2fail was inspired by fail2ban, but deals with issues in system log files in well under a second, and remembers the blocking status for as long as the offense remains in the system logs. This program can save a lot of wasted bandwidth on your servers! ban2fail is written in pure C, and yet is object oriented with easy to follow class declarations. Uses Berkeley DB for caching, is small and blazingly fast. Somewhat interesting is that when reporting, it uses 200 threads in parallel for DNS lookups, both forward and reverse.