Make the hold method configurable in the dashboard

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-15 19:05:21 +01:00
1 parent 9a56fc5b48
commit 6b9bf3cd5f
40 files changed
+815 -134

No files matched your search

+6 -2
View File
@@ -20,6 +20,7 @@ All optional. Read at startup; list entries need an index (`__0`, `__1`, ...).
| `ConnectionStrings__Flypaper` | SQLite database | `Data Source=/data/flypaper.db` |
| `Flypaper__DataProtection__KeysPath` | Keys for login cookies and forms | `/data/keys` |
| `Flypaper__GeoIp__Directory` | Folder for the DB-IP databases; empty disables GeoIP | `/data/geoip` |
| `Flypaper__Drip__Content` | Hold method: `Html`, `Text` or `Alternating` | `Html` |
| `Flypaper__Drip__MinDelay` / `MaxDelay` | Pause between chunks | `00:00:00.05` / `00:00:01` |
| `Flypaper__Drip__MinChunkSize` / `MaxChunkSize` | Bytes per chunk | `1` / `64` |
| `TZ` | Time zone for the dashboard | UTC |
@@ -30,11 +31,14 @@ The defaults of the runtime settings below can also be set this way, e.g.
## Runtime settings
Changed on the dashboard's settings page, stored in the database, effective immediately. The
reset button removes all saved values.
general reset button removes all saved values; the hold method section has its own reset.
| Setting | Default |
|---|---|
| Maximum hold time per catch | `01:00:00` |
| Hold method: content (HTML filler text, random plain text, or alternating per catch) | HTML filler text |
| Hold method: pause between chunks, min and max (10 ms to 30 s) | 50 ms / 1000 ms |
| Hold method: chunk size, min and max (1 to 4096 bytes) | 1 / 64 bytes |
| Hold method: maximum hold time per catch | `01:00:00` |
| Maximum connections overall | `1000` |
| Maximum connections per IP | `10` |
| Keep catches (days, `0` = forever) | `90` |