[logall] Log ingoing packets as well

certbot_on_virtu
_benjamin 2021-11-08 13:57:40 +01:00
parent bb92cf6820
commit 883308d076
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if $programname == 'firewall' then /var/log/firewall/iptables.log
if $syslogfacility == '0' and $msg contains 'ff:ff:ff:ff:ff:ff' then ~ if $syslogfacility == '0' and $msg contains 'ff:ff:ff:ff:ff:ff' then ~
# LOG_ALL pour … je sais plus à quoi ça sert … # LOG_ALL pour … je sais plus à quoi ça sert …
if $syslogfacility == '0' and $msg contains 'LOG_ALL' and ($msg contains 'SRC=10.' or $msg contains 'SRC=100.64.' or $msg contains 'SRC=172.16.' or $msg contains 'SRC=185.230.76.' or $msg contains 'SRC=185.230.77.' or $msg contains 'SRC=185.230.78.' or $msg contains 'SRC=185.230.79.' or $msg contains 'SRC=2a0c:0700:') then /var/log/firewall/logall.log if $syslogfacility == '0' and $msg contains 'LOG_ALL' then /var/log/firewall/logall.log
& ~ & ~
# LOG_MAC_IP pour l'association mac_ip en ipv6 # LOG_MAC_IP pour l'association mac_ip en ipv6