Remove trap paths and known hosts: catch everything on the trap port

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-15 18:56:35 +01:00
1 parent b9f2b0443c
commit 9a56fc5b48
31 files changed
+335 -462

No files matched your search

+3 -5
View File
@@ -11,7 +11,7 @@ the dashboard shows you who knocked: country, network provider and what they wer
flowchart LR
bot["Scanner bot"] -->|"GET /.env<br/>Host: 203.0.113.7"| proxy["Reverse proxy"]
proxy -->|"known site"| apps["Your apps"]
proxy -->|"unknown host or trap path<br/>+ X-Real-IP"| flypaper["Flypaper"]
proxy -->|"unknown host<br/>+ X-Real-IP"| flypaper["Flypaper"]
flypaper -.->|"endless HTML,<br/>a few bytes at a time"| bot
flypaper --> db[("SQLite:<br/>catches, settings")]
you["You (LAN)"] -->|"dashboard, port 8081"| flypaper
@@ -87,8 +87,7 @@ server {
}
```
Nginx Proxy Manager, Caddy, Traefik and bait paths on your real domains:
[docs/reverse-proxy.md](docs/reverse-proxy.md).
Nginx Proxy Manager, Caddy and Traefik: [docs/reverse-proxy.md](docs/reverse-proxy.md).
## Configuration
@@ -98,10 +97,9 @@ Nothing is required. The most useful optional environment variables:
|---|---|
| `Flypaper__Admin__Password` | Fixes the dashboard password instead of setting it on first visit |
| `Flypaper__Http__TrustedProxies__0` | Proxy IP or CIDR allowed to set `X-Real-IP` (default: private networks) |
| `Flypaper__Http__KnownHosts__0` | Host that is caught only on trap paths |
| `TZ` | Time zone for the dashboard |
Trap paths, limits and retention are changed on the dashboard's settings page. All variables
Limits and retention are changed on the dashboard's settings page. All variables
and settings: [docs/configuration.md](docs/configuration.md).
## Security