| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
will become the libevent callbacks later.
input and OK doug@
|
| |
|
|
|
| |
done easier by ignoring SIGCHLD.
OK guenther@
|
| |
|
|
|
| |
the code was not reached. No binary change.
OK miod@ guenther@
|
| |
|
|
|
|
|
| |
line switches. If the log server is an FQDN, DNS chooses wether
to take the IPv4 or IPv6 route. Allow to prefix the log host with
udp4:// or udp6:// to choose a protocol.
OK henning@
|
| |
|
|
|
|
| |
unsigned". Some checks got stricter. The (size_t) cast is only
done, if the argument is not negative.
OK henning@
|
| |
|
|
|
|
| |
"syslogd: priv_getaddrinfo: overflow attempt in hostname"
check the host and port length when parsing the config.
OK henning@
|
| |
|
|
| |
OK henning@
|
| |
|
|
|
|
| |
needed for IPv6 addresses. Print full loghost specifier in case
of error or debug. Make string sizes more precise.
input henning@; input and OK deraadt@
|
| |
|
|
|
|
|
| |
that was necessary for gethostbyaddr() because the latter is not
signal safe. Change the return code semantics of priv_getnameinfo()
to match getnameinfo(3).
input and OK jca@
|
| |
|
|
|
| |
function does. Change the return code semantics to match getaddrinfo(3).
OK deraadt@
|
| |
|
|
| |
OK sthen@
|
| |
|
|
|
|
|
| |
This allows us to receive messages direct from programs using the
fd-safe sendsyslog(2), aka. syslog_r(3). Thanks to guenther for this part
of the solution.
ok beck tedu miod guenther
|
| |
|
|
|
| |
error occured. Put ENETUNREACH into the list of ignored errors.
OK markus@ sthen@ millert@
|
| |
|
|
| |
ok jca
|
| |
|
|
|
|
| |
the program name. Works around a problem with the ObiHai 202's
syslog client (and possibly others) where an extra space is added
to the message before the program name. OK krw@ henning@ deraadt@
|
| | |
|
| |
|
|
|
| |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are.
ok's from various maintainers of these directories...
|
| |
|
|
| |
feedback and ok sthen@, mpf@
|
| |
|
|
| |
display more/less than the default of 10. ok mpf@ jmc@
|
| |
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
|
| |
have averted the bug found in pr 5938
|
| |
|
|
|
|
|
| |
drop messages rather than to kill and restart it.
Also log this error, but limited at a 2 minute rate.
Discussed with henning.
OK henning@
|
| |
|
|
|
|
| |
tested by deraadt@ on a gcc2 arch
looks ok ray@ ok deraadt@
|
| |
|
|
|
| |
errors from setsockopt(2) in function double_rbuf().
ok markus@ mpf@
|
| |
|
|
|
| |
- reserve a poll descriptor entry for INET6 (not used yet)
ok henning
|
| |
|
|
|
| |
logs in response to a HUP signal, as long as /etc/syslog.conf remains
unchanged. ok mpf@
|
| |
|
|
|
|
|
| |
handlers. This prevents a race where syslogd could die
on SIGPIPE at startup. Also distinguish between start and restart.
OK henning@
|
| |
|
|
|
|
|
|
|
|
| |
if the target is like "| /path/to/program", syslogd forks and execs program
and sends the selected log messages to program's stdin.
uses a socketpair, grows the receive buffer on the reader side and has the
socket nonblocking on syslog'd side to prevent syslogd blocking.
I'm using that here to feed logsurfer from ports for automated log analysis,
werks beautifully.
lots of input & help mpf, ok mpf djm "no objections" millert
|
| |
|
|
|
| |
Works like ``tail -f'' on a log file.
OK markus@, djm@
|
| |
|
|
| |
them, following an identical change in openssh
|
| |
|
|
| |
Prevents the socket from being closed in this case. OK deraadt@
|
| |
|
|
| |
ok avsm@
|
| |
|
|
| |
noticed by newell AT cei.net; ok avsm@ deraadt@
|
| | |
|
| |
|
|
| |
ok otto@ millert@
|
| |
|
|
|
|
|
|
| |
logging to a remote host.
Similar patch sent by Marc Huber <Marc.Huber@web.de> in PR4044.
ok deraadt@ henning@ millert@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in syslog.conf contain the same target file, and log entries
matching both the first and second line get written.
This changes behaviour: e.g. previously repeating a line caused a log
entry to be written twice, but not any more. Also, if a later line with
the same target has a different priority for a facility, the last one will
be used.
Noted by camield@; help from millert@.
ok camield@ millert@ hshoexer@ deraadt@
|
| |
|
|
| |
ok deraadt@ millert@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ok henning@ anil@
|
| |
|
|
|
|
|
|
| |
starting with one to indicate whether the memory ringbuffers have overflowed;
idea & ok markus@
NB if you are using memory buffered logging make sure you update both syslogd
and syslogc _and_ restart syslogd because the protocol has changed
|
| |
|
|
|
|
| |
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@
|
| | |
|
| |
|
|
| |
ssurdock AT engineered-net.com; ok deraadt@
|
| |
|
|
| |
are already in use. Found by mpech@, OK deraadt@
|
| |
|
|
| |
log; spotted by mpech@
|
| | |
|
| | |
|