/[base]/head/usr.sbin/syslogd/syslogd.8
ViewVC logotype

Log of /head/usr.sbin/syslogd/syslogd.8

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 335862 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 2 11:02:27 2018 UTC (6 years ago) by ed
File length: 11615 byte(s)
Diff to previous 332511
Document that syslogd -v has no effect when RFC 5424 mode is enabled.

The variable it sets, LogFacPri, is only used in the RFC 3164 formatting
codepath.

PR:		229457
Reported by:	Andre Albsmeier
MFC after:	1 week


Revision 332511 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 15 08:44:26 2018 UTC (6 years, 2 months ago) by ed
File length: 11467 byte(s)
Diff to previous 332510
Use proper alphabetic sorting of options.


Revision 332510 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 15 08:34:16 2018 UTC (6 years, 2 months ago) by ed
File length: 11466 byte(s)
Diff to previous 326573
Add RFC 5424 syslog message output to syslogd.

- Move all of the code responsible for transmitting log messages into a
  separate function, fprintlog_write().
- Instead of manually modifying a list of iovecs, add a structure
  iovlist with some helper functions.
- Alter the F_FORW (UDP message forwarding) case to also use iovecs like
  the other cases. Use sendmsg() instead of sendto().
- In the case of F_FORW, truncate the message to a size dependent on the
  address family (AF_INET, AF_INET6), as proposed by RFC 5426.
- Move all traditional message formatting into fprintlog_bsd(). Get rid
  of some of the string copying and snprintf()'ing. Simply emit more
  iovecs to get the job done.
- Increase ttymsg()'s limit of 7 iovecs to 32. Add a definition for this
  limit, so it can be reused by iovlist.
- Add fprintlog_rfc5424() to emit RFC 5424 formatted log entries.
- Add a "-O" command line option to enable RFC 5424 formatting. It would
  have been nicer if we supported "-o rfc5424", just like on NetBSD.
  Unfortunately, the "-o" flag is already used for a different purpose
  on FreeBSD.
- Don't truncate hostnames in the RFC 5424 case, as suggested by that
  specific RFC.

For people interested in using this, this feature can be enabled by
adding the following line to /etc/rc.conf:

  syslogd_flags="-s -O rfc5424"

Differential Revision:	https://reviews.freebsd.org/D15011


Revision 326573 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 5 19:54:55 2017 UTC (6 years, 6 months ago) by glebius
File length: 11114 byte(s)
Diff to previous 314642
When parsing remote messages, require them to have standard timestamp
field, and support properly parse out the hostname as described by RFC3164,
which wasn't done before.  However, don't discard message if it doesn't
have hostname, for compatibility.

Enable logging of the message supplied hostname instead of real hostname
with -H switch.

PR:		200933
Reported by:	Konstantin Pavlov <thresh nginx.com>
MFC after:	2 months


Revision 314642 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 4 06:19:41 2017 UTC (7 years, 4 months ago) by ngie
File length: 10965 byte(s)
Diff to previous 314585
Correct nuance of -a :service -> "*" in r314563, r314585

My attempt to correct the sender/receiver behavior was incorrect.
The source port of the sender for forwarded datagrams is filtered
with -a, and my change in r314585 didn't clarify that point at all.

Wording is based on suggestion by hrs.

MFC after:	28 days
X-MFC with:	r314563, r314585
Reported by:	hrs
In collaboration with:	hrs, rgrimes
Sponsored by:	Dell EMC Isilon


Revision 314585 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 3 06:13:59 2017 UTC (7 years, 4 months ago) by ngie
File length: 10972 byte(s)
Diff to previous 314563
Correct verb change for service => `*` after r314563

`*` means that packets will be received from a remote peer on any port.
Since the point of interest is the syslogd instance (not the remote peer),
the appropriate verb is "received", not "sent".

MFC after:	1 month
X-MFC with:	r314563
Sponsored by:	Dell EMC Isilon


Revision 314563 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 2 18:07:19 2017 UTC (7 years, 4 months ago) by ngie
File length: 10968 byte(s)
Diff to previous 314436
Wordsmith syslogd(8)

- Clarify -p/-S options by using appropriate subject-verb modifiers
  (verb and modifiers suggested that the subject should have been
  singular).
- Simplify/correct -a description:
-- Be more terse when describing IPv4 (the "usual dotted notation"
   isn't necessarily well understood by the reader). Being blunt and
   saying "IPv4 address" with an optional netmask is.
-- prefixlen is the appropriate terminology for IPv6.
-- mask/prefixlen is optional, not required (as noted later on in the
   section).
-- split up IPv4/IPv6 use so to clarify both forms.
-- Fix wordiness when describing the optional "service" specifier.
- -T: Use "cannot" instead of "can't" [*].

Bump .Dd for the changes.

MFC after:	1 month
Reported by:	igor [*]
Reviewed by:	hrs
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9855


Revision 314436 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 23:42:47 2017 UTC (7 years, 4 months ago) by imp
File length: 11017 byte(s)
Diff to previous 310453
Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96


Revision 310453 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 23 04:59:22 2016 UTC (7 years, 6 months ago) by hrs
File length: 11017 byte(s)
Diff to previous 310349
mdoc and style fixes.


Revision 310349 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 21 05:45:59 2016 UTC (7 years, 6 months ago) by hrs
File length: 10455 byte(s)
Diff to previous 310323
- Use fnmatch(3) for domanname matching of -a options.
- Document the patten matching.
- Document -S flag in SYNOPSIS.


Revision 310323 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 20 08:49:13 2016 UTC (7 years, 6 months ago) by hrs
File length: 10499 byte(s)
Diff to previous 284474
Escape punctuation characters.


Revision 284474 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 16 22:26:22 2015 UTC (9 years ago) by rpaulo
File length: 10487 byte(s)
Diff to previous 279568
syslogd: support multiple -b options.

It's now possible to bind multiple sockets to different IP addresses.

PR:		159305
Submitted by:	Kurt Lidl <lidl pix.net>
Sponsored by:	Pi-Coral, Inc.


Revision 279568 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 3 20:23:59 2015 UTC (9 years, 4 months ago) by pluknet
File length: 10399 byte(s)
Diff to previous 279567
Update .Dd, sync usage() for -F.  Missed in previous change.


Revision 279567 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 3 20:07:59 2015 UTC (9 years, 4 months ago) by rpaulo
File length: 10398 byte(s)
Diff to previous 236509
Add and document an option to cause syslogd to run in the
foreground.

This allows a separate process to monitor when and how
syslogd exits. That process can then restart syslogd if needed.

Differential Revision:	https://reviews.freebsd.org/D1985
Submitted by:	Ravi Pokala
Reviewed by:	allanjude (man page)


Revision 236509 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 3 11:29:48 2012 UTC (12 years, 1 month ago) by joel
File length: 10200 byte(s)
Diff to previous 232986
Minor spelling fixes.


Revision 232986 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 14 21:26:06 2012 UTC (12 years, 3 months ago) by sbruno
File length: 10199 byte(s)
Diff to previous 224002
Update man page to present -T argument in synopsis

MFC with r183347

MFC after:	0 days


Revision 224002 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 14 07:33:53 2011 UTC (12 years, 11 months ago) by delphij
File length: 10198 byte(s)
Diff to previous 211023
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


Revision 211023 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 7 16:20:12 2010 UTC (13 years, 10 months ago) by olli
File length: 9980 byte(s)
Diff to previous 185742
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


Revision 185742 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 7 18:45:30 2008 UTC (15 years, 6 months ago) by trhodes
File length: 9795 byte(s)
Diff to previous 183347
Use "allowed_peer" throughout this manual page.


Revision 183347 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 25 09:28:18 2008 UTC (15 years, 9 months ago) by dwmalone
File length: 9784 byte(s)
Diff to previous 178986
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


Revision 178986 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 14 00:22:21 2008 UTC (16 years, 1 month ago) by brian
File length: 9303 byte(s)
Diff to previous 156339
Add a -8 switch to syslogd to prevent it from mangling 8-bit data.


Revision 156339 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 6 10:36:33 2006 UTC (18 years, 4 months ago) by pjd
File length: 8967 byte(s)
Diff to previous 144984
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


Revision 144984 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 13 03:19:41 2005 UTC (19 years, 2 months ago) by hrs
File length: 8852 byte(s)
Diff to previous 141846
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


Revision 141846 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 13 22:25:33 2005 UTC (19 years, 4 months ago) by ru
File length: 8711 byte(s)
Diff to previous 140063
Expand *n't contractions.


Revision 140063 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 11 11:47:22 2005 UTC (19 years, 5 months ago) by ru
File length: 8710 byte(s)
Diff to previous 137858
Scheduled mdoc(7) sweep.


Revision 137858 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 18 13:37:33 2004 UTC (19 years, 7 months ago) by glebius
File length: 8712 byte(s)
Diff to previous 137437
s/priveleged/privileged/


Revision 137437 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 9 04:41:12 2004 UTC (19 years, 7 months ago) by kensmith
File length: 8712 byte(s)
Diff to previous 137436
Bump document date.

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


Revision 137436 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 9 04:31:31 2004 UTC (19 years, 7 months ago) by kensmith
File length: 8712 byte(s)
Diff to previous 137233
Add newsyslog(8) to the "See Also" section.

MFC after:	1 week


Revision 137233 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 23:09:57 2004 UTC (19 years, 8 months ago) by glebius
File length: 8694 byte(s)
Diff to previous 137232
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


Revision 137232 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 22:20:21 2004 UTC (19 years, 8 months ago) by glebius
File length: 8605 byte(s)
Diff to previous 133249
- 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)


Revision 133249 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 7 04:28:56 2004 UTC (19 years, 11 months ago) by imp
File length: 8484 byte(s)
Diff to previous 131500
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


Revision 131500 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 2 23:13:00 2004 UTC (20 years ago) by ru
File length: 8725 byte(s)
Diff to previous 119893
Mechanically kill hard sentence breaks.


Revision 119893 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 8 19:57:22 2003 UTC (20 years, 9 months ago) by ru
File length: 8739 byte(s)
Diff to previous 107788
mdoc(7): Use the new feature of the .In macro.


Revision 107788 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 12 17:26:04 2002 UTC (21 years, 6 months ago) by ru
File length: 8742 byte(s)
Diff to previous 107312
Uniformly refer to a file system as "file system".

Approved by:	re


Revision 107312 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 27 15:31:08 2002 UTC (21 years, 7 months ago) by ru
File length: 8741 byte(s)
Diff to previous 105392
mdoc(7) police: markup fixes.

Approved by:	re


Revision 105392 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 18 11:42:21 2002 UTC (21 years, 8 months ago) by tjr
File length: 8751 byte(s)
Diff to previous 99968
Add -c option to synopsis. Sort it alphabetically, too.


Revision 99968 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 14 14:47:15 2002 UTC (21 years, 11 months ago) by charnier
File length: 8750 byte(s)
Diff to previous 89217
The .Nm utility


Revision 89217 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 10 15:16:58 2002 UTC (22 years, 5 months ago) by ru
File length: 8748 byte(s)
Diff to previous 88897
mdoc(7) police: add missing markup bit.


Revision 88897 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 5 07:34:52 2002 UTC (22 years, 6 months ago) by archie
File length: 8743 byte(s)
Diff to previous 87524
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


Revision 87524 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 8 16:17:49 2001 UTC (22 years, 6 months ago) by ru
File length: 8501 byte(s)
Diff to previous 87000
mdoc(7) police: markup nits.


Revision 87000 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 27 20:02:18 2001 UTC (22 years, 7 months ago) by dd
File length: 8498 byte(s)
Diff to previous 82728
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


Revision 82728 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 1 08:42:49 2001 UTC (22 years, 10 months ago) by dd
File length: 8332 byte(s)
Diff to previous 82413
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


Revision 82413 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 27 11:04:09 2001 UTC (22 years, 10 months ago) by dd
File length: 8140 byte(s)
Diff to previous 79862
Don't make it sound like -A is turning on the default behavior.


Revision 79862 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 13:31:08 2001 UTC (22 years, 11 months ago) by mike
File length: 8128 byte(s)
Diff to previous 79755
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


Revision 79755 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 15 08:06:20 2001 UTC (22 years, 11 months ago) by dd
File length: 7988 byte(s)
Diff to previous 79537
Remove whitespace at EOL.


Revision 79537 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 10 15:12:08 2001 UTC (22 years, 11 months ago) by ru
File length: 7989 byte(s)
Diff to previous 77809
mdoc(7) police: removed HISTORY info from the .Os call.


Revision 77809 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 6 12:48:22 2001 UTC (23 years, 1 month ago) by ru
File length: 7997 byte(s)
Diff to previous 76672
Note that -a is ignored if -s is also specified.


Revision 76672 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 16 09:43:48 2001 UTC (23 years, 1 month ago) by ru
File length: 7924 byte(s)
Diff to previous 76431
mdoc(7) police: uppercase abbreviations in revision 1.34.


Revision 76431 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 10 15:48:33 2001 UTC (23 years, 1 month ago) by dwmalone
File length: 7924 byte(s)
Diff to previous 73077
Add the ability to specify alternate PID file for syslogd.

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


Revision 73077 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 26 09:05:48 2001 UTC (23 years, 4 months ago) by ru
File length: 7770 byte(s)
Diff to previous 71898
Prepare for mdocNG.


Revision 71898 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 1 16:44:04 2001 UTC (23 years, 5 months ago) by ru
File length: 7768 byte(s)
Diff to previous 70403
mdoc(7) police: split punctuation characters + misc fixes.


Revision 70403 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 27 15:30:30 2000 UTC (23 years, 6 months ago) by ru
File length: 7690 byte(s)
Diff to previous 70146
Prepare for mdoc(7)NG.


Revision 70146 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 18 08:42:58 2000 UTC (23 years, 6 months ago) by ru
File length: 7693 byte(s)
Diff to previous 70099
mdoc(7) police: document IPv6 options in the SYNOPSIS.


Revision 70099 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 16 18:25:48 2000 UTC (23 years, 6 months ago) by ume
File length: 7690 byte(s)
Diff to previous 68965
IPv6 support for syslogd.

Reviewed by:	freebsd-current
Obtained from:	NetBSD


Revision 68965 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 20 20:10:44 2000 UTC (23 years, 7 months ago) by ru
File length: 7207 byte(s)
Diff to previous 67249
mdoc(7) police: use the new features of the Nm macro.


Revision 67249 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 17 10:19:42 2000 UTC (23 years, 8 months ago) by dwmalone
File length: 7213 byte(s)
Diff to previous 67248
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>


Revision 67248 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 17 10:14:51 2000 UTC (23 years, 8 months ago) by dwmalone
File length: 7021 byte(s)
Diff to previous 66310
Fix spelling of comparison.


Revision 66310 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 23 22:38:56 2000 UTC (23 years, 9 months ago) by alfred
File length: 7023 byte(s)
Diff to previous 63997
Add forgotten -n option to SYNOPSIS section

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


Revision 63997 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 29 04:02:34 2000 UTC (23 years, 11 months ago) by ps
File length: 7022 byte(s)
Diff to previous 63990
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


Revision 63990 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 29 01:37:37 2000 UTC (23 years, 11 months ago) by ps
File length: 7022 byte(s)
Diff to previous 57673
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>


Revision 57673 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 1 14:09:25 2000 UTC (24 years, 4 months ago) by sheldonh
File length: 6976 byte(s)
Diff to previous 57204
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.


Revision 57204 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 14 13:26:57 2000 UTC (24 years, 4 months ago) by peter
File length: 6976 byte(s)
Diff to previous 56485
s|/dev/log|/var/run/log|


Revision 56485 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 23 20:22:23 2000 UTC (24 years, 5 months ago) by charnier
File length: 6972 byte(s)
Diff to previous 55972
Add section number to .Xr. Use .Pa for filenames.
fprintf -> warnx.


Revision 55972 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 14 15:10:36 2000 UTC (24 years, 5 months ago) by des
File length: 6976 byte(s)
Diff to previous 50479
Reflect the change in secure mode semantics, and document fascist mode
properly.


Revision 50479 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 28 01:35:59 1999 UTC (24 years, 10 months ago) by peter
File length: 7060 byte(s)
Diff to previous 46200
$Id$ -> $FreeBSD$


Revision 46200 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 30 12:51:20 1999 UTC (25 years, 2 months ago) by des
File length: 7102 byte(s)
Diff to previous 37820
Implement fascist mode (do not open a datagram socket at all).


Revision 37820 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 22 06:15:19 1998 UTC (25 years, 11 months ago) by phk
File length: 7022 byte(s)
Diff to previous 37156
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>


Revision 37156 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 25 19:39:19 1998 UTC (26 years ago) by guido
File length: 6538 byte(s)
Diff to previous 35428
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


Revision 35428 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 24 17:32:23 1998 UTC (26 years, 2 months ago) by phk
File length: 6262 byte(s)
Diff to previous 30603
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.


Revision 30603 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 20 12:55:49 1997 UTC (26 years, 8 months ago) by charnier
File length: 6157 byte(s)
Diff to previous 29623
Cosmetic in usage string.


Revision 29623 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 19 22:22:04 1997 UTC (26 years, 9 months ago) by brian
File length: 6181 byte(s)
Diff to previous 25437
Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

Make usage() consistent with man page.


Revision 25437 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 3 22:17:43 1997 UTC (27 years, 2 months ago) by joerg
File length: 6178 byte(s)
Diff to previous 25276
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).


Revision 25276 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 29 09:09:40 1997 UTC (27 years, 2 months ago) by jmg
File length: 4543 byte(s)
Diff to previous 25154
add an Id line, minor mdoc fix ups

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


Revision 25154 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 26 00:00:33 1997 UTC (27 years, 2 months ago) by pst
File length: 4572 byte(s)
Diff to previous 22997
Secure mode (-s) incorrectly disabled both sending and receiving of syslog
packets over UDP.  Secure boxes should still be able to send packets.


Revision 22997 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 22 16:15:28 1997 UTC (27 years, 4 months ago) by peter
File length: 4545 byte(s)
Diff to previous 21673
Revert $FreeBSD$ to $Id$


Revision 21673 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 14 07:20:47 1997 UTC (27 years, 5 months ago) by jkh
File length: 4550 byte(s)
Diff to previous 19224
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.


Revision 19224 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 28 08:25:13 1996 UTC (27 years, 8 months ago) by joerg
File length: 4594 byte(s)
Diff to previous 19137
Back out the entire change from rev 1.11 of syslogd.c.  It was bogus.
Correct the man page to reflect the new reality.


Revision 19137 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 23 20:17:57 1996 UTC (27 years, 8 months ago) by julian
File length: 4862 byte(s)
Diff to previous 17245
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.


Revision 17245 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 22 16:35:50 1996 UTC (27 years, 11 months ago) by pst
File length: 4393 byte(s)
Diff to previous 15829
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


Revision 15829 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 20 17:10:03 1996 UTC (28 years, 1 month ago) by wollman
File length: 4340 byte(s)
Diff to previous 11448
Correct synopsis (-d, -I options were missing because -mdoc mistook
the dI in `.Op Fl dI' for the name of an internal mdoc command).


Revision 11448 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 12 17:18:39 1995 UTC (28 years, 8 months ago) by wollman
File length: 4288 byte(s)
Diff to previous 1554
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.


Revision 1554 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 26 05:23:31 1994 UTC (30 years, 1 month ago) by rgrimes
File length: 3837 byte(s)
Copied from: vendor/CSRG/dist/usr.sbin/syslogd/syslogd.8 revision 1553
Diff to previous 1553
This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.


Revision 1553 - (view) (download) (annotate) - [select for diffs]
Added Thu May 26 05:23:31 1994 UTC (30 years, 1 month ago) by rgrimes
Original Path: vendor/CSRG/dist/usr.sbin/syslogd/syslogd.8
File length: 3837 byte(s)
BSD 4.4 Lite usr.sbin Sources


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27