Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
7afe7e9b6f update IP regex
see https://framagit.org/ppom/reaction-wiki/-/issues/13
2023-12-20 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
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
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
05d50c74c4 fix not installable systemd file 2023-11-11 12:00:00 +01:00
ppom
52dc67ed34 more ssh regexes 2023-11-05 12:00:00 +01:00
ppom
6ee78f45f2 fix confs iptables 2023-11-05 12:00:00 +01:00
ppom
2c73a8af03 update confs 2023-10-28 12:00:00 +02:00
ppom
8c50f8412a new doc, new examples, support -help 2023-10-22 12:00:00 +02:00
ppom
b7eeb51e82 several fixes
- wait for start/stop commands to finish running
- better logs
2023-10-22 12:00:00 +02:00
ppom
4053a83629 reaction show: implement --limit: stream/filter filtering
fix #28
2023-10-21 12:00:00 +02:00
ppom
b56ccffd3b Fix persistence bug 2023-10-20 12:00:00 +02:00
ppom
345dd94b17 Implement start/stop commands
fix #41
update README and configuration files accordingly
2023-10-18 12:00:00 +02:00
ppom
22ac3764e4 remove last "retry-period" occurences 2023-10-18 12:00:00 +02:00
ppom
9d44c05a17 Configs refactor. New WIP config for activity watch like reaction server 2023-10-12 12:00:00 +02:00
ppom
92e07f5fe6 ip46tables
wrote `ip46tables` C minimal program to handle both ipv4 and ipv6 at the same time.
fix #22
2023-10-05 12:00:00 +02:00
ppom
e56b851d15 support json, jsonnet, yaml formats
- jsonnet, json and yaml support for configuration
- json and yaml support for output formats

fix #40
fix #27
2023-10-05 12:00:00 +02:00
ppom
b6d7e5a946 server-client "show" reimplemented
Bug → expired matches are still present
2023-09-24 16:43:18 +02:00
ppom
a119e0814b one goroutine handles all actions
pending actions are now data, they're not goroutines anymore ❤️

warn: cli currently doesn't work, but it's already a huge commit
2023-09-22 18:12:11 +02:00
ppom
52556f69b9 one goroutine handles all matches
it's not the filters that handles their matches anymore
2023-09-09 23:38:53 +02:00
ppom
1cb0562e15 persist flushes accross restarts. fixes #23 2023-09-09 19:32:23 +02:00
ppom
6a694d6bcb change test 2023-09-06 02:05:51 +02:00
ppom
48f2517074 database refactor
fixes #21
2023-09-06 02:00:33 +02:00
ppom
fdaf215c2c documentation 2023-09-03 13:26:27 +02:00
ppom
799ba88823 New unified CLI design
fixes #25
thanks @bertille-ddp for comments && suggestions!
2023-09-03 12:13:18 +02:00
ppom
b3791319d8 Permit regex ignores. Fixes #18 2023-08-21 23:35:19 +02:00
ppom
075b9252b7 fix #24 2023-07-12 17:45:16 +02:00
ppom
98f7f15ae0 Update presentation 2023-05-26 13:53:59 +02:00
ppom
a1da122601 fix socket path issues 2023-05-05 15:33:00 +02:00
ppom
3283077102 Fix doc error
'd' is an invalid duration unit
https://pkg.go.dev/time#ParseDuration
2023-05-05 15:12:24 +02:00
ppom
f3080f5293 Untested cli/daemon communication code 2023-05-03 20:03:22 +02:00
ppom
3499cfd6c8 fix iptables commands: allowlist local IPs 2023-04-27 12:38:57 +02:00
ppom
a2be5a566c Working log code
Closes #7 #17
2023-04-27 10:42:19 +02:00
ppom
83a29904d5 order 🧹 2023-04-26 17:11:03 +02:00