Answer the question
In order to leave comments, you need to log in
What functionality to make a Telegram security bot?
We have 3 servers that we want to secure. Physically, there is often no way to repel the penetration (do not take it for a paranoid), I sit at the computer inconsistently. Therefore, this "functional" is rather a lotion for the service, and is unlikely to be useful, but what the hell is not joking)).
Telegram security bot.
Monitors access to the server from under root, with each successful / unsuccessful authorization via ssh sends a message like:
[11.02.2017] [email protected] is authorized
or [11.02.2017] [email protected] access denied
Code words:
"TEST " - monitoring status
Bot response:
[11.02.2017] 101.102.103.104 active
[11.02.2017] 201.202.203.204 active
[11.02.2017] 301.302.303.304 disabled
"STOP" - shutdown of all servers, at the end of the command "TEST"
Bot's answer:
[11.02.2017] 101.102.103.104 disabled
[11.02.2017] 201.202.203.204 disabled
[11.02.2017] 301.302.303.304 disabled
Question:
What is the minimum functionality ( in addition to the specified ) can be made to the bot?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question