# Changelog All notable changes to Flypaper are documented in this file. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Added - Settings section "Haltemethode": content (HTML filler text, random plain text or alternating per catch), pause and chunk size ranges and the maximum hold time, with an estimate of the bandwidth per trapped connection and its own reset button. Changes apply to the next catch without a restart. - Plain-text drip strategy (`text-drip`), served as `text/plain`. - Each catch stores its strategy with the parameters in use, e.g. `text-drip 50-1000ms 1-64B`; MCP results include it as `strategy`. ### Changed - The maximum hold time moved from the general settings to "Haltemethode". - Saving one settings section no longer resets the values saved in another. ### Removed - Trap paths and known hosts, with their settings, the `Flypaper__Http__KnownHosts` and `Flypaper__Http__TrapPaths` variables and the matching logic: every request on the trap port is caught, only `/health` from private addresses is answered. Saved overrides are deleted on start; the old variables are ignored with a warning in the log. ## [0.2.0] - 2026-11-15 ### Added - MCP server at `/mcp` on the dashboard port (Streamable HTTP) with read-only tools `get_stats`, `list_catches`, `top`, `longest_catches` and `lookup_ip`, returning structured JSON. - Bearer tokens for MCP, created, listed and revoked on the settings page and stored only as SHA-256 hashes; optional fixed token via `Flypaper__Mcp__Token`. ## [0.1.1] - 2026-11-15 ### Fixed - Small countries without an outline on the world map (e.g. Hong Kong, Singapore, Macau, Bahrain, Malta) are now shown as markers with the same colour scale and tooltip. - The latest catches table no longer overflows its card; numbers always stay visible. - Requests without a `Host` header show "(ohne Host)" instead of `_`. ### Changed - Common short country names on the map and in the tables, e.g. "Taiwan" instead of "Republik China", "Hongkong", "USA". - Larger hover area for map markers. - Shorter README; reverse proxy, Unraid, configuration and release details moved to `docs/`. ## [0.1.0] - 2026-11-14 First release. ### Added - HTTP tarpit on its own port (8080): every request is caught and answered with endless, plausible HTML in random chunks of 1–64 bytes with random pauses of 50 ms–1 s. - Connection governor with limits overall and per IP and a maximum hold time; requests without a free slot get a quick 404. - Optional known hosts that are caught only on configurable trap paths. - Client IP from `X-Real-IP` / `X-Forwarded-For`, trusting private networks by default. - One log line per catch and storage in SQLite, enriched with country, city and ASN from the DB-IP Lite databases (downloaded and refreshed monthly, existing catches backfilled). - Dashboard on its own port (8081): totals, world map, top countries, providers, IPs and paths, latest catches with expandable rows. - Settings page for trap paths, known hosts, limits, retention and the private-network filter, effective without a restart; deleting private or all catches. - Admin password set on first visit (stored as a salted hash) and changeable later, or fixed with `Flypaper__Admin__Password`. - Daily retention cleanup (90 days by default), `/health` endpoint, Docker image running as non-root with all data under `/data`. - Public images for `linux/amd64` and `linux/arm64` in the Gitea registry. - Unraid Docker template; when started as root, the container hands `/data` to its app user and drops privileges. [Unreleased]: https://gitea.anticarnist.de/Tom/Flypaper/compare/v0.2.0...main [0.2.0]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.2.0 [0.1.1]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.1.1 [0.1.0]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.1.0