# Urutau: kernel log lines of the egress table go to their own file and stay # out of the general syslog (an authorised scan would flood it). if ($syslogfacility-text == "kern" and $msg contains "URUTAU-EGRESS: ") then { action(type="omfile" file="/var/log/urutau/egress.log" template="RSYSLOG_FileFormat" fileOwner="syslog" fileGroup="adm" fileCreateMode="0640") stop } # inbound probes to closed ports (port scans) if ($syslogfacility-text == "kern" and $msg contains "URUTAU-PROBE: ") then { action(type="omfile" file="/var/log/urutau/probe.log" template="RSYSLOG_FileFormat" fileOwner="syslog" fileGroup="adm" fileCreateMode="0640") stop }