![]() |
These patches come with NO WARRANTY.
A getpeereid system call
A getpeereid system call allows local-domain servers to obtain
client credentials. Apply these patches in the base
directory of your source tree, typically /usr/src:
OpenBSD 2.6
OpenBSD 2.7 and 2.8
OpenBSD 2.9
FreeBSD 4.0
NetBSD 1-4-2
Forced multilog rotation
Make multilog handle SIGHUP by rotating log files at the first
opportunity. NB: The rotation is not immediate; rotation occurs at
the end of the next line processed by multilog. Apply this
patch in your
daemontools source
directory.
This patch is obsolete as of daemontools-0.75!
The daemontools-0.75 multilog program offers a similar forced-rotation feature
without a patch (although in response to SIGALRM).
Save/discard logs with multilog
For multilog with daemontools-0.76.
After receiving SIGINT, multilog will continue to read data, but
will no longer write them to logs. After receiving SIGHUP, multilog
will again write logs as usual. Apply this patch in
your daemontools source
directory.
When is this patch useful? When you have a high-volume service like
dnscache that produces
copious logs, the multilog process can limit server performance, by
blocking the server while writing and rotating logs. With this patch, you
can throw away logs under ordinary operation, reducing the limit on server
performance, and retain logs when circumstances warrant analysis. And all
without restarting the service.
Handle https requests with publicfile
For publicfile 0.52.
Allow publicfile httpd to handle request URLs with an https
scheme. Look for the client IP address in the SSLREMOTEIP environment
variable if TCPREMOTEIP is not set. Apply this
patch in your publicfile source directory.