wraith/backend
Vantz Stockwell 34bea52e0b fix(rdp): TCP stream buffering + error surfacing for guacd pipeline
Three bugs fixed:

1. TCP stream fragmentation — guacd→browser data pipe treated each TCP
   chunk as a complete instruction. TCP is a stream protocol; instructions
   WILL be split across chunks (especially display/image data). Added
   instruction buffer that accumulates data and only forwards complete
   instructions (terminated by ';').

2. Missing client.onerror — when guacd fails the RDP connection (NLA,
   auth, TLS), it sends a Guacamole error instruction. No handler was
   registered, so errors were silently swallowed. User saw blank canvas
   with no feedback. Now surfaces errors via console and gateway callback.

3. Missing client.onstatechange — no connection state tracking. Added
   state transition logging for diagnostics.

Also improved CONNECT handshake logging to surface connection parameters
(host, port, user, domain, security mode) without exposing passwords.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 06:17:32 -04:00
..
prisma feat: nav bar (Home link), profile management, TOTP 2FA 2026-03-13 08:36:03 -04:00
src fix(rdp): TCP stream buffering + error surfacing for guacd pipeline 2026-03-14 06:17:32 -04:00
test feat: AES-256-GCM encryption service + auth module (JWT, guards, seed) 2026-03-12 17:07:14 -04:00
nest-cli.json feat: project scaffold — Docker, NestJS, Nuxt 3, Prisma config 2026-03-12 17:05:37 -04:00
package-lock.json feat: nav bar (Home link), profile management, TOTP 2FA 2026-03-13 08:36:03 -04:00
package.json feat: nav bar (Home link), profile management, TOTP 2FA 2026-03-13 08:36:03 -04:00
seed.js fix: seed script checks for any existing user, not just admin@wraith.local 2026-03-14 01:48:19 -04:00
tsconfig.build.json feat: project scaffold — Docker, NestJS, Nuxt 3, Prisma config 2026-03-12 17:05:37 -04:00
tsconfig.json feat: project scaffold — Docker, NestJS, Nuxt 3, Prisma config 2026-03-12 17:05:37 -04:00