Commit 5930fdf
committed
Improve IP address tracking: add fallback and logging
Enhancements:
- Updated extractIpAddress() to accept directIp parameter with fallback to req.ip
- Added IP address to system event logging (initialize, session_delete)
- Added unique IP count to stateless transport metrics UI
- Removed package-lock.json as requested
The IP extraction now prioritizes:
1. x-forwarded-for header (for proxied traffic)
2. x-real-ip header (nginx)
3. req.ip (direct connection)1 parent 3845e7b commit 5930fdf
File tree
6 files changed
+25
-2602
lines changed- packages/app/src
- server
- transport
- utils
- web/components
6 files changed
+25
-2602
lines changed
0 commit comments