Skip to content

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

License

Notifications You must be signed in to change notification settings

zutto/spamhaus-blocklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages