simple_repeater: filter hash throttle + opt-in message age limit (tth #3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-02 17:40:09 +01:00
1 parent e3029de6e4
commit 548b96d15c
8 files changed
+370 -29

No files matched your search

+8 -2
View File
@@ -23,8 +23,14 @@ twice a day; everything below is on top of that. Our code is marked
`#hashtag` channels), stop forwarding messages of listed sender names
(`filter add|del|list`). Names are spoofable: it contains a runaway bot,
it is not security.
* **Channel-hash deny-forward** -- `filter hash add <hex>`: keyless, works on
private channels too; reception is unaffected, only forwarding.
* **Channel-hash deny-forward** -- `filter hash add <hex> [secs]`: keyless,
works on private channels too; reception is unaffected, only forwarding.
With `secs` the channel is throttled (one packet per `secs`) instead of cut.
* **Message age limit** -- `filter age <min>|off` (opt-in, 1-10080 min): do not
forward group texts on the decrypted channels whose sender timestamp is
older; inactive while the repeater clock is unset. It judges the sender's
clock, so companions without a time sync are dropped too -- keep it in days.
* `filter dryrun on` counts every `filter` verdict but forwards anyway.
### Repeater: diagnostics and operations