Skip to content

Releases: twilsonco/AutoBlockIPList

Working with reduced disk space

Choose a tag to compare

@twilsonco twilsonco released this 18 Feb 00:15

The system partition on Synology DSM is very small (around 2.3GB), and the IP block list is stored there, limiting the number of entries you can have, and causing DSM issues if the database gets too big and you run out of space. This release adds some options to try and limit disk space use, and for working with a database once you're already run out of disk space.

Handle full database error

Choose a tag to compare

@twilsonco twilsonco released this 04 Feb 19:09

Turns out that, despite what mariushosting says, a Synology NAS does not "...have no problem with blocking as many IPs as you need." The limit is a bit over 6 million IPs for my ds916+. You can hit that limit pretty easily when lists using CIDR notation are used.

This release will add as many IPs as will fit, and if you hit the limit, it leaves out the remainder, leaving you with the close-to-max number of IPs in your AutoBlock database.

1.1.0

Choose a tag to compare

@twilsonco twilsonco released this 04 Feb 05:39

Uses a virtual environment for AutoBlockIPList to avoid changes to other things maybe using Python, and makes the IP list parsing more robust.

Adds the ability to handle lists with CIDR notation to specify an IP range such as

0.0.0.0/8
1.10.16.0/20
1.19.0.0/16
1.32.128.0/18

or lists that have other stuff on each line like:

# IP number of (black)lists
#
83.222.191.62 8
218.92.0.111 8
218.92.0.114 8

Also modified the script so that, when using dry-run, you can run it on any machine to test it.