Files
Flypaper/CHANGELOG.md
T

13 KiB
Raw Blame History

Changelog

All notable changes to Flypaper are documented in this file. The format follows Keep a Changelog, and the project uses Semantic Versioning.

Unreleased

Removed

  • Page „Erkenntnisse“ (/erkenntnisse) with lab notebook and idea table, including its navigation entry and all stored entries and ideas (tables LabEntries and Ideas are dropped by a migration, without backup).
  • MCP: tools list_entries, list_ideas, create_entry, update_entry, create_idea, update_idea and set_idea_status. All MCP tools are read-only again.
  • MCP tokens: write permission (switch on the settings page, column „Zugriff“, database column CanWrite).
  • Markdown rendering (Markdig).

0.5.2 - 2026-11-17

Changed

  • Dashboard, Top 10 „Strategien“: strategies are grouped by base type, so html-drip with any drip speed is one row „Endlose Webseite“; the old name drip counts as the same. Only head, link and repeat stay separate rows and show small badges („Schnellstart“, „Links“, „Wiederholer“). The drip parameters moved to the tooltip and the expanded row.
  • Columns are now catches, median hold time per catch and total. The bar and the default sort use the median (rows with fewer than 5 catches are greyed out, marked „wenige Daten“ and listed last).
  • Clicking a row filters the catch list on all variants of the group. The catch list, filter chip and expanded row show name plus badges. Old ?strategie= links still work.

0.5.1 - 2026-11-17

Changed

  • Dashboard: strategies are shown with a plain German name (e.g. „Link-Labyrinth“, „Gefälschte Zugangsdaten (.env)“) instead of the technical abbreviation. Tooltip and expanded row (also on touch devices) explain what the bot gets, spell out the suffixes (50-500ms 1-1024B, head, link, repeat) and show the technical name. Used in the catch list, the Top 10 „Strategien“ tab, filter chips and the page „Erkenntnisse“. The search also finds the German names. Unknown names are shown unchanged. Stored values and MCP results stay technical.

0.5.0 - 2026-11-17

Fixed

  • Narrow or tiny countries that are drawn as a polygon but barely visible (Israel, Lebanon, Palestine, Kuwait, Qatar, Netherlands, Belgium, Switzerland and others) now also get a marker on the world map once they have catches.

Added

  • Version-control file profiles: git-drip now answers every .git variant (/.git, /.git/…, .gitconfig, .git-credentials, .gitignore …), new svn-drip (/.svn/…: format, entries, wc.db) and hg-drip (/.hg/…: requires, store/requires) serve plausible, endless files that start like the real ones.
  • Repeat offenders: an IP that was already held until the limit (outcome Timeout) within the last Flypaper__RepeatWindowDays days (default 7, 0 = off) is held for Flypaper__RepeatHoldDuration (default 1 day) instead of the maximum hold duration. The catch's strategy gets the suffix repeat, so it can be compared in the dashboard. Both values are adjustable under „Haltemethode“ on the settings page.
  • Page „Erkenntnisse“ (/erkenntnisse, in the navigation): a lab notebook (date, title, kind experiment / observation / hypothesis / measurement method, Markdown text, optional commit and strategy names; newest first, filterable by kind) and an idea table (effort, efficiency, rationale, status open / in progress / done / dropped, implementation date and commit; sorted by effort, done and dropped ones can be shown). Markdown is rendered with Markdig without raw HTML and with only http, https and mailto links.
  • MCP: new read tools list_entries and list_ideas and write tools create_entry, update_entry, create_idea, update_idea, set_idea_status. Writing needs a token with write permission, set when creating the token or later on the settings page (new „Zugriff“ column). Existing tokens and the token from Flypaper__Mcp__Token stay read-only, and read-only tokens do not even see the write tools.
  • Link labyrinth: the HTML page (strategy maze-drip, with link <n>B suffix) carries about ten links already in the head start and then a new link every LinkSpacing bytes (default 160, 0 = old html-drip). Links match the requested path and host (/wiki/…, /docs/v2/…, /blog/2025/03/…, /backup/2025/03/), mix relative and absolute URLs and always lead to another labyrinth page. Paths ending in / get an Apache-style „Index of /…“ listing (index-drip). /robots.txt is served at once and complete (User-agent: *, Disallow: /, strategy robots-static), so well-behaved crawlers stay out and only bots ignoring it get lost. Link spacing is adjustable on the settings page.
  • Robots bait: below Disallow: / the robots.txt lists a few unlinked, plausible paths (default /backup-2024/, /admin-old/, /internal/db-export/, /old-site/; Flypaper__Drip__BaitPaths, editable on the settings page, empty = off). Requests to them and everything below get the labyrinth as strategy robots-bait and are held for at least 24 hours, so catches show who read the robots.txt and ignored it. The labyrinth never links to these paths.
  • Dashboard: the catch list has a new „Strategie“ column (hidden on narrower screens, shown in the expanded row) and the search covers it. A new „Strategien“ tab in the Top 10 card shows catches and hold time per strategy and filters the list on click. The MCP top tool accepts strategies as a dimension.
  • Content matches the requested path: .env, *.json, *.xml (sitemaps), *.yml, *.sql, /.git/…, Hikvision /SDK/… and /ISAPI/… (XML) and wp-login.php (WordPress login page) 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.