Path, headers and body of every catch are checked; command and target server are stored, shown defanged in the dashboard and via MCP list_commands. Changelog prepared for 0.11.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 KiB
18 KiB
Changelog
All notable changes to Flypaper are documented in this file. The format follows Keep a Changelog, and the project uses Semantic Versioning.
Unreleased
0.11.0 - 2026-11-27
Added
- Command detection: path, headers and body of every catch are checked for injected commands (download or
connect with
wget,curl,tftp,ncand a target, shell pipes,chmod, PHP code, PowerShell,base64 -d,rm -rf), also URL-encoded. The command and the target server are stored with the catch (migrationAddDetectedCommands); stored catches are checked once at startup, bodies only where still recorded. Pattern based, so it can miss commands or raise false alarms. - Dashboard: card „Eingeschleuste Befehle“, badge „⚠ Befehl“ and details in the catch list and a filter „Befehl: Nur mit Befehl“. Commands and servers are shown defanged as plain text.
- MCP: read-only tool
list_commands.
0.10.0 - 2026-11-26
Added
- Request recording: headers and the first 8 KB of the body of every trapped request are stored in a new table
(migration
AddTrapRequests). The body is read alongside the response (at most 5 s, at most 1 s after the catch ends), so the trap answers as before. Nothing is masked, includingAuthorization,Cookieand passwords. Deleted afterFlypaper__Retention__RequestDays(default 30) or together with the catch. Rejected connections are not recorded. Switch:Flypaper__CaptureRequests(defaulttrue). - Dashboard: expanded rows of the catch list show „Gesendete Anfrage“ with headers and body as plain text, loaded only when a row is opened (signed-in only).
- MCP: read-only tool
get_requestreturns the recorded headers and body of one catch, marked as untrusted.
0.9.0 - 2026-11-26
Added
- Signposts in fake files:
.env(BACKUP_URL,ADMIN_URL,CONFIG_URL), JSON and YAML (backup_url,api_base), SQL dumps (comment naming the previous dump) and the Git config (remote URL) point back into the trap. They sit in the first, undelayed chunk and carry the marker of the serving catch, so a later request shows which catch the address came from, even from another IP. Switch:Flypaper__Drip__Signposts(defaulttrue), no dashboard setting. No database change. - MCP: every catch has a
marker, andlist_catchesacceptsmarkerto find the catch that handed out a signpost.
0.8.0 - 2026-11-22
Added
- Dashboard: the overview lists the bots held in the trap right now („Gerade in der Falle“) with IP (links to its catches), origin, target, strategy, user agent, time held and bytes sent. The list is kept in memory only and refreshes with the page (every 30 s).
- MCP: read-only tool
list_activereturns the same list (with provider, city and ASN); empty after a restart.
0.7.0 - 2026-11-21
Added
- Lure for first visits: a GET on
/or/favicon.icofrom an IP without any stored catch is answered at once with a small WordPress-looking page (lure-page, withX-Powered-By: PHP/8.1.27, awp-jsonlink header and links to/wp-login.php,/wp-admin/,/wp-content/uploads/backup/,/wp-config.php.bak) or a favicon (lure-icon) and is not held. Every later request of that IP is trapped as before. Switch:Flypaper__Drip__Lure(defaulttrue), no dashboard setting. - Explanations for catches: rules in the database (kind
Target,ClientInfoorOutcome, regular expression, German plain text, priority, on/off, note, creator) explain what a bot wanted, with which tool and how it ended. Rules are matched when a catch is displayed, so new rules also apply to old catches; per kind the rule with the highest priority wins. Patterns run withNonBacktrackingand a timeout, are validated and length-limited when saved, and compiled rules are cached until a rule changes. No rules are shipped. - Dashboard: expanded rows of the catch list show „Was ist passiert?“ (or a muted „Unbekanntes Ziel“), the catch filter has „Erklärung: Ohne Erklärung“, and the new page „Erklärungen“ lists the rules with pattern, text, number of matches, on/off switch and delete.
- MCP: read-only tools
list_explanation_rules,list_unexplainedandtest_explanation_rule; toolscreate_explanation_rule,update_explanation_rule,set_explanation_rule_enabledanddelete_explanation_rulefor tokens with write permission. - MCP tokens: write permission is back (switch on the settings page, database column
CanWrite, new migration). Tokens without it neither see nor can call the write tools. The server description mentions the new tools.
Changed
- Dashboard: the expanded row of the catch list no longer repeats the strategy name, explanation and technical details; they stay in the tooltip of the „Strategie“ column and in the „Strategien“ tab.
Removed
- Hold method „Inhalt“ (HTML filler text, random text, alternating) with
text-drip,TextDripStrategy, the settingFlypaper__Drip__Contentand its radio buttons. The link labyrinth is always used; a leftoverFlypaper__Drip__Contentis ignored and logged as a removed setting.
0.6.0 - 2026-11-21
Removed
- Page „Erkenntnisse“ (
/erkenntnisse) with lab notebook and idea table, including its navigation entry and all stored entries and ideas (tablesLabEntriesandIdeasare dropped by a migration, without backup). - MCP: tools
list_entries,list_ideas,create_entry,update_entry,create_idea,update_ideaandset_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-dripwith any drip speed is one row „Endlose Webseite“; the old namedripcounts as the same. Onlyhead,linkandrepeatstay 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-dripnow answers every.gitvariant (/.git,/.git/…,.gitconfig,.git-credentials,.gitignore…), newsvn-drip(/.svn/…:format,entries,wc.db) andhg-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 lastFlypaper__RepeatWindowDaysdays (default 7,0= off) is held forFlypaper__RepeatHoldDuration(default 1 day) instead of the maximum hold duration. The catch's strategy gets the suffixrepeat, 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_entriesandlist_ideasand write toolscreate_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 fromFlypaper__Mcp__Tokenstay read-only, and read-only tokens do not even see the write tools. - Link labyrinth: the HTML page (strategy
maze-drip, withlink <n>Bsuffix) carries about ten links already in the head start and then a new link everyLinkSpacingbytes (default 160,0= oldhtml-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.txtis served at once and complete (User-agent: *,Disallow: /, strategyrobots-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 strategyrobots-baitand 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
toptool acceptsstrategiesas a dimension. - Content matches the requested path:
.env,*.json,*.xml(sitemaps),*.yml,*.sql,/.git/…, Hikvision/SDK/…and/ISAPI/…(XML) andwp-login.php(WordPress login page) get an endless, matching file with the rightContent-Typeinstead of an HTML page (strategy namesenv-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 the200headers, with aServerheader, so scanners see a real response before the drip begins. Adjustable on the settings page; the stored strategy name gets ahead <n>Bsuffix (none when off).
0.4.0 - 2026-11-15
Fixed
- MCP results now include fields whose value is
null(e.g.sinceofget_statswithperiod=all, a missing label intop) 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).toplists the allowed values ofdimensionin 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.675bytes,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 astext/plain. - Each catch stores its strategy with the parameters in use, e.g.
text-drip 50-1000ms 1-64B; MCP results include it asstrategy.
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__KnownHostsandFlypaper__Http__TrapPathsvariables and the matching logic: every request on the trap port is caught, only/healthfrom 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
/mcpon the dashboard port (Streamable HTTP) with read-only toolsget_stats,list_catches,top,longest_catchesandlookup_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
Hostheader 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),
/healthendpoint, Docker image running as non-root with all data under/data. - Public images for
linux/amd64andlinux/arm64in the Gitea registry. - Unraid Docker template; when started as root, the container hands
/datato its app user and drops privileges.