T-Pot Attack Map 2.1.0
DataServer:
- Introduce simple text output of attacks if ENV TPOT_ATTACKMAP_TEXT is set to ENABLED with timestamps shown in local time instead of UTC
- More meaningful error messages if Redis or Elasticsearch are unavailable
AttackMapServer:
- More meaningful error messages if Redis is unavailable
- Improve status notifications for websockets
map.js:
- Restrict Min / Max Zoom levels to reasonable bounds
- Introduce zoomSnap / zoomDelta options for better zoom control
- Reduce circleCount to reasonable 100
- Use Luxon to re-calculate UTC events to browser timezone and display events accordingly
- Handle connection errors gracefully and with reconnection attempts to ensure service
- Indicate online / offline status through honeypotStatsHeader
Credits:
Shoutout to @kawaiipantsu who inspired some of the changes with his fork tpotce-fullscreen-attackmap.