A
A
a_donov2017-02-18 19:31:00
Information Security
a_donov, 2017-02-18 19:31:00

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

1 answer(s)
A
Alexey S., 2017-02-18
@Winsik

I would implement the execution of commands on the server via telegram (although this directly contradicts your task), it will help when there is no access to the console, but the bot responds =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question