Releases: dlford/blocklister
Releases · dlford/blocklister
v2.1.3
v2.1.2
Added additional logging for better insight
Full Changelog: v2.1.1...v2.1.2
v2.1.1
Update IP sets by swapping with a temporary set rather than flushing and re-filling.
Full Changelog: v2.1.0...v2.1.1
v2.1.0
Adds optional schedule
key in list
definition to override global cron schedule.
# /etc/blocklister.yml
# Cron syntax, default list updating schedule for all lists
schedule: "0 * * * *" # Every 15 minutes
# Blocklists, add as many as needed
lists:
# Title will be used for `ipset` name
- title: ipsum
# URL to a TXT file with a list of IP addresses to block
url: https://raw.githubusercontent.com/stamparm/ipsum/mastejr/ipsum.txt
# iptables chains to block IPs from, add as many as needed
chains:
# Default inbound traffic chain is INPUT
- INPUT
# Docker published ports skip the INPUT chain,
# the DOCKER-USER chain is for user rules
- DOCKER-USER
# [optional] max number of elements in set, default is 65536, increase for larger lists
max_elem: 300000
# [optional] Cron syntax, overrides default schedule
schedule: "*/15 * * * *"
Full Changelog: v2.0.1...v2.1.0
v2.0.0
Breaking Changes
blocklister /path/to/config.yml
will no longer work.
New arguments:
-v | --version
: print version
-c | --config /path/to/config.yml
: override default configuration file location
Full Changelog: v1.0.0...v2.0.0