Lightweight replacement to both epylog and fail2ban.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Y 60b7f11176 filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2 years ago
doc action_log: log to systemd, aka. enable recidive detection 2 years ago
extra filter_inNetworks: check if IP is in one of the given networks 2 years ago
pyruse filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2 years ago
tests filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2 years ago
.gitignore optionally store names taken from the configuration file to ease debugging 2 years ago
LICENSE init 2 years ago
README.md action_log: log to systemd, aka. enable recidive detection 2 years ago
TODO.md daily report: see all, none, first, last, or first+last times 2 years ago

README.md

Python peruser of systemd-journal

This program is intended to be used as a lightweight replacement for both epylog and fail2ban. Its purpose is to peruse the system log entries, warn of important situations, report daily on the latest events, and act on specific patterns (IP address bans…).

Pyruse is packaged for Archlinux. For other distributions, please read the manual installation instructions.

The /etc/pyruse directory is where system-specific files are looked-for:

Instead of using /etc/pyruse, an alternate directory may be specified with the PYRUSE_EXTRA environment variable.

For more in-depth documentation, please refer to these pages: