Lightweight replacement to both epylog and fail2ban.
 
 
Go to file
Y 60b7f11176 filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2018-02-27 20:40:40 +01:00
doc action_log: log to systemd, aka. enable recidive detection 2018-02-27 11:50:52 +01:00
extra filter_inNetworks: check if IP is in one of the given networks 2018-02-24 21:16:22 +01:00
pyruse filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2018-02-27 20:40:40 +01:00
tests filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2018-02-27 20:40:40 +01:00
.gitignore optionally store names taken from the configuration file to ease debugging 2018-01-31 12:58:26 +01:00
LICENSE init 2017-12-15 19:41:31 +01:00
README.md action_log: log to systemd, aka. enable recidive detection 2018-02-27 11:50:52 +01:00
TODO.md daily report: see all, none, first, last, or first+last times 2018-02-23 20:24:11 +01:00

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: