From 4bb6120530868b5533c1567106e7cab84d11dfe3 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 20 Dec 1996 08:18:36 +0000 Subject: [PATCH] actually explain what -u does --- usr.sbin/syslogd/syslogd.8 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8 index 223b7e67b07..e19cdca4a73 100644 --- a/usr.sbin/syslogd/syslogd.8 +++ b/usr.sbin/syslogd/syslogd.8 @@ -63,7 +63,7 @@ Select the number of minutes between ``mark'' messages; the default is 20 minutes. .It Fl u Select the historical ``insecure'' mode, in which syslogd will -open a UDP socket and accept input over it as well. +accept input from the UDP port. Some software wants this, but you can be subjected to a variety of attacks over the network, including attackers remotely filling logs. .It Fl p @@ -80,12 +80,18 @@ see .Xr syslog.conf 5 . .Pp .Nm Syslogd -reads messages from the +opens an Internet domain socket as specified +in +.Pa /etc/services . +Normally +.Nm syslogd +will only use this socket to send messages outwards, but in +`insecure'' mode it will also read messages from this socket. +.Nm Syslogd +also opens and reads messages from the .Tn UNIX domain socket .Pa /dev/log , -from an Internet domain socket specified in -.Pa /etc/services , and from the special device .Pa /dev/klog (to read kernel messages). -- 2.20.1