Sécurité SSH

This commit is contained in:
2025-10-18 11:21:30 +02:00
parent e9b85bcf40
commit 367c6a10b8
3 changed files with 24 additions and 20 deletions

5
.env
View File

@@ -54,10 +54,9 @@ ALERT_SMS_TO_MEUDON=Michel:+33759600180
ALERT_SMS_CLIENT_TO_MEUDON=Sekou:+33625903364,Damien:+33680388259
ALERT_SMS_CLIENT_TO_SACLAY=Nicolas:+33682069405,Sabrina:+33650270939,Mirceta:+33601162960
# Activer/désactiver globalement lenvoi client
ALERT_SMS_CLIENT_ENABLED=0
ALERT_SMS_CLIENT_ENABLED=1
# 1) couper les SMS internes
ALERT_INTERNAL_SMS_ENABLED=0# 0 = coupe tous les SMS “internes” (déclenchement)
# 2) limiter le flux par cooldown (par sonde)
ALERT_SMS_COOLDOWN_SEC=3600# 3600s = 1 SMS max / sonde / heure
# (compatibilité: si non défini, on retombe sur GYRO_SMS_MIN_SEC ou 120s)
ALERT_SMS_COOLDOWN_SEC=3600