Commit Graph

39 Commits (master)

Author SHA1 Message Date
Strykar 8c43300b45 Double quote to prevent globbing
https://www.shellcheck.net/wiki/SC2086

Signed-off-by: Strykar <strykar@masked.invalid>
2022-10-21 05:25:40 +02:00
Y 8aaa04389f ipset support; fixes #1 2018-03-17 17:46:22 +01:00
Yves G f3b674ca26 dnat actions: simulate a transparent proxy, where logs are concerned 2018-03-16 13:42:01 +01:00
Y e8d7d8df5c fix in action_nftBan documentation 2018-03-12 18:18:28 +01:00
Y 60b7f11176 filter_inNetworks: allow an IP as a network (mask = /32 or /128) 2018-02-27 20:40:40 +01:00
Y 0140a934c2 action_log: log to systemd, aka. enable recidive detection 2018-02-27 11:50:52 +01:00
Y c5135e847a filter_inNetworks: check if IP is in one of the given networks 2018-02-24 21:16:22 +01:00
Y fb6a69c40e detect loops while building the workflow, not after: faster, better 2018-02-24 13:05:57 +01:00
Y 71a9ba321f daily report: see all, none, first, last, or first+last times 2018-02-23 20:24:11 +01:00
Y 7f8ae95a5f remove Capabilities limit: it causes failure on external commands 2018-02-18 15:38:14 +01:00
Y cbb15ae4ab install.md 2018-02-14 21:09:12 +01:00
Y 91b1f15a9d documentation 2018-02-11 13:17:48 +01:00
Y 2cd37db196 fix action_nftBan for usage with pyruse-boot 2018-02-08 22:25:04 +01:00
Yves G d0b33c7191 pyruse-boot systemd unit becomes a prerequisite of pyruse when enabled 2018-02-08 14:42:27 +01:00
Yves G 50a4be71f0 fix missing sys and conf error in pyruse-boot 2018-02-08 14:42:27 +01:00
Y 901da5a367 more visible HTML tables in the daily report 2018-02-08 14:24:19 +01:00
Y 6f557f347e Avoid SMTP errors (lines >998 characters) using quoted-printable 2018-02-05 21:43:54 +01:00
Y 75800a616f CAP_SYS_ADMIN needed for running commands in a container (nsenter) 2018-02-05 19:30:48 +01:00
Yves G 6a5de578bb use a fallback 8bit decoding for non-utf8 messages 2018-02-05 19:30:48 +01:00
Y 9ddc8394d4 action_nftBan: do not fail on delete; only on add 2018-02-05 19:30:48 +01:00
Y 2a73c2d81f fix unwanted loops: do not actually reuse a chain unless it is a dead-end + check for loops 2018-02-05 19:30:48 +01:00
Yves G dea4b5a016 switch from Step.run() recursion to Step.run()-in-a-loop to avoid too-deep call stacks 2018-02-05 19:30:48 +01:00
Yves G 14bda0a09b let the whole code enter this new year 2018 :-) 2018-01-31 13:07:05 +01:00
Yves G 07ae8164cd fix None handling in filters 2018-01-31 13:05:42 +01:00
Yves G 50075efcfb make the dailyReport able to cope with restarts 2018-01-31 13:04:23 +01:00
Yves G 4b42b69b49 better memory management for counters 2018-01-31 13:03:00 +01:00
Yves G fd1f801808 set PWD to /etc/pyruse in systemd units 2018-01-31 13:01:45 +01:00
Yves G cbe3fc2f56 fix bugs in main.py 2018-01-31 13:00:21 +01:00
Yves G aa47d9805b fix bugs in config.py 2018-01-31 12:59:32 +01:00
Yves G 91b65d8e1e optionally store names taken from the configuration file to ease debugging 2018-01-31 12:58:26 +01:00
Yves G f58781adad no more fallbacks 2018-01-31 12:04:21 +01:00
Yves G d73780cacd "then" is now applicable to filters as well as actions 2018-01-31 11:58:12 +01:00
Y 298a4c3a11 more filters 2018-01-31 08:30:19 +01:00
Y 2680405c89 better-organized unit tests 2018-01-31 08:28:05 +01:00
Y 98be1c89db setup and configuration information 2017-12-17 15:43:47 +01:00
Y 018441b27d systemd units 2017-12-17 15:43:47 +01:00
Y 86f27e8aa3 filter to match any number of regex + noop action == a reject filter 2017-12-16 18:59:33 +01:00
Y 03b36437f0 daily journal temporary storage in a file 2017-12-16 18:31:06 +01:00
Y fc864feca4 init 2017-12-15 19:41:31 +01:00