Pulse/cmd/pulse-sensor-proxy
rcourtman b5ef239973 Add container detection warning to pulse-sensor-proxy startup (related to #628)
When pulse-sensor-proxy runs inside a container (Docker/LXC), it cannot
complete SSH workflows properly, leading to continuous [preauth] log floods
on the Proxmox host. This happens because the proxy is meant to run on the
host, not inside the container.

Changes:
- Import internal/system for InContainer() detection
- Add startup warning when running in containerized environment
- Point users to docs/TEMPERATURE_MONITORING.md for correct setup
- Allow suppression via PULSE_SENSOR_PROXY_SUPPRESS_CONTAINER_WARNING=true

This catches the misconfiguration early and directs users to supported
installation methods, preventing the SSH spam reported in discussion #628.
2025-11-06 23:41:29 +00:00
..
audit.go Make pulse-sensor-proxy resilient to read-only filesystems 2025-11-06 00:18:51 +00:00
audit_test.go Make pulse-sensor-proxy resilient to read-only filesystems 2025-11-06 00:18:51 +00:00
auth.go Automate sensor proxy container mount and auth 2025-10-14 12:41:48 +00:00
auth_test.go Automate sensor proxy container mount and auth 2025-10-14 12:41:48 +00:00
cleanup.go feat: add comprehensive node cleanup system 2025-10-17 18:53:45 +00:00
config.example.yaml docs: add guidance for large deployments (30+ nodes) in rate limit config 2025-10-21 11:27:13 +00:00
config.go Add configurable log level for pulse-sensor-proxy 2025-11-05 19:48:00 +00:00
main.go Add container detection warning to pulse-sensor-proxy startup (related to #628) 2025-11-06 23:41:29 +00:00
main_test.go test: add comprehensive security tests and documentation 2025-10-19 16:47:13 +00:00
metrics.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
ssh.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
ssh_test.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
throttle.go feat: make pulse-sensor-proxy rate limits configurable 2025-10-21 11:25:21 +00:00
throttle_test.go feat: make pulse-sensor-proxy rate limits configurable 2025-10-21 11:25:21 +00:00
validation.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
validation_fuzz_test.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00
validation_test.go security: complete Phase 1 sensor proxy hardening 2025-10-20 15:13:37 +00:00