How to stop firewall system notification alerts

Operating System & Version
centos 7
cPanel & WHM Version
88

Taha Haider

Active Member
Dec 24, 2015
27
1
3
jeddah
cPanel Access Level
Root Administrator
Hi,

how can I stop firewall alert notifications on the system?

I am using a CSF firewall with Centos 7, due to security reasons I blocked SSH port access since I had KVM access.

now the issue is the KVM viewer becomes so messed up ... the alerts keep popping up even if I open nano or vi editors.

The ICMP settings is disabled via cPanel/WHM as well.
 

Attachments

Techguy45

Registered
Jun 29, 2020
2
0
1
United Kingdom
cPanel Access Level
Website Owner
Hi,

how can I stop firewall alert notifications on the system?

I am using a CSF firewall with Centos 7, due to security reasons I blocked SSH port access since I had KVM access.

now the issue is the KVM viewer becomes so messed up ... the alerts keep popping up even if I open nano or vi editors.

The ICMP settings is disabled via cPanel/WHM as well.
You found any solution yet? I got the same problem
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
182
65
103
Denmark
cPanel Access Level
Root Administrator
I'd generally recommend that you deactive firewall logging. You risk that logs are getting flooded with all the log entries..
If you REALLY need to log the firewall, you can:

1) Either run dmesg -n 1 which will deactivate kernel logging (except panics) to the console
2) Change/add following to the /etc/sysctl.conf file: "kernel.printk = 3 4 1 3"
3) Make a rsyslog rule in /etc/rsyslog.conf that redirects your firewall logs to another log file than dmesg/console
 
Last edited:
  • Like
Reactions: AzeDK