Hi all,

I've been admiring Nim and have written some programs in it. Recently, we had 
to tackle a problem at work and decided to go with Nim. That is how **nginwho** 
came to life and we are gladly opensourcing it.

**nginwho** is a lightweight, efficient and extremely fast program offering 
three main features at its core:

  1. nginx log parser: Stores nginx logs into a sqlite3 database for further 
analysis and actions
  2. Restore Cloudflare original visitor IP: Continuously parses Cloudflare 
CIDRs (IPv4 and IPv6) through their APIs so that nginx can leverage it to 
restore the original IP address of visitors
  3. Block untrusted requests: Uses **nftables** to block HTTP and HTTPS 
requests coming from unknown IP addresses



Here is the link to the repo:

<https://github.com/pouriyajamshidi/nginwho>

And the link to nimble:

<https://nimble.directory/pkg/nginwho>

Reply via email to