16 Commits (2efb214edd9191967756c9e5dd315ab3db121062)

Author SHA1 Message Date
Felix Stupp 2efb214edd
misc/ssh_tg_notify: Ignore messages from trusted VPN subnet 2 years ago
Felix Stupp c842c40c89
misc/ssh_tg_notify: Lookup & inform user which logged in as well 2 years ago
Felix Stupp 10a3e8aa9f
misc/ssh_tg_notify: Lookup user id of root dynamically 2 years ago
Felix Stupp 10e2dea52a
misc/ssh_tg_notify: Add comments for sections 2 years ago
Felix Stupp a98b250c31
misc/ssh_tg_notify: Check that PAM_RHOST is defined 2 years ago
Felix Stupp b50f457d99
misc/ssh_tg_notify: Add Content-Type to bot requests 2 years ago
Felix Stupp 4da0a72682
misc/ssh_tg_notify: Extract sendMessage method 2 years ago
Felix Stupp 07eeba447e
misc/ssh_tg_notify: Replace link to ipinfo.io with link to stat.ripe.net 2 years ago
Felix Stupp 8b7d4f1688
misc/ssh_tg_notify: strip expected stat error message 2 years ago
Felix Stupp 27bd516581
misc/ssh_tg_notify: Include username into cache key
- So if multiple users log in from the same ip, the cache does not prevent a notification
2 years ago
Felix Stupp 08e91883b3
misc/ssh_tg_notify: Added cache to send fewer notifications
- per IP only once in the next 4 hours
3 years ago
Felix Stupp 6d061088a2
misc/ssh_tg_notify: Quoted TIMEOUT variable 3 years ago
Felix Stupp 6c547434b9
Renamed global_ssh_notify_telegram_bot_key to global_telegram_server_bot_key 3 years ago
Felix Stupp e93c11f0d7
Added shellcheck for script validations 4 years ago
Felix Stupp f8cd2a6f60
misc/ssh_tg_notify: Used [[ instead of [ for if expression 4 years ago
Felix Stupp 025d8a3256
Added role misc/ssh_tg_notify
- Added role to common site
- Added variables required to global vars and vault
4 years ago