Make the hold method configurable in the dashboard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9a56fc5b48
commit
6b9bf3cd5f
40 files changed
+815
-134
No files matched your search
@@ -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` |
|
||||
|
||||
+3
-2
@@ -31,13 +31,14 @@ flowchart LR
|
||||
## Features
|
||||
|
||||
- **Trap** for everything that reaches the trap port: whatever host or path a bot asks for
|
||||
- **Slow delivery** of endless generated HTML with irregular timing
|
||||
- **Slow delivery** of endless generated HTML or plain text (or both, alternating per catch)
|
||||
with irregular timing; content, pauses, chunk sizes and hold time are set in the dashboard
|
||||
- **Limits**: maximum connections overall and per IP, maximum hold time per catch
|
||||
- **Dashboard**: totals, a world map, top countries, providers, IPs and paths, the latest
|
||||
catches with expandable details; login with an admin password
|
||||
- **GeoIP**: country, city and ASN per catch from DB-IP Lite, downloaded and refreshed
|
||||
monthly; existing catches are filled in once the databases are available
|
||||
- **Settings page**: limits and retention, changed at runtime
|
||||
- **Settings page**: hold method, limits and retention, changed at runtime
|
||||
without a restart
|
||||
- **Retention**: old catches are deleted daily (90 days by default); catches from private
|
||||
networks are not stored by default; buttons to delete private or all catches
|
||||
|
||||
Reference in new issue
Block a user