Network

Sending a Notification Message When the Telegram Mikrotik Ethernet Port Status Changes

Sending a Notification Message When the Telegram Mikrotik Ethernet Port Status Changes

Fadıl

If the port level (10Mbps / 100Mbps 1G or 10G) of the devices connected to the ports of your Switch or Router changes in any way, you may need an application to monitor this situation. A simple application was developed with a telegram on this side. It checks the status of the Ethernet and sends you a telegram message if it has a value other than the one you specified.

Turning off DNS Recursion Features on Linux servers

Fadıl

If DNS Recursion is turned on, you are exposed to the “DNS Amplification Attack”  attacks. This attack is also known as a DNS-powered DDOS attack. For this reason, DNS Recursion should be turned off and we will see how to do this. Assuming you are more or less familiar with the consequences of a DDOS attack, what is DNS Amplification Attack? I leave here a beautiful video explaining the situation without drowning in too much detail.

If The MikroTik WAN IP Changes, Get a Message To The Telegram

If The MikroTik WAN IP Changes, Get a Message To The Telegram

Fadıl

When the IP information changes in wan interfaces (DSL, Local, any DHCP or VPN client) in Mikrotik, we can use telegram application to ensure that this information can be reached by SMS.
This example has been prepared with telegram since Telegram has become a popular application in the near future. If you change the relevant URL after the “/tool fetch ” the command to SMS API URL, the information will be sent to you as SMS.

How to Create a Telegram Bot ID/Chat ID

How to Create a Telegram Bot ID/Chat ID

Fadıl

To create a bot in today’s popular application Telegram and use it as API in applications;
primarily;
Membership of Telegram.org is required. For this, it is enough to have a working mobile number.

We are installing the Telegram application on our phone.
We validate our mobile phone number for membership and the fields to be requested in the follow-up.
After the membership process, we log on to the telegram web page.
Log in with your member login at https://web.telegram.org the web site and send it to the Telegram application on your phone (not as SMS). The telegram application on our phone will now appear in the browser.
Robot for bot preparation (telegram robot) We are adding BotFather to contact list.
He starts a chat with us, asking us what we want to do.

Using Ipmitool on IBM Power Servers

Using Ipmitool on IBM Power Servers

Fadıl

IBM servers can be remotely controlled by hardware. In cases where the server needs to be physically restarted, shut down, and turned on, ipmitool commands can be used instead of the Web Console. You can even switch from console to operating system level and make transactions. We will do this by using the IP that we assigned to the server with IPMITOOL IP SET. You must install the  ipmitool package on the user side.