I’ll give an example of a Python script that calculates the SHA-256 hashes of all files in a specified directory and sends an email with a list of files that have changed, been created, or been deleted, and also writes to the log file.
Continue reading “File integrity check script (SHA-256 hashes)”Author Archives: Vyacheslav
Juniper MX204 Firmware Update
I once encountered a bug on an MX204 running firmware 19.4R3-S6.1 that caused BGP routes to take a very long time to clear when a neighbor was lost. A firmware update was necessary to resolve this issue, as it was fixed in version 21+.
Continue reading “Juniper MX204 Firmware Update”Upgrading Ubuntu 22.04 to 24.04 using the do-release-upgrade command
Ubuntu Server was installed on version 18.04 LTS, but I needed to upgrade it to the latest version. Therefore, I had to upgrade in several stages: 18.04 > 20.04 > 22.04 > 24.04.
Continue reading “Upgrading Ubuntu 22.04 to 24.04 using the do-release-upgrade command”Sending Fail2ban email notifications
In this article, I will show an example of setting up Fail2ban email notifications.
Continue reading “Sending Fail2ban email notifications”How to configure HSTS in Nginx
HSTS (HTTP Strict Transport Security) is a response header that tells the browser that the site should only be opened via HTTPS.
Continue reading “How to configure HSTS in Nginx”Installing Zulip
As an example, I’ll install Zulip on a clean Ubuntu Server 24 system.
Continue reading “Installing Zulip”Zulip: Elevating user privileges to over the owner
I’ll show you an example of changing a regular user’s rights to administrator and owner, as well as adding additional rights for the API.
Continue reading “Zulip: Elevating user privileges to over the owner”Dial Plan for Grandstream GXP1620
The operator reported that she cannot make an outgoing call from the list of missed calls on the Grandstream GXP1620 IP phone, the phone display shows “No suitable dialplan”, but if you dial the number manually, the outgoing call is made, a similar problem may occur on other models.
Continue reading “Dial Plan for Grandstream GXP1620”Dahua: Failed to login. Please access the device with ONVIF
I transferred cameras from one DVR to a new Dahua DHI-NVR5432-EI and the Imou IPC-K42A cameras stopped connecting via a private protocol and an error was displayed:
Continue reading “Dahua: Failed to login. Please access the device with ONVIF”How to forward a port to an HP LaserJet printer and connect it behind NAT
Once I needed to connect two HP LaserJet Pro M404dw printers to one computer, which were located far away in another office, so I forwarded ports on the router.
Continue reading “How to forward a port to an HP LaserJet printer and connect it behind NAT”