mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-03 02:26:43 +09:00
Split the WP-specific jail service into a generic engine + thin WP wrappers: enable_jail(key, filter_name, filter_content, logpath, port, ...), a generic ensure_filter(name, content), remove_jail(key), and jail_name_for_key(). The jail template's port is now parametrized. enable_wp_jail/disable_jail/get_status keep byte-identical behavior (existing WP suites unchanged and green), so the WP extension's callers are untouched. This gives other verticals (game-server login/RCON jails, plan 53) a reusable per-service brute-force jail seam. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>