EN DE
← ← Back to Index

port-management

infrastructure › port-management

Description

Bulletproof port reservation system — PORT-MAP.md as canonical register, port-manager CLI for query/verify/lock/unlock, iptables kernel-level enforcement, and daily audit cron. Prevents port conflicts between FridgAI, Mission Control, Hermes Dashboard, preview gallery, and any future services.

Relevance to Our Projects

Bulletproof port reservation system. Prevents conflicts between FridgAI, Mission Control, Dashboard, and preview gallery.

Pipeline

1📋 PORT-MAP.md führen — Kanonisches Register aller Ports
2🔍 Belegung prüfen — port-manager CLI: verify, free, lock
3🛡️ iptables-Sperre — Kernel-Level Port-Schutz
4📅 Täglicher Audit — Cron-Job prüft auf Konflikte
5🔓 Freigabe — Port für neuen Dienst reservieren

SKILL.md Preview

# Port Management System

## When to use this

Load this skill whenever you need to:
- Add a new service that binds to a TCP port
- Diagnose port conflicts ("port already in use", "port is already allocated")
- Audit which services are running and on which ports
- Lock a port to a specific user/process via iptables
- Recover from a port collision

## Architecture

```
port-manager status        # List all live ports
port-manager verify        # Check locked ports have correct owners
port-manager

← ← Back to Index