Skip to content

PyFilter release v2.1.0!

Latest

Choose a tag to compare

@Jason2605 Jason2605 released this 12 Feb 16:20
· 28 commits to master since this release
17fb6ba

Release 2.1.0

This release includes many changes:

  • Redis now holds data on the last 10 bans (PyFilter-Admin) and changes the sqlite table layout

  • Ability to instantly ban IPs on certain regex patterns.

  • Save ban reason and server name to redis/sqlite (PyFilter-Admin)

  • Implement IPv6 banning

  • Remove debug print statements, add a month directory for the logs.

  • Redis PubSub

  • Fix iptables commands for v4/v6

  • Change scan method for Redis

  • Safe cursor closing on insert in Sql

  • Missing docstring

  • Fix "http_status_blocks" and remove IP from dictionary on ban

Details

  • Redis PubSub.
    • PubSub allows connection to be made to listen for published messages rather than scanning the entirety of redis looking for bans. That only happens on startup now rather than periodically.
  • IPv6 has been introduced!
  • Changes to the way data is stored to allow the use of PyFilter-Admin.
  • General cleanup of the files.
  • Ability to instantly ban on user defined regex patterns.