Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Smith
fd60dc89eb Add ability to monitor honeypot logs in realtime via WebSockets
This change adds support for WebSockets using Google's WebSocket package.

When the threat feed server is starting, a Go function is created to monitor honeypot log data via a channel. When log data is received on the channel, it is broadcast to all connected WebSocket clients.

A /live endpoint and handler is added for serving the live.html template. This page displays the log data in real time by utilizing WebSockets.

Updated the nav bar on all html pages to include the new 'Live' icon for accessing the realtime log.
2025-04-03 14:07:50 -07:00
Ryan Smith
86eb9b773a Update dependencies 2025-03-17 14:26:04 -07:00
Ryan Smith
c96313242a Update dependencies 2025-03-03 21:59:24 -08:00
Ryan Smith
ef2bc057f4 Update dependencies 2024-12-27 21:17:36 -08:00
Ryan Smith
d728a9a500 Update dependencies 2024-12-05 16:30:21 -08:00
Ryan Smith
a8ee70ae3e Upgrade modules 2024-11-08 09:53:58 -08:00
Ryan Smith
c7bb4b7b28 first commit 2024-10-16 11:48:13 -07:00