Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zutto/spamhaus-blocklist
- Owner: zutto
- License: gpl-3.0
- Created: 2017-06-20T10:55:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T11:15:18.000Z (over 7 years ago)
- Last Synced: 2024-12-08T00:47:15.628Z (28 days ago)
- Topics: bash, blacklist, blocklist, nginx, spamhaus
- Language: Shell
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.confand 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.