CSF Disable ICMP Ping Logging
Posted: 26 Oct 2020, 21:44
I'm using Logwatch and have noticed a bunch of logs coming in for ICMP.
For example:
iptables firewall
Listed by source hosts:
Logged 1760 packets on interface eth0
From 3.87.248.151 - 1 packet to icmp(8)
From 3.231.165.178 - 2 packets to icmp(8)
From 3.236.183.212 - 2 packets to icmp(8)
From 3.236.184.164 - 3 packets to icmp(8)
From 3.237.184.3 - 1 packet to icmp(8)
From 3.238.39.131 - 1 packet to icmp(8)
From 3.238.62.31 - 1 packet to icmp(8)
I thought this was controlled at Port Scan Tracking -> PS_PORTS by removing the ...,ICMP but I'm still getting these in the logs.
I don't see any other places where this might be set. I even tried adding ICMP to Logging Settings -> DROP_NOLOG but this doesn't accept ICMP as a "port".
I am in the process of migrating servers and my old server doesn't show the ICMP packets in the logs, so I know it's a setting I'm missing, I just don't know which one.
Suggestions?
For example:
iptables firewall
Listed by source hosts:
Logged 1760 packets on interface eth0
From 3.87.248.151 - 1 packet to icmp(8)
From 3.231.165.178 - 2 packets to icmp(8)
From 3.236.183.212 - 2 packets to icmp(8)
From 3.236.184.164 - 3 packets to icmp(8)
From 3.237.184.3 - 1 packet to icmp(8)
From 3.238.39.131 - 1 packet to icmp(8)
From 3.238.62.31 - 1 packet to icmp(8)
I thought this was controlled at Port Scan Tracking -> PS_PORTS by removing the ...,ICMP but I'm still getting these in the logs.
I don't see any other places where this might be set. I even tried adding ICMP to Logging Settings -> DROP_NOLOG but this doesn't accept ICMP as a "port".
I am in the process of migrating servers and my old server doesn't show the ICMP packets in the logs, so I know it's a setting I'm missing, I just don't know which one.
Suggestions?