| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
OK bluhm@
|
| |
|
|
|
|
| |
syslogd(8). Just malloc(3) them dynamically which also gives a
more random address space layout.
OK deraadt@
|
| |
|
|
| |
No binary change.
|
| |
|
|
|
| |
descriptor variables in syslogd(8) this way.
OK rzalamena@
|
| |
|
|
|
| |
to reshuffle its memory layout.
Input rzalamena@; OK deraadt@
|
| |
|
|
|
|
| |
of a second to each syslog timestamp. As we do not measure the
time in syslog(3), use only 3 digits with millisecond precision.
OK dlg@
|
| |
|
|
|
|
|
|
|
| |
that the syslog timestamp does not contain the year and the timezone,
but has local time with daylight saving time.
Now with -Z syslogd(8) switches to RFC 5424 ISO format for timestamps.
Then all logging is also done in UTC. Default is to keep local
time and BSD syslog RFC 3164 format.
BIG BIG BIG OK for the feature ajacoutot@; OK deraadt@
|
| | |
|
| |
|
|
| |
from bluhm and myself
|
| | |
|
| | |
|
| |
|
|
| |
Written together with jmc@
|
| |
|
|
|
|
|
|
| |
for TCP or TLS connections than before. It makes no sense to buffer
messages in kernel, the dynamic limit there makes testing the dropped
message statistics unreliable. Syslog has no high performance
requirements, so limit all TCP socket buffers to 64 KB.
OK henning@ deraadt@
|
| |
|
|
| |
Written together with jmc@
|
| | |
|
| |
|
|
|
|
| |
client certificates. This prevent that malicious clients can send
fake messages.
OK deraadt@
|
| |
|
|
| |
OK millert@
|
| |
|
|
|
| |
and key loading can be simplified.
OK jsing@
|
| |
|
|
| |
ok natano reyk
|
| |
|
|
|
|
|
| |
changes - map the previous configuration to the equivalent in the new
groups. This will be revisited post release.
Discussed with beck@
|
| |
|
|
| |
OK jmc@
|
| |
|
|
|
|
| |
remote server to verify that the log messages from our syslogd are
authentic.
From Kapetanakis Giannis; man page input jmc@; OK jung@ deraadt@
|
| |
|
|
|
| |
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.
|
| |
|
|
|
|
| |
This fixes a long-standing issue where syslogd would print 15 NUL
bytes followed by two blank spaces before the log message for
warnings generated while parsing syslog.conf. OK bluhm@
|
| |
|
|
|
| |
The privileged process sends the errno value back when it cannot
open a file. OK gilles@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ttymsg.c doesn't need to include fcntl.h.
Tweak standard fd sanitising to be more like the sanitise_stdfd()
used elsewhere, though other uses of 'nullfd' make importing
sanitise_stdfd() itself unappetizing.
Add a die(0) if dup2() fails.
suggestions & ok bluhm@
|
| |
|
|
|
| |
Patch from Christian Heckendorf <mbie at ulmus dot me>.
OK jmc@ bentley@
|
| |
|
|
| |
From Michael Savage; input and OK mmcc@
|
| |
|
|
|
|
| |
libevent messages. Before the code was removed from libevent, the
library itself printed that to stderr.
OK nicm@
|
| |
|
|
|
|
| |
The mark timeout event is not persistent, add the timer intervall
everytime it fires.
Bug report, analysis and fix from Einfach Jemand rru.142 at gmail.com
|
| |
|
|
|
|
|
|
| |
child tried to load the default CA file when it was connecting to
a TLS server. The latter has never worked as the child is chrooted
to /var/empty. Set the CA storage to an empty string to avoid this
behavior. As a benefit pledge "rpath" can be removed.
OK benno@
|
| |
|
|
|
|
|
|
| |
in a background process. A potential fork(2) at every message is
bad, so replace this with an event. As a bonus the syslogd child
process does not need to pledge "proc" anymore. Also limit the
number of delayed write events.
OK deraadt@
|
| |
|
|
|
| |
syslogd child calls fork(2) to delay blocked output.
OK benno@
|
| |
|
|
|
|
| |
has been added to it, the syslogd privsep parent does not need
pledge "inet" anymore.
discussed with deraadt@
|
| |
|
|
| |
OK deraadt@
|
| |
|
|
|
| |
inet dns getpw sendfd proc exec".
OK deraadt@
|
| |
|
|
|
| |
as dprintf(3) is in libc now and does something different.
OK guenther@
|
| |
|
|
| |
From Michael McConville; OK guenther@
|
| |
|
|
|
|
|
| |
sizeof(struct sockaddr_un), so do the simple, portable thing.
Also convert some strncpy() to strlcpy()
ok deraadt@
|
| | |
|
| |
|
|
|
|
| |
encrypted messages. The server certificates are taken from /etc/ssl
like relayd does.
OK benno@ beck@ deraadt@
|
| |
|
|
|
| |
blocks. Fix the potential syslogd's death, add "proc" to pledge.
OK deraadt@
|
| | |
|
| |
|
|
| |
With and OK deraadt@
|
| |
|
|
| |
ok millert@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
event loss in syslogd. The ev_read and ev_write event structures
were used for both EV_READ and EV_WRITE events intermixedly. The
correct way is to use each event for its read and write purpose and
instead switch the handler. Then libevent is no longer confused.
When doing TLS read and a TLS_WANT_POLLOUT occures, call event_set()
for the write event to change the callback to read. As there might
be an event scheduled on the event, call event_del() before
event_set(). After a successful TLS read, change back the write
event. Add analog code for TLS write and handshake.
OK beck@
|
| |
|
|
| |
Spotted by jung@
|
| |
|
|
|
|
|
|
| |
to syslogd that does not do that. Use it for anything that does
not look like a system call or library call around it.
Also add logerrorctx() that prints the TLS error instead.
Reduce the maximum CAfile limit to 50MB, requested by Bob.
OK beck@
|
| |
|
|
|
| |
everything.
OK benno@
|