Ensuring Suspicious Packets are Logged

  • The TufinOS 3 operating system reached EOL (end of life) on June 30, 2024 and is no longer supported. The final version - TufinOS 3.110 - was released in December 2023. If you are still running on TufinOS 3, we recommend upgrading to TufinOS 4 to get the benefit of the latest security patches.

  • TufinOS 4 does not support TOS releases earlier than R22-2 so if you are still running R22-1 or earlier, you must upgrade TOS before upgrading to TufinOS 4.

This topic explains how you can ensure that suspicious packets are logged on your TOS servers. When enabled, this feature logs packets with un-routable source addresses to the kernel log. Enabling this feature and logging these packets allows an administrator to investigate the possibility that an attacker is sending spoofed packets to their system.

Enabling this feature is hardening improvement 3.2.4 recommended by the CIS CentOS Linux 7 Benchmarkv2.2.0

Audit the Risk

Run the following commands and verify output matches:

sysctl net.ipv4.conf.all.log_martians net.ipv4.conf.all.log_martians = 1
sysctl net.ipv4.conf.default.log_martians net.ipv4.conf.default.log_martians = 1
grep "net\.ipv4\.conf\.all\.log_martians" /etc/sysctl.conf /etc/sysctl.d/* net.ipv4.conf.all.log_martians = 1
grep "net\.ipv4\.conf\.default\.log_martians" /etc/sysctl.conf /etc/sysctl.d/* net.ipv4.conf.default.log_martians = 1

Remediate the Risk

Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:

net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.log_martians = 1