From b39a751bbe832d98754cd3aa8cf08b53c85ca73c Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
$ModLoad immark # wherever this is
$MarkMessageInterval 1800 # 20 minutes
Is also no longer available. Use
+Is also no longer available. Use the $UDPSeverRun <port> config file +directives. You can now also set the local address the server should listen to +via $UDPServerAddress <ip> config directive.
+The following example configures an UDP syslog server at the local address +192.0.2.1 on port 514:
$ModLoad imudp
-$UDPListenPort <port>
config file directives.
+$UDPSeverAddress 192.0.2.1 # this MUST be before the $UDPServerRun directive!"$UDPServerAddress *" means listen on all local interfaces. This is the +default if no directive is specified.
+Please note that now multiple listeners are supported. For example, you can +do the following:
+$ModLoad imudp
+$UDPSeverAddress 192.0.2.1 # this MUST be before the $UDPServerRun directive!
+$UDPServerRun 514
+$UDPSeverAddress * # all local interfaces
+$UDPServerRun 1514
These config file settings run two listeners: one at192.0.2.1:514 and one on +port 1514, which listens on all local interfaces.
+Please note that with pre-v3 rsyslogd, a service database lookup was made +when a UDP server was started and no port was configured. Only if that failed, +the IANA default of 514 was used. For TCP serves, this lookup was never done and +514 always used if no specific port was configured. For consitency, both TCP and +UDP now use port 514 as default. If a lookup is desired, you need to specify it +in the "Run" directive, e.g. "$UDPServerRun syslog".
klogd has (finally) been replaced by a loadable input module. To enable klogd functionality, do
-- cgit