Blocking ICMP Packet in Logsign


A common way to carry out a DoS attack is to flood the target system with ICMP packets until it stops responding. You can configure the Logsign server to ignore ICMP echo (ping) requests so that these packets are dropped by the kernel.

1- First of all connect to Logsign via cli.

2- Be root with sudo command.

sudo bash

3- Add the following lines to the /etc/sysctl.conf file. Each setting must be on its own line and must not start with #, otherwise it is treated as a comment.

net.ipv4.icmp_echo_ignore_all = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1

4- Execute following command and exit.

sysctl -p

After these steps, the Logsign server no longer replies to ICMP echo (ping) requests. Ping-based availability checks against the server (for example from a monitoring tool) will also report it as down. Logsign updates do not remove these lines, because the installer only appends its own settings to /etc/sysctl.conf when they are missing. To undo the change, delete the two lines and run sysctl -p again.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.