woikos a565244435
Some checks are pending
Go / build-and-release (push) Waiting to run
Add per-IP connection limit to prevent resource exhaustion (v0.52.10)
- Add ORLY_MAX_CONN_PER_IP config option (default 25, hard limit 40)
- Track connections per IP in Server struct
- Reject new connections with HTTP 429 when limit exceeded
- Properly decrement count when connections close

This prevents a single IP from opening unlimited connections and
exhausting server memory/goroutines.

Files modified:
- app/config/config.go: Add MaxConnectionsPerIP config
- app/server.go: Add connPerIP tracking map
- app/main.go: Initialize connPerIP map
- app/handle-websocket.go: Implement per-IP limit check
- pkg/version/version: Bump to v0.52.10

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:04:34 +01:00
2025-11-27 06:31:34 +00:00
Description
No description provided
Readme Unlicense 58 MiB
Languages
Go 76.4%
Svelte 11%
Shell 4.5%
JavaScript 4.4%
TypeScript 2.9%
Other 0.7%