pjd
96923c291c
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
hrs
33d5d6c4ba
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
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
16dc33fabf
Scheduled mdoc(7) sweep.
2005-01-11 11:47:22 +00:00
glebius
a187eb4ddf
s/priveleged/privileged/
2004-11-18 13:37:33 +00:00
kensmith
da4c6a0746
Bump document date.
...
Noticed by: trhodes
Pointy hat: kensmith
MFC after: 1 week
2004-11-09 04:41:12 +00:00
kensmith
87c5f8055e
Add newsyslog(8) to the "See Also" section.
...
MFC after: 1 week
2004-11-09 04:31:31 +00:00
glebius
dfc6a366e7
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
glebius
76ec624d74
- 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
imp
9fbed704d5
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
ru
6294018a20
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
ru
1c23ef339b
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
ru
041d1287e8
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
ru
fef14a0ffe
mdoc(7) police: markup fixes.
...
Approved by: re
2002-11-27 15:31:08 +00:00
tjr
fe93fe1f59
Add -c option to synopsis. Sort it alphabetically, too.
2002-10-18 11:42:21 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
ru
a70f7fff62
mdoc(7) police: add missing markup bit.
2002-01-10 15:16:58 +00:00
archie
cd1ab61208
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
ru
d991472c31
mdoc(7) police: markup nits.
2001-12-08 16:17:49 +00:00
dd
fc1c953f03
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
dd
396c50b0c1
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
dd
18890a31b4
Don't make it sound like -A is turning on the default behavior.
2001-08-27 11:04:09 +00:00
mike
f5302392d3
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
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
0d5f9334cf
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
ru
a173e537d1
Note that -a is ignored if -s is also specified.
2001-06-06 12:48:22 +00:00
ru
95f6793be4
mdoc(7) police: uppercase abbreviations in revision 1.34.
2001-05-16 09:43:48 +00:00
dwmalone
5cdcaadd37
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
ru
9f97905571
Prepare for mdocNG.
2001-02-26 09:05:48 +00:00
ru
66cd8f698e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
ru
4bb5f49662
Prepare for mdoc(7)NG.
2000-12-27 15:30:30 +00:00
ru
478cddba1f
mdoc(7) police: document IPv6 options in the SYNOPSIS.
2000-12-18 08:42:58 +00:00
ume
6b337143f0
IPv6 support for syslogd.
...
Reviewed by: freebsd-current
Obtained from: NetBSD
2000-12-16 18:25:48 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
dwmalone
40ef4e0113
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
dwmalone
78d7baf251
Fix spelling of comparison.
2000-10-17 10:14:51 +00:00
alfred
a4ea0721fb
Add forgotten -n option to SYNOPSIS section
...
Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
2000-09-23 22:38:56 +00:00
ps
b0760261f3
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
ps
fd6c9310b6
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
sheldonh
b2240fc1c0
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
6dd3ee93f0
s|/dev/log|/var/run/log|
2000-02-14 13:26:57 +00:00
charnier
eb44a9737f
Add section number to .Xr. Use .Pa for filenames.
...
fprintf -> warnx.
2000-01-23 20:22:23 +00:00
des
cb9a455cbe
Reflect the change in secure mode semantics, and document fascist mode
...
properly.
2000-01-14 15:10:36 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
des
83538ea9d0
Implement fascist mode (do not open a datagram socket at all).
1999-04-30 12:51:20 +00:00
phk
5835aea78c
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
c183560752
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
phk
8ad123ff43
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.
1998-04-24 17:32:23 +00:00
charnier
a9eeb3d932
Cosmetic in usage string.
1997-10-20 12:55:49 +00:00
brian
c772a08c0b
Use snprintf() instead of sprintf() most of the time.
...
Obtained from: OpenBSD
Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00