New sequence to manage rsyslog config

Only client configuration for now
This commit is contained in:
2019-12-12 23:51:26 +01:00
parent 9a303b634f
commit 358cff38b1
4 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1 @@
if $programname == 'CRON' and re_match($msg, "\\(root\\).*CMD.*") then stop

View File

@@ -0,0 +1,6 @@
#Blocking snmpd connection information
if $programname == 'snmpd' and $msg contains 'Connection from UDP: [192.168.23.21' then stop
if $programname == 'snmpd' and $msg contains 'Cannot statfs' then stop
# raspberry pi sepcific
if $programname == 'snmpd' and $msg contains 'pcilib:' then stop
if $programname == 'sudo' and re_match($msg, "Debian-snmp.*USER=root.*COMMAND") then stop

View File

@@ -0,0 +1,4 @@
# for UDP
@12.34.56.78:514
# for tcp
#@@12.34.56.78:514