143 lines
7.0 KiB
Markdown
143 lines
7.0 KiB
Markdown
# 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
|
||
|
||
- Content matches the requested path: `.env`, `*.json`, `*.xml` (sitemaps), `*.yml`, `*.sql`,
|
||
`/.git/…` and `robots.txt` get an endless, matching file with the right `Content-Type`
|
||
instead of an HTML page (strategy names `env-drip`, `json-drip`, …). Switchable on the
|
||
settings page (`Flypaper__Drip__MatchPath`).
|
||
- Head start: the first bytes of the page (at least `HeadStartSize`, default 1024) are sent
|
||
immediately after the `200` headers, with a `Server` header, so scanners see a real response
|
||
before the drip begins. Adjustable on the settings page; the stored strategy name gets a
|
||
`head <n>B` suffix (none when off).
|
||
|
||
## [0.4.0] - 2026-11-15
|
||
|
||
### Fixed
|
||
|
||
- MCP results now include fields whose value is `null` (e.g. `since` of `get_stats` with
|
||
`period=all`, a missing label in `top`) instead of leaving them out, so they match the
|
||
tools' output schemas.
|
||
- MCP tools answer unknown or missing parameters with a readable error instead of
|
||
"An error occurred invoking …" or silently ignoring them, e.g. `unknown parameter 'by';
|
||
expected 'dimension' (ips|countries|providers|targets|user_agents)`. `top` lists the allowed
|
||
values of `dimension` in its input schema. Invalid arguments are logged as warnings.
|
||
|
||
### Changed
|
||
|
||
- Rejected connections stand out on the dashboard: the "Abgelehnt" metric shows the last
|
||
24 hours, and the catch list marks them with an "Abgelehnt" badge. Outcomes are shown in
|
||
German. Top lists and hold times still count only real catches.
|
||
- The "Haltezeit gesamt" metric shows the average hold time per catch below it.
|
||
- The catch list on the dashboard has filters for period, outcome, country and a free-text
|
||
search over IP, provider, target and user agent. A click on a top 10 row filters the list by
|
||
that country, provider, IP or target (a second click removes it). Active filters show as
|
||
chips with the number of matches, live in the URL (`?land=HK&ausgang=abgelehnt&q=…`) and
|
||
survive the auto-refresh; "Weitere laden" shows up to 500 entries. Metrics and top 10 stay
|
||
unfiltered.
|
||
- The outcome "Abgebrochen" is now called "Aufgegeben".
|
||
- Dashboard polish: equal metric tiles with a one-line note each (unique IPs show the last
|
||
24 hours), map and top 10 card of equal height with a larger legend and visible
|
||
small-country markers, country and provider names in the regular font with a separate share
|
||
column, and German number formats throughout (e.g. `1.675` bytes, `15.11. 20:01:50`).
|
||
|
||
## [0.3.1] - 2026-11-15
|
||
|
||
### Changed
|
||
|
||
- The dashboard's top 10 lists share one card with tabs (Länder, Provider, IPs, Ziele); the
|
||
selected tab survives the auto-refresh.
|
||
|
||
## [0.3.0] - 2026-11-15
|
||
|
||
### 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.
|
||
- Redesigned settings page with sections, side navigation and choice cards.
|
||
- Redesigned dashboard with weighted metrics, a more compact world map, share bars in the top
|
||
tables and a short guide while no catches exist yet.
|
||
|
||
### 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.4.0...main
|
||
[0.4.0]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.4.0
|
||
[0.3.1]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.3.1
|
||
[0.3.0]: https://gitea.anticarnist.de/Tom/Flypaper/releases/tag/v0.3.0
|
||
[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
|