mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8512] [Feature]: Decide Docker gateway trust when the port is published beyond loopback #8385
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8385
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8512
Originally assigned to: @Gunterlie on GitHub.
Split from #7914.
What problem does this solve?
Docker auto-trust treats requests from the container's gateway address as local while no login is set (
packages/server/src/services/access-policy.ts, Docker trust branch). The default Compose file publishes on127.0.0.1:7860, so only the host reaches the container and this is safe.If an owner changes the mapping to all interfaces (
-p 7860:7860) on Docker Desktop or OrbStack, LAN clients reach the container from the gateway address too. With no login set, they are trusted like the host. The server cannot see the host port mapping from inside the container.Options
docker logs. Safer, one extra first-run step.Acceptance
docs/REMOTE_ACCESS.md,docs/CONFIGURATION.md, container docs) and docs-i18n follow-up.@Gunterlie commented on GitHub (Oct 30, 2026):
Decision: keep the Docker gateway trust, warn louder. Nothing changes for current Docker users. Scope: a clear startup warning while Docker auto-trust is active and no login is set, plus docs for publishing the port beyond loopback (and a docs-i18n follow-up).
@Gunterlie commented on GitHub (Oct 30, 2026):
Done in #8553 (merged into staging).
@Gunterlie commented on GitHub (Oct 30, 2026):
Done in #8553 (merged into staging).