Linux

How To Protect an Nginx Server with Fail2Ban on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How To Protect an Nginx Server with Fail2Ban on Ubuntu 20.04

In this guide, you will learn how to install `fail2ban` on a Ubuntu 20.04 server and configure it to monitor your Nginx logs for intrusion attempts. Fail2ban can significantly mitigate brute force attacks by creating rules that automatically alter your firewall configuration to ban specific IPs after a certain number of unsuccessful login attempts. This will allow your server to harden itself against these access attempts without intervention from you.

Read more
How To Protect Your Server Against the Dirty COW Linux Vulnerability — step-by-step Linux tutorial on Progressive Robot

How To Protect Your Server Against the Dirty COW Linux Vulnerability

On October 21, 2016, a privilege escalation vulnerability in the Linux kernel was disclosed. The bug is nicknamed Dirty COW because the underlying issue was a race condition in the way kernel handles copy-on-write (COW). Exploiting this bug means that a regular, unprivileged user on your server can gain write access to any file they can read, and can therefore increase their privileges on the system. This tutorial explains how to protect your server from this vulnerability.

Read more
Считывание и настройка переменных оболочки и окружения в Linux — step-by-step Linux tutorial on Progressive Robot

Считывание и настройка переменных оболочки и окружения в Linux

В системах Linux переменные окружения и оболочки используются для определения рабочих условий оболочки. Их можно передавать в дочерние процессы и использовать для настройки опций и предоставления определенной информации, доступной процессам, которые запущены в сеансе. В этом руководстве мы поговорим о том, как читать, изменять, создавать и уничтожать переменные среды и переменные оболочки.

Read more
CHAT