Skip to content

security: verified socat mitigation recipes + monthly base-image digest refresh - #20

Merged
libre-7 merged 1 commit into
mainfrom
feat/security-hardening-docs
Aug 24, 2026
Merged

security: verified socat mitigation recipes + monthly base-image digest refresh#20
libre-7 merged 1 commit into
mainfrom
feat/security-hardening-docs

Conversation

@libre-7

@libre-7 libre-7 commented Aug 24, 2026

Copy link
Copy Markdown
Owner

S1 — socat exposure mitigation (README)

Adds a Securing the socat port section next to the socat bridge docs with two live-verified recipes against the v1.0.1 image:

  • Option A: loopback-only publish (-p 127.0.0.1:5226:5226) — verified WS handshake 101 via loopback, connection refused from LAN IP; plus optional DOCKER-USER iptables allowlist and Tailscale serve forward for tailnet-only exposure.
  • Option B: nginx basic-auth sidecar fronting the WebSocket — verified 401 without/with wrong creds, 101 WebSocket Protocol Handshake with correct creds.

S5 — base-image digest rotation (.github/workflows/base-refresh.yml)

Monthly scheduled workflow (plus workflow_dispatch): resolves current ubuntu:24.04 digest via skopeo, compares to Dockerfile line-1 pin, opens an automated PR when it moved. Keeps the digest pin; automates re-pinning.

Both verified from the test VM (192.168.1.127); containers/images cleaned up afterwards.

@libre-7
libre-7 merged commit 5f4be20 into main Aug 24, 2026
1 check passed
@libre-7
libre-7 deleted the feat/security-hardening-docs branch August 24, 2026 07:40
libre-7 added a commit that referenced this pull request Aug 24, 2026
security: verified socat mitigation recipes + monthly base-image digest refresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant