Tom Rhodes
efe78a46f7
Use "allowed_peer" throughout this manual page.
2008-12-07 18:45:30 +00:00
David Malone
cfcf794e5f
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
2008-09-25 09:28:18 +00:00
Brian Somers
d7022add17
Add a -8 switch to syslogd to prevent it from mangling 8-bit data.
2008-05-14 00:22:21 +00:00
Pawel Jakub Dawidek
c503ddf2cc
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
2006-03-06 10:36:33 +00:00
Hiroki Sato
15f3d79b55
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
2005-04-13 03:19:41 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
1a74e6a157
Scheduled mdoc(7) sweep.
2005-01-11 11:47:22 +00:00
Gleb Smirnoff
204d318009
s/priveleged/privileged/
2004-11-18 13:37:33 +00:00
Ken Smith
de655741ce
Bump document date.
...
Noticed by: trhodes
Pointy hat: kensmith
MFC after: 1 week
2004-11-09 04:41:12 +00:00
Ken Smith
83d71f6175
Add newsyslog(8) to the "See Also" section.
...
MFC after: 1 week
2004-11-09 04:31:31 +00:00
Gleb Smirnoff
240d5a9b1c
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
2004-11-04 23:09:57 +00:00
Gleb Smirnoff
247444670e
- 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)
2004-11-04 22:20:21 +00:00
Warner Losh
486c8cc4c6
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
...
(with permission of addtional copyright holders where appropriate)
2004-08-07 04:28:56 +00:00
Ruslan Ermilov
07bfccd71e
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
Ruslan Ermilov
fe08efe680
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
c041c1e0d9
mdoc(7) police: markup fixes.
...
Approved by: re
2002-11-27 15:31:08 +00:00
Tim J. Robbins
7c5bf58a15
Add -c option to synopsis. Sort it alphabetically, too.
2002-10-18 11:42:21 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Ruslan Ermilov
8c9d547186
mdoc(7) police: add missing markup bit.
2002-01-10 15:16:58 +00:00
Archie Cobbs
3a0ac99551
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
2002-01-05 07:34:52 +00:00
Ruslan Ermilov
d3f58d4008
mdoc(7) police: markup nits.
2001-12-08 16:17:49 +00:00
Dima Dorfman
a53dffb774
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
2001-11-27 20:02:18 +00:00
Dima Dorfman
f676ae2b46
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
2001-09-01 08:42:49 +00:00
Dima Dorfman
9e5726611c
Don't make it sound like -A is turning on the default behavior.
2001-08-27 11:04:09 +00:00
Mike Barcroft
e3608b7813
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
2001-07-18 13:31:08 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
a4c37c816b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
Ruslan Ermilov
be5c8032a0
Note that -a is ignored if -s is also specified.
2001-06-06 12:48:22 +00:00
Ruslan Ermilov
8fcaaa2e12
mdoc(7) police: uppercase abbreviations in revision 1.34.
2001-05-16 09:43:48 +00:00
David Malone
f0ee959841
Add the ability to specify alternate PID file for syslogd.
...
PR: 25784
Submitted by: Jon Villarreal <jonv@ivmg.net>
Reviewed by: iedowse
2001-05-10 15:48:33 +00:00
Ruslan Ermilov
bcdf5ca7c6
Prepare for mdocNG.
2001-02-26 09:05:48 +00:00
Ruslan Ermilov
610a5778c5
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
Ruslan Ermilov
8b5c4af3ff
Prepare for mdoc(7)NG.
2000-12-27 15:30:30 +00:00
Ruslan Ermilov
e0b32a7704
mdoc(7) police: document IPv6 options in the SYNOPSIS.
2000-12-18 08:42:58 +00:00
Hajimu UMEMOTO
3881628990
IPv6 support for syslogd.
...
Reviewed by: freebsd-current
Obtained from: NetBSD
2000-12-16 18:25:48 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
David Malone
481a19023e
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>
2000-10-17 10:19:42 +00:00
David Malone
bcfe1db87d
Fix spelling of comparison.
2000-10-17 10:14:51 +00:00
Alfred Perlstein
39e31cdb6a
Add forgotten -n option to SYNOPSIS section
...
Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
2000-09-23 22:38:56 +00:00
Paul Saab
ede8823b0d
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
2000-07-29 04:02:34 +00:00
Paul Saab
779fbd1bc3
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>
2000-07-29 01:37:37 +00:00
Sheldon Hearn
f2e366a105
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.
2000-03-01 14:09:25 +00:00
Peter Wemm
b5c060826a
s|/dev/log|/var/run/log|
2000-02-14 13:26:57 +00:00
Philippe Charnier
922a51eea0
Add section number to .Xr. Use .Pa for filenames.
...
fprintf -> warnx.
2000-01-23 20:22:23 +00:00
Dag-Erling Smørgrav
3a695cf8f7
Reflect the change in secure mode semantics, and document fascist mode
...
properly.
2000-01-14 15:10:36 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Dag-Erling Smørgrav
d35f30aa80
Implement fascist mode (do not open a datagram socket at all).
1999-04-30 12:51:20 +00:00
Poul-Henning Kamp
2eec1ab091
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>
1998-07-22 06:15:19 +00:00
Guido van Rooij
79962d3ede
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
1998-06-25 19:39:19 +00:00