Skip to content

Releases: dlford/blocklister

v2.1.3

13 Feb 02:00
02cd35b
Compare
Choose a tag to compare

Retry adding rule if chain does not exist.

Full Changelog: v2.1.2...v2.1.3

v2.1.2

27 Jan 20:46
aa2ecee
Compare
Choose a tag to compare

Added additional logging for better insight

Full Changelog: v2.1.1...v2.1.2

v2.1.1

27 Jan 20:32
e58987e
Compare
Choose a tag to compare

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

27 Jan 19:42
54ba80d
Compare
Choose a tag to compare

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

27 Jan 04:23
9afc4cf
Compare
Choose a tag to compare

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

v1.0.0

27 Jan 03:27
048d68f
Compare
Choose a tag to compare

Initial release