Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zutto/spamhaus-blocklist

bash script to pull list of IP blocks from spamhaus and format them to nginx format
https://github.com/zutto/spamhaus-blocklist

bash blacklist blocklist nginx spamhaus

Last synced: 23 days ago
JSON representation

bash script to pull list of IP blocks from spamhaus and format them to nginx format

Awesome Lists containing this project

README

        

# spamhaus ip blocklist updater

This is a tiny tool for automating the update process of nginx blocklist.

usage:
./block.sh /desti/nation/file.conf

and then inside http {} directive:
"include /desti/nation/file.conf;"
to include the denied ip blocks.

--
You can also edit the block.sh and ignore first argument.