summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2022-06-16OpenBSD syslogd(8) escapes binary data with vis(3). Use theAlexander Bluhm
VIS_NOSLASH option to avoid additional backslashes. Although this option prevents to decode binaries, it makes automatic post processing easier. Formats like JSON use backslash escaping themself, additional escaping from syslogd would break SIEM systems. vis protection was introduced to avoid evil characters in log files and not to make binary logging possible. from Matthias Pitzl; OK deraadt@
2022-03-25Now that syslogd(8) supports SSL shutdown when the TLS connectionAlexander Bluhm
terminates, do SSL shutdown in the test client. This will detect SSL handshake errors also with TLS 1.3 if the CA of the client certificate is invalid. test races reported by anton@; debugged with Carsten Arzig
2022-01-13Adapt to changed debugging outputMartijn van Duren
2021-12-22Replace deprecated IO::Socket::INET6 with IO::Socket::IP.Alexander Bluhm
2021-12-02Tell testers which packages to install right awayKlemens Nanni
OK bluhm
2021-11-25LibreSSL error message has changed again, make test more tolerant.Alexander Bluhm
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
2021-10-12Relax test regex, read or write error is possible.Alexander Bluhm
2021-07-14LibreSSL error message has changed, adapt test.Alexander Bluhm
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-06-30TLS error messages have changed slightly, adapt regex for expectedAlexander Bluhm
logs in syslogd regress.
2021-05-21Ignore return value of execve(2) in ktrace output. It is meaningless.Alexander Bluhm
This fixes syslogd regress on powerpc64. discussed with kettenis@
2021-04-19Fix TLS error message race. Due to less handshakes in TLS 1.3 anAlexander Bluhm
EPIPE error may be reported instead of a TLS alert.
2021-03-09Kernel drops fewer messages in sendsyslog(2), adapt syslogd(8)Alexander Bluhm
tests. Kernel stashes logs temporarily, test it. Fix some races in existing tests.
2020-12-26Timing on slow armv7 machine is different. Instead of a brokenAlexander Bluhm
pipe error we may also receive a TLS alert.
2020-12-17Remove echo headlines.Alexander Bluhm
2020-11-16Certificate verification error message has been improved.Alexander Bluhm
2020-11-06Fix some races in syslogd tests. Fewer handshakes in TLS 1.3 makeAlexander Bluhm
the error messages and behavior less deterministic.
2020-10-16With TLS 1.2 the step by step handshake created precise errorAlexander Bluhm
conditions. TLS 1.3 shortens the handshake, so some errors cannot be reported properly to the other side. Instead the connection is closed and the other side receives a SIGPIPE when it tries to write the next TLS protocol message. Ignore this SIGPIPE signal in TLS client and server and adapt error messages when grepping the log files. discussed with tb@ and jsing@
2020-09-15Error messages for LibreSSL have changed when switching to TLS 1.3.Alexander Bluhm
2020-09-15Null cipher test works only with TLS 1.2.Alexander Bluhm
2020-09-14Use more specific regex for ktrace to avoid false positives.Alexander Bluhm
2020-07-24If KTRACE environment is set, generate ktrace output also for clientAlexander Bluhm
and server. Together with the syslogd ktrace this helps debugging.
2020-07-24With TLS 1.3 error message has slightly changed if the cafile doesAlexander Bluhm
not contain the CA of the server certificate.
2020-07-24LibreSSL default TLS version has changed from 1.2 to 1.3. AdaptAlexander Bluhm
tests that use and check selected SSL version.
2020-05-25Test that syslogd closes the UDP sockets only if not configured toAlexander Bluhm
send UDP packets.
2020-05-19LibreSSL error message has been improved, adapt syslogd TLS tests.Alexander Bluhm
2020-05-06Currently LibreSSL reports an unknown SSL_internal error. AdjustAlexander Bluhm
regex in test. So make regress passes for the release, the error message will be improved later. discussed with jsing@
2020-05-06The error message from LibreSSL has changed. Adjust regex in test.Alexander Bluhm
discussed with jsing@
2019-12-28Disable interop test with rsyslogd and TLS. Starting rsyslogd withAlexander Bluhm
GnuTLS does not work reliably.
2019-09-20REGRESS_SKIP_TARGETS was spelled incorrectly.Alexander Bluhm
reported by Moritz Buhl
2019-09-17Rsyslogd TLS client side is unreliable. Disable compatiblity test.Alexander Bluhm
2019-09-10If rsyslogd is not installed, explicitly skip these syslogdAlexander Bluhm
compatibility tests. Fix some races and increase the timeout for rsyslog tests.
2019-09-10Fix more races in syslogd test.Alexander Bluhm
2019-09-10Fix race in syslogd test.Alexander Bluhm
2019-07-12Test should also run if there is no obj directory. Name regressAlexander Bluhm
targets consistently with a run- prefix.
2019-07-09There was a race what is read first: the EOF from stdin to terminateAlexander Bluhm
the tty log collector, or log messages from the ptty. So some log messages could get lost at the end of testing. Now all available messages are read from the ptty before the test program terminates.
2019-07-09On slow armv7 machine reconnect timeout is faster than test, soAlexander Bluhm
error message appears twice.
2019-02-19With new Perl we have add .OBJDIR to @INC.Alexander Bluhm
2019-01-18Adapt expected number of dropped messages after sendsyslog(2) kernelAlexander Bluhm
buffer size has changed.
2018-10-06Debug output of rsyslogd has changed, adapt regex in compatibilityAlexander Bluhm
test.
2018-10-06Simplify regress tests by using the new setup and cleanup feature.Alexander Bluhm
2018-05-22In the sendsyslog-dropped test the client has to write a log messageAlexander Bluhm
before syslogd is running. To fix a race in regress, delay the syslogd startup until the message has been written. For debugging add the process class to all die messages.
2018-04-11Fix a race in the syslogd test. It did not wait long enough forAlexander Bluhm
syslogd to shutdown. So the test could miss some log messages.
2018-02-27The error handling of invalid certificate files has changed inAlexander Bluhm
libtls. Adjust test.
2018-01-14Unlocking the TCP stack resulted in smaller TCP segments sent outAlexander Bluhm
early on some machines. Use the TCP_NOPUSH socket option to get reliable regress results and syslogd(8) debug messages for grep.
2017-11-27lenght->length, mostly in commentsStuart Henderson
2017-10-23Test file system full behavior of syslogd(8). This is done byAlexander Bluhm
creating a vnd(4) disk image that is filled up during logging.
2017-10-17Update matching regexp now that the pid is included.Martin Pieuchot
From bluhm@
2017-10-05Check that the dropped during initialization message appears inAlexander Bluhm
local and remote log files.