From: deraadt Date: Fri, 20 Dec 1996 08:18:36 +0000 (+0000) Subject: actually explain what -u does X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4bb6120530868b5533c1567106e7cab84d11dfe3;p=openbsd actually explain what -u does --- 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).