Skip to content
Snippets Groups Projects
Commit 883308d0 authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

[logall] Log ingoing packets as well

parent bb92cf68
No related branches found
No related tags found
No related merge requests found
......@@ -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 ~
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment