History log of /freebsd-9.3-release/usr.sbin/syslogd/syslogd.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 233007 15-Mar-2012 sbruno

MFC r232986

Update man page to present -T argument in synopsis


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 224002 14-Jul-2011 delphij

Add a new option, -N to disable the default and recommended syslogd(8)
behavior, which binds to the well known UDP port.

This option implies -s.

MFC after: 2 months


# 211023 07-Aug-2010 olli

syslogd(8) already supports *sending* log messages to non-
standard ports, but it can't *receive* them (port 514 is
hardcoded). This commit adds that missing feature.

(NB: I actually needed this feature for a server farm where
multiple jails run with shared IP addresses, and every jail
should have its own syslogd process.)

As a side effect, syslogd now compiles with WARNS=6.

Approved by: des (mentor)
MFC after: 3 weeks


# 185742 07-Dec-2008 trhodes

Use "allowed_peer" throughout this manual page.


# 183347 25-Sep-2008 dwmalone

Add a flag, -T, that tells syslogd to always replace the timestamp on
messages from the network. We already replace malformatted timestamps
and this option lets us replace timestamps that are correctly formatted
but wrong.

PR: 120891
Submitted by: Thomas Vogt <thomas@bsdunix.ch>
MFC after: 1 week


# 178986 13-May-2008 brian

Add a -8 switch to syslogd to prevent it from mangling 8-bit data.


# 156339 06-Mar-2006 pjd

By default (for security reasons) syslogd(8) doesn't create log files
when they don't exist, but sometimes its quite useful (eg. we use
non-standard log files and memory backed /var/, which is populated on
boot).

Add -C option which tells syslogd(8) to create log files if they don't
exist.

Glanced at by: phk
MFC after: 3 days


# 144984 13-Apr-2005 hrs

Add -S option which allows to change the pathname of the privileged
socket /var/run/logpriv.

Reviewed by: glebius and kensmith
MFC after: 2 days


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140063 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 137858 18-Nov-2004 glebius

s/priveleged/privileged/


# 137437 09-Nov-2004 kensmith

Bump document date.

Noticed by: trhodes
Pointy hat: kensmith
MFC after: 1 week


# 137436 09-Nov-2004 kensmith

Add newsyslog(8) to the "See Also" section.

MFC after: 1 week


# 137233 04-Nov-2004 glebius

Protect against local flooder of /var/run/log. Do not loop forever in
syslog(3) if we are a priveleged program (sshd, su, etc.).

- Make syslogd open an additional socket /var/run/logpriv, with 0600
permissions.
- In libc, try to use this socket.
- Do not loop forever if we are using this socket (partial backout of 1.31)

Reviewed by: dwmalone, Andrea Campi <andrea webcom it>
Approved by: julian (mentor)
MFC after: 1 month


# 137232 04-Nov-2004 glebius

- Use stailqueue for sockets instead of socket buffer. Thus
remove limit for 20 sockets.
- Add possibility to specify file mode for sockets created with '-l'.
- Check that socket name in '-l' is absolute.

Reviewed by: dwmalone, Andrea Campi <andrea webcom it>
Approved by: julian (mentor)


# 133249 07-Aug-2004 imp

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


# 131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 107312 27-Nov-2002 ru

mdoc(7) police: markup fixes.

Approved by: re


# 105392 18-Oct-2002 tjr

Add -c option to synopsis. Sort it alphabetically, too.


# 99968 14-Jul-2002 charnier

The .Nm utility


# 89217 10-Jan-2002 ru

mdoc(7) police: add missing markup bit.


# 88897 05-Jan-2002 archie

Add a new flag '-c' to disable repeated line compression when the output
is a pipe to another program, or, if specified twice, in all cases.

PR: bin/32420


# 87524 08-Dec-2001 ru

mdoc(7) police: markup nits.


# 87000 27-Nov-2001 dd

Make the default kernel prefix "kernel:" instead of the boot file,
with the old behavior available via the -o option (it might still be
useful if one has many kernels and cares which messages came from
which). If the boot file is not used as the prefix, it is still
logged once at startup.

This change is prompted by the fact that the boot file is now much
longer ("/boot/kernel/kernel" vs. "/kernel"), which significanlty
bloats the syslogd output.

Reviewed by: peter


# 82728 01-Sep-2001 dd

Introduce a -b option that allows the user to specify which address to
bind to. This is useful for hosts running jails that need syslog to
maintain an open socket to log to a remote host.

Reviewed by: sheldonh


# 82413 27-Aug-2001 dd

Don't make it sound like -A is turning on the default behavior.


# 79862 18-Jul-2001 mike

Document the fact that syslogd(8) requires logs files to be created
before it will start logging to them.

PR: 27088
Approved by: des
MFC after: 10 days


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 79537 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 77809 06-Jun-2001 ru

Note that -a is ignored if -s is also specified.


# 76672 16-May-2001 ru

mdoc(7) police: uppercase abbreviations in revision 1.34.


# 76431 10-May-2001 dwmalone

Add the ability to specify alternate PID file for syslogd.

PR: 25784
Submitted by: Jon Villarreal <jonv@ivmg.net>
Reviewed by: iedowse


# 73077 26-Feb-2001 ru

Prepare for mdocNG.


# 71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70146 18-Dec-2000 ru

mdoc(7) police: document IPv6 options in the SYNOPSIS.


# 70099 16-Dec-2000 ume

IPv6 support for syslogd.

Reviewed by: freebsd-current
Obtained from: NetBSD


# 68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 67249 17-Oct-2000 dwmalone

Syslogd normally converts messages of facility kern to facility
user unless they come directly from the kernel. Document this and
add a flag to syslogd which prevents this conversion.

Sort getopt args while I'm at it.

PR: 21788
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>


# 67248 17-Oct-2000 dwmalone

Fix spelling of comparison.


# 66310 23-Sep-2000 alfred

Add forgotten -n option to SYNOPSIS section

Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>


# 63997 29-Jul-2000 ps

Change option -r to -n inline with conventions we use elsewhere.
I guess it serves me right for using a patch directly from Jan
Koum. :)

Requested by: many


# 63990 28-Jul-2000 ps

Add option 'r' to syslogd which will disable dns queries for every
request. This is useful when you have a large site pointed at a
single syslog server.

Submitted by: Jan Koum <jkb@yahoo-inc.com>


# 57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 57204 14-Feb-2000 peter

s|/dev/log|/var/run/log|


# 56485 23-Jan-2000 charnier

Add section number to .Xr. Use .Pa for filenames.
fprintf -> warnx.


# 55972 14-Jan-2000 des

Reflect the change in secure mode semantics, and document fascist mode
properly.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46200 30-Apr-1999 des

Implement fascist mode (do not open a datagram socket at all).


# 37820 22-Jul-1998 phk

Add -u, -v and -vv options to syslogd, this improves the control and
logging verbosity about facility & priority levels.
PR: 7278
Reviewed by: phk
Submitted by: Harlan Stenn <Harlan.Stenn@pfcs.com>


# 37156 25-Jun-1998 guido

Implement new argument -l (OpenBSD has -a but we already use that).
This allows one to specify additional sockets in the unix domain
that syslogd listens to. Its primary use is to create log sockets in
chroot environments.
Obtained from:OpenBSD (with a bug fixed d


# 35428 24-Apr-1998 phk

Augment the last change after some deliberation with rgrimes & peter.
It is important that we keep the ability to send packets to a remote
server and that the packets come from our well-known port, also in
that case.

Reviewed by: peter, rgrimes.


# 30603 20-Oct-1997 charnier

Cosmetic in usage string.


# 29623 19-Sep-1997 brian

Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

Make usage() consistent with man page.


# 25437 03-May-1997 joerg

Nobody ever seemed to be interested in reviewing these changes, and i
found that my syslogd is now running them for several months...

Add an option to syslogd to restrict the IP addresses that are allowed
to log to this syslogd. It's too late to develop the inter-syslogd
communications protocol mentioned in the BUGS section, some 10 years
too late. Thus, restricting the IP address range is about the most
effective change we can do if we want to allow incoming syslog
messages at all.

IMHO, we should encourage the system administrators to use this option,
and thus provide a knob in /etc/rc.* for it, defaulting to -a 127.0.0.1/32
(just as a hint about the usage).

Please state opinions about whether to merge this change into 2.2 or
not (i've got it running on RELENG_2_2 anyway).


# 25276 29-Apr-1997 jmg

add an Id line, minor mdoc fix ups

add ftp to list of facilities in syslog.conf
Closes PR#3389
Submitted-by: Pius Fischer


# 25154 25-Apr-1997 pst

Secure mode (-s) incorrectly disabled both sending and receiving of syslog
packets over UDP. Secure boxes should still be able to send packets.


# 22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 19224 28-Oct-1996 joerg

Back out the entire change from rev 1.11 of syslogd.c. It was bogus.
Correct the man page to reflect the new reality.


# 19137 23-Oct-1996 julian

Reviewed by: various (mailing list feedback)
Submitted by: whistle communications

move the socket from /dev to /var/run by default
TRANSITIONALLY make syslog add a symlink..
I PROMISE I'll remove that as soon as I have the makefiles etc fixed as well.


# 17245 22-Jul-1996 pst

Bring in some fixes from NetBSD and re-hack our syslogd to be option-compatible
with theirs (change the -I option to -s (but leave -I in for backwards compat.)
Also eliminate an make sane some magic numbers, and fix a small bug where we'd
send to an unopened socket.

Reviewed by: wollman
Obtained from: NetBSD


# 15829 20-May-1996 wollman

Correct synopsis (-d, -I options were missing because -mdoc mistook
the dI in `.Op Fl dI' for the name of an internal mdoc command).


# 11448 12-Oct-1995 wollman

Add a command-line option `-I' to disable logging from UDP.
Document `-d' and `-I'. Add a BUGS section noting that
logging from UDP is an unauthenticated remote disk-filling service,
and probably should be disabled by default in the absence of some sort
of authentication.


# 1554 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.


# 1553 26-May-1994 rgrimes

BSD 4.4 Lite usr.sbin Sources