Add Unraid template, icon and privilege-dropping entrypoint
Build and deploy / build (push) Successful in 1m32s
Build and deploy / deploy (push) Successful in 22s
Release / image (push) Successful in 1m57s
Release / release (push) Successful in 7s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-14 17:35:46 +01:00
1 parent 0984af25bc
commit 4168e9990b
8 files changed
+102 -1

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<Container version="2">
<Name>Flypaper</Name>
<Repository>gitea.anticarnist.de/tom/flypaper:latest</Repository>
<Registry>https://gitea.anticarnist.de/Tom/-/packages/container/flypaper</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>bash</Shell>
<Privileged>false</Privileged>
<Support>https://gitea.anticarnist.de/Tom/Flypaper/issues</Support>
<Project>https://gitea.anticarnist.de/Tom/Flypaper</Project>
<Overview>Self-hosted tarpit that traps and slows down scanning bots, with event logging and analysis. Instead of blocking bots, Flypaper answers them with an endless HTML page that trickles in a few bytes at a time, and logs every catch with its country and network provider.[br][br]
The trap port receives everything your reverse proxy has no site for (its catch-all / default server) and, optionally, bait paths such as /.env from your real domains. The dashboard has its own port: keep it inside your LAN. On first visit you set the admin password.[br][br]
The container starts as root only to hand the appdata folder to its app user (UID 1654), then drops privileges for good.</Overview>
<Category>Security: Network:Proxy</Category>
<WebUI>http://[IP]:[PORT:8081]/</WebUI>
<TemplateURL>https://gitea.anticarnist.de/Tom/Flypaper/raw/branch/main/unraid/flypaper.xml</TemplateURL>
<Icon>https://gitea.anticarnist.de/Tom/Flypaper/raw/branch/main/unraid/flypaper.png</Icon>
<ExtraParams>--user 0:0</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled/>
<DonateText/>
<DonateLink/>
<Requires/>
<Config Name="Trap port" Target="8080" Default="8080" Mode="tcp" Description="Point your reverse proxy's catch-all / default server here. Every request on this port is trapped." Type="Port" Display="always" Required="true" Mask="false">8080</Config>
<Config Name="Dashboard port" Target="8081" Default="8081" Mode="tcp" Description="Dashboard and settings. Keep this port inside your LAN and never forward it from your public proxy." Type="Port" Display="always" Required="true" Mask="false">8081</Config>
<Config Name="Data" Target="/data" Default="/mnt/user/appdata/flypaper" Mode="rw" Description="Database, login keys and GeoIP databases." Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/flypaper</Config>
<Config Name="Admin password" Target="Flypaper__Admin__Password" Default="" Mode="" Description="Optional. Fixes the dashboard password and disables the first-visit setup. Leave empty to set it in the dashboard." Type="Variable" Display="advanced" Required="false" Mask="true"/>
<Config Name="Trusted proxy" Target="Flypaper__Http__TrustedProxies__0" Default="" Mode="" Description="Optional. IP or CIDR of the reverse proxy allowed to set X-Real-IP / X-Forwarded-For. Default: all private networks." Type="Variable" Display="advanced" Required="false" Mask="false"/>
<Config Name="Known host" Target="Flypaper__Http__KnownHosts__0" Default="" Mode="" Description="Optional. A host that is caught only on trap paths; its other paths get a plain 404." Type="Variable" Display="advanced" Required="false" Mask="false"/>
</Container>