Authentication: The module now reads a single JSON message containing both secret and host_port values. Timeouts: The Telnet dial uses a 10‑second timeout, and the WebSocket connection is closed after 120 seconds of inactivity. Adjust these values as needed. Security: The upgrader currently allows all origins. In a production environment, restrict this by verifying r.Origin. Error Handling & Goroutine Cleanup: Each goroutine writes to a buffered error channel so that the first error will cancel the connection. In a more complex scenario, you might use a context with cancellation or a sync.WaitGroup to better manage goroutine lifetimes.
Caddy Module: Websocket/Telnet Proxy
Client
- https://ryanmalloy.com/telnet/
- xterm.js
- HTML/CSS
Killer UIX
- AmberCRT
- Reminiscent of a "Amber Monochrome/Hercules Adaptor"
- Packard Bell cause my first VGA monitor was one
Commercial Products
Description
Languages
Go
54.4%
HTML
45.6%