You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security fix + watchdog, auto-start toggle, session recording, hardening
Security (from the audit):
- Fix a real DoS: a single UDP datagram larger than the receive buffer raised
SocketError.MessageSize, which the receive loop treated as fatal and stopped
forwarding until restart. Now the buffer is 65535 and per-packet receive
errors (MessageSize/ConnectionReset/etc.) are ignored — the loop survives any
single bad datagram. Verified end-to-end against the real exe (30/30 valid
packets still forward after a 9000-byte attack packet).
- Repo leak review: clean — no secrets/PII/sensitive artifacts tracked.
Watchdog:
- If the receive socket dies unexpectedly while running, auto-rebind and
resume (bounded linear backoff, capped retries; reports PortInUse/Error and
stops if it can't recover). Bind logic refactored into CreateBoundSockets().
Auto-start with Windows (in-app):
- New StartupRegistration (per-user HKCU Run key) + a "Start with Windows"
checkbox, so the portable build (no installer) can set it too.
Session recording (record only, no replay):
- New SessionRecorder writes a byte-exact .fts capture; engine StartRecording/
StopRecording/IsRecording; a Record button + recording indicator. Writes
after forwarding so it never delays live tools; user-chosen path, never
uploaded. *.fts is gitignored.
Hardening:
- Pin CI third-party actions to commit SHAs and Inno Setup to a fixed version.
- Clamp config ports to 1-65535 on load (fail-safe for hand-edited configs).
- Document the installer AppId as intentionally opaque (do not change).
New localized strings in all five languages. New tests: oversized-packet
survival, recording round-trip, startup-registry enable/disable. All suites
(Engine/Latency/Locale) pass. Version 0.5.0.