chore: tie loose ends — wiring, imports, gitignore, dep audit
Some checks failed
CI / Test Python 3.10 (push) Has been cancelled
CI / Test Python 3.11 (push) Has been cancelled
CI / Test Python 3.12 (push) Has been cancelled

This commit is contained in:
Dr Jones
2026-05-21 23:58:48 -07:00
parent 792b320257
commit 311abb933a
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored
View File

@@ -21,3 +21,5 @@ signup_draft.json
*.png *.png
*.jpg *.jpg
*.jpeg *.jpeg
# Exceptions — keep bundled assets that are already tracked
!proxy_chain_manager/world_map.png

View File

@@ -36,6 +36,15 @@ Restart-Service -Name MpsSvc -Force
This resets all runtime firewall state (not persistent rules). You may still This resets all runtime firewall state (not persistent rules). You may still
need to remove the `PCM_*` rules afterward with Option 1. need to remove the `PCM_*` rules afterward with Option 1.
### How the application handles this automatically
`firewall.py` exposes `emergency_disengage()`, which is registered via
`atexit` and `signal.SIGTERM`/`SIGINT` in `service.py`. A clean exit or
SIGTERM will call `emergency_disengage()` automatically, removing all
`PCM_*` rules and restoring `allowoutbound` before the process terminates.
Only a hard kill (`SIGKILL`, power loss, BSOD) can bypass this handler —
in those cases use Option 1 or Option 2 above.
### Verify rules are gone ### Verify rules are gone
```powershell ```powershell