463c5b709f
Fixed by commit ad7091e6e7583dcca04e85d449189c7780bbbaf5
2024-04-08 19:54:02 +02:00
4c18161c9c
store multi pattern matches in a null separated string, to be usable as map key
2024-04-08 19:53:34 +02:00
833ffde474
BUGFIX partial match is no match
2024-03-31 16:58:14 +02:00
00f1647aa6
Hanle multi-pattern match on a single line of log
2024-02-24 11:01:50 +01:00
ppom
0b4030905b
ignoreregex test
2024-02-09 12:00:00 +01:00
Tom Hubrecht
8afa6281f4
Add support for ignore regexes in filters
2024-02-08 13:28:51 +00:00
ppom
c076177d2b
release.sh & Makefile: add nft46
2024-02-07 12:00:00 +01:00
ppom
bff697dc17
Add support for nftables
2024-02-05 12:00:00 +01:00
ppom
bfe0128764
Update wiki link to https://reaction.ppom.me
2024-01-17 12:00:00 +01:00
ppom
0a1614ea4d
Remove useless line
2024-01-10 12:00:00 +01:00
ppom
03862b33a6
Fix bug introduced by af2f092b
. Fix #67
2024-01-10 12:00:00 +01:00
ppom
48fb6a85a5
Fix Makefile and update install doc
2024-01-10 12:00:00 +01:00
Gabriel Moreau
b8032acf97
Update file control
2024-01-10 14:21:51 +00:00
NoTag
ea29a0467a
Add install_systemd make target
2024-01-10 13:02:21 +00:00
NoTag
73dc9f63d6
Allow to configure the C compiler in the ip46tables make target
2024-01-10 13:02:21 +00:00
NoTag
84d40b3eda
Add a make install target
2024-01-10 13:02:21 +00:00
ppom
58b624e0b9
Automate release
2024-01-09 12:00:00 +01:00
ppom
fe7806c4d7
Fix version printing
2024-01-09 12:00:00 +01:00
ppom
af2f092b71
Fix crash when all the regexes of a filter have no pattern in them
...
Fix #66
Example configuration causing crash:
```yaml
streams:
mongod_restart:
cmd: [ 'sh', '-c', 'while true; do echo "Started MongoDB Database Server."; sleep 5; done' ]
filters:
mongo_restart:
regex:
- 'Started MongoDB Database Server.'
actions:
restart_chat_tel:
cmd: [ 'systemctl', 'restart', 'nginx' ]
```
2024-01-09 12:00:00 +01:00
ppom
2b2275c547
Add repology badge
2024-01-08 12:00:00 +01:00
ppom
bc13342e06
Add banFor snippet to jsonnet example
2024-01-08 12:00:00 +01:00
ppom
e1ff702cd1
Generalisation of new SSH regex
2024-01-06 12:00:00 +01:00
fallstar
ed809f4f98
improved server.jsonnet
2024-01-06 12:00:00 +01:00
ppom
52dbbdcdb2
make: strip binaries
2024-01-05 12:00:00 +01:00
ppom
b441e91f84
Add global concurrency parameter. fix #56
...
Fix bug which caused pending actions to be run multiple times when pending time finished
Fix bug which caused
1. past pending actions to rerun on exit
2. maximum one pending action per pattern/action couple to run on exit
2024-01-05 12:00:00 +01:00
ppom
9ce589b07d
Now signing release assets. fix #54
2024-01-04 12:00:00 +01:00
ppom
592b60172a
Add rm -f deb
folder that can stay around when make fails
2024-01-04 12:00:00 +01:00
ppom
ec60a3d506
reaction show: remove empty patterns
...
fix #64
2024-01-04 12:00:00 +01:00
ppom
8874454a0f
Revert "quick fix IP regexes. see #62 "
...
This reverts commit c2723d3829
.
fix #62
2024-01-04 12:00:00 +01:00
ppom
c2723d3829
quick fix IP regexes. see #62
2024-01-04 12:00:00 +01:00
ppom
9b766aa2b8
Do not panic when a regex doesn't compile
...
Show proper error message instead
fix #58
2024-01-04 12:00:00 +01:00
ppom
f662a485b9
reaction flush
clarification
2024-01-03 12:00:00 +01:00
ppom
f6f26f283e
add a version subcommand
...
fix #63
2023-12-31 12:00:00 +01:00
ppom
b834e02755
Fix jsonnet examples
2023-12-21 12:00:00 +01:00
ppom
380599c80a
📦 — Fix "Add a make target for Debian packaging"
2023-12-20 12:00:00 +01:00
ppom
50e214c403
Merge branch 'make-deb' into 'main'
...
📦 — Add a make target for Debian packaging
See merge request ppom/reaction!2
2023-12-20 17:18:39 +00:00
Luc Didry
9d847657d1
📦 — Add a make target for Debian packaging
2023-12-20 15:56:39 +01:00
ppom
7afe7e9b6f
update IP regex
...
see https://framagit.org/ppom/reaction-wiki/-/issues/13
2023-12-20 12:00:00 +01:00
ppom
55d098c69c
update releases link
2023-12-05 12:00:00 +01:00
ppom
3921292a9b
Add link to the wiki in --help
2023-12-04 12:00:00 +01:00
ppom
0746be69ae
update: english article, wiki link
2023-11-30 12:00:00 +01:00
ppom
a132c3052a
fix example
...
fix #49
2023-11-29 12:00:00 +01:00
ppom
4927460af7
Merge branch 'main' of framagit.org:ppom/reaction
2023-11-27 12:00:00 +01:00
ppom
2e15087858
Merge branch 'zatalyz-main-patch-05879' into 'main'
...
Update server.jsonnet : typo with an extra space, creating a launch error
See merge request ppom/reaction!1
2023-11-27 13:31:00 +00:00
ppom
7503e57063
fix example
2023-11-27 12:00:00 +01:00
Zatalyz
69119d1193
Update server.jsonnet : typo with an extra space, creating a launch error
2023-11-26 10:02:41 +00:00
ppom
f1b7d4b4c7
Add go version in README
2023-11-24 12:00:00 +01:00
ppom
418af00152
comment suggestion for people that don't read the full file
2023-11-24 12:00:00 +01:00
ppom
1bb24b443c
Exit 0 when all is fine
...
Fix #45
2023-11-23 12:00:00 +01:00
ppom
831f3d0247
Fix min go version
2023-11-21 12:00:00 +01:00