Fail2ban + AbuseIPDB

Integrate AbuseIPDB with Fail2ban

In the previous post, we described how to install Fail2ban to protect your system. Now we are going to go a step further to activate the reporting of malicious activity to global blacklist managed by the tool AbuseIPDB. What is AbuseIPDB? AbuseIPDB is a project dedicated to helping systems administrators and webmasters check and report IP addresses which are involved in malicious activities such as spamming, hacking attempts, DDoS attacks, or any abusive activity on the Internet....

January 1, 2023 Â· 3 min Â· Yvoictra
Fail2ban

Protect your server with Fail2ban

What is Fail2ban? Fail2ban is a software written in Python which help us to prevent brute force or DDoS attacks. It uses the failed access attempts logged in the system to detect the malicious IP addresses. Then, these IP addresses are blocked to avoid more attempts. It’s a software highly recommended to have installed in any system exposed to The Internet. How does Fail2ban work? Fail2ban is as a daemon which is monitoring every access to the system to the different services which have open ports (Mainly SSH, HTTPS…)....

December 25, 2022 Â· 4 min Â· Yvoictra
Monitor Ubuntu Server with Grafana and Prometheus

How to Monitor an Ubuntu Server with Grafana and Prometheus

Grafana is an open source metric analytics & visualization tool which can help us to monitor the system with a nice Dashboard. Installing Grafana Grafana is available in the APT packages repository, however it could not be the latest version, so we’ll use the official Grafana repository. First, it is needed to install the software needed before install Grafana. sudo apt install -y apt-transport-https sudo apt install -y software-properties-common wget Next step is to download the GPG Key, in order to install signed packages:...

November 13, 2022 Â· 3 min Â· Yvoictra
Sendinblue SMTP relay host

Configure Postfix to send e-mail using Sendinblue as SMTP server

Introduction Some time ago I tried to configure a SMTP server in a host in the cloud, but because of some restrictions, the emails from that server were bounced. The problem was that the hosting provider didn’t configure the PTR DNS entries (more about DNS PTR entries) for some kind of hostings. When this happens the best solution is to use a SMTP relay server, by this way that server is in charge of the final delivery of the emails....

November 11, 2022 Â· 3 min Â· Yvoictra
Mail Server

How to Install a Mail Server in Ubuntu with Postfix

Introduction Nowadays, the knowledge to install a mail server is an important task for any System Administrator. In our case, we are going to see how to deploy a mail server with Postfix on Ubuntu. About Postfix Postfix is a free and open-source MTA (Mail Transfer Agent) which routes and delivers electronic mail (e-mails). As an SMTP server, Postfix implements a first layer of defense against spambots and malware. Can be used to send and receive e-mail....

July 27, 2022 Â· 15 min Â· Yvoictra
Test bandwidth with iPerf

How to test bandwidth with iPerf

iPerf is a tool designed to test the bandwidth between two hosts using the network. It is a really simple, powerful CLI which allows generating traffic / load TCP or UDP between 2 hosts. You could use to measure the maximum bandwidth of the network between a client and a server. It can be used to do stress tests of the Ethernet, Wi-Fi or of your ISP. iPerf2 vs iPerf3, what is the difference?...

July 18, 2022 Â· 7 min Â· Yvoictra
Ubuntu DNS Servers

How to get configured DNS servers in Ubuntu

In some situations could be needed to know exactly which DNS server is being used by an Ubuntu host. There are several ways to get this info, however the best option I have found is to use the systemd service systemd-resolve. This service is in charge of the name resolution of the local applications. You can use it executing systemd-resolve --status or just resolvectl. The command will return the DNS servers configured in each network interface, and which one is currently being used....

December 26, 2021 Â· 1 min Â· Yvoictra
CSGO Ubuntu Ubuntu

How to install a CS GO (Counter-Strike: Global Offensive) server in Ubuntu 20.10

Some people are interested in have a private server in order to play CS GO (Counter-Strike: Global Offensive) with their friends. The process is easy to follow. What is needed? A server Memory: At least 2GB RAM (I recommend 4GB) Disk: At least 15 GB os disk space CPU architecture: x86 (ARM not supported) A Valve account Create a new user First of all, it is important to create a new user in Linux in order to prevent CS GO server possible hacking to affect your Linux node....

December 8, 2020 Â· 7 min Â· Yvoictra