summaryrefslogtreecommitdiffstats
path: root/regress/usr.sbin/syslogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Check that syslogd(8) is still running if non critical errors happenbluhm2017-03-241-0/+42
| | | | during startup.
* Adapt regex in syslogd test to the new shiny libssl error messages.bluhm2017-02-075-12/+13
|
* Mark the IO::Socket::SSL server socket with SSL_server to avoidbluhm2017-01-311-1/+2
| | | | OCSP error messages.
* The libssl and libcrypto error messages have changed. Adapt thebluhm2017-01-315-12/+12
| | | | regex for the expected output in the log files.
* Test listening on multiple sockets simultaneously.bluhm2017-01-023-2/+116
|
* Now libtls creates nicer certificate verification error messages.bluhm2016-12-302-3/+4
| | | | Adapt regex in syslogd test.
* Test that the syslogd program can be started with a relative path.bluhm2016-12-272-3/+41
|
* To test the pipe feature, a dd is started and writing into a logbluhm2016-11-281-4/+22
| | | | | | file as user _syslogd. Since /usr/obj is 0770 now, user _syslogd cannot access this file there anymore. Create pipe.log in temporary directory in /tmp instead.
* Create the sys/syscall.ph header file on demand for the sendsyslog(2)bluhm2016-11-151-2/+6
| | | | tests since Perl headers are not installed by default anymore.
* In rare cases the number of dropped messages changes a bit more.bluhm2016-10-134-6/+6
| | | | Make regex less strict.
* Fix races during syslogd startup and shutdown in privsep tests.bluhm2016-10-124-12/+46
|
* The TLS error message depends on the generated fake certificate.bluhm2016-10-102-4/+2
| | | | Make the test's expectation less strict.
* Check that syslogd priv process does exec on itself.bluhm2016-10-068-11/+17
|
* Add millisecond precision to expected timestamp.bluhm2016-10-061-1/+1
|
* Add test for syslogd(8) -Z ISO timestamp format.bluhm2016-10-041-0/+79
|
* The TCP socket buffer size for syslogd has changed. Adapt testsbluhm2016-09-239-30/+57
| | | | | | where we count the dropped messages. A different number gets stuck in the kernel buffers now which is not included in the syslogd statistics.
* Test syslogd TLS client certificate validation.bluhm2016-09-217-10/+140
|
* Print SKIPPED if a regress test cannot be executed for some reason.bluhm2016-09-021-1/+2
| | | | This allows to identify such tests by looking at their output.
* Syslogd tls config error messages have changed, adapt tests.bluhm2016-08-293-4/+4
|
* Some syslogd tests failed to report errors. Make these tests morebluhm2016-08-237-23/+38
| | | | strict and adapt the check patterns.
* syslogd(8) uses new libtls certificate and key file loading. Sobluhm2016-08-175-5/+5
| | | | the tests behave a little bit different now.
* Allow to run the syslogd tests as root without SUDO also if thebluhm2016-07-121-2/+2
| | | | libevent method environment is set.
* Add regression tests for syslogd TLS client certificates.bluhm2016-07-124-11/+89
|
* Revert previous adaption of the test. The behavior change in libtlsbluhm2016-07-111-1/+1
| | | | has been backed out.
* Now libtls is always reading cert.pem during tls_config_new().bluhm2016-07-061-1/+1
| | | | Adapt ktrace count in syslogd test.
* Timing changed, now a syslogd test may get EPIPE instead ofbluhm2016-07-011-1/+1
| | | | ECONNREFUSED error.
* Syslogd can send messages to a user, test what happens if thebluhm2016-06-222-5/+26
| | | | | | terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable.
* When connecting to a non existing tcp listen socket on localhost,bluhm2016-05-292-15/+18
| | | | | | connect(2) does no longer fail immediately. It reports EINPROGRESS first, an ECONNREFUSED or EPIPE error follows later. Allow this changed behavior in syslogd(8) regression tests.
* Fix some Perl statements perlcritic was bitching about: Variablebluhm2016-05-032-5/+6
| | | | declared in conditional statement.
* To test syslogd compatibility rsyslog is used as remote server.bluhm2016-05-037-6/+13
| | | | New rsyslog has other options and debug output, adapt test.
* Kdump contains LOG_CONS now. TLS error message changes.bluhm2016-03-292-2/+2
| | | | Adapt grep regex in syslogd tests.
* System call sendsyslog2 is gone, adapt tests.bluhm2016-03-217-46/+34
|
* When syslogd is not running, check that no syslog priority or droppedbluhm2016-01-071-3/+26
| | | | message is logged to the console by the kernel.
* Test logging to console by redirecting the system's console into abluhm2015-12-3014-103/+185
| | | | | | | file. All subtests get an additional /dev/console entry in syslog.conf, then check that messages appear in the console file. Add a test that stops syslogd, calls sendsyslog2() with LOG_CONS and checks that the message appears in the console file.
* Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)bluhm2015-12-047-9/+72
| | | | directly.
* replace setbuf with setvbuf, from Frederic Nowaktedu2015-11-041-1/+1
|
* Generating the self-signed syslogd test certificate does not dependbluhm2015-11-041-2/+2
| | | | on the CA certificate. Found by Jan Klemkow.
* Test that rsyslogd can send over TLS to OpenBSD syslogd.bluhm2015-11-024-5/+65
|
* As syslog(3) in libc no longer inserts the timestamp, the maximumbluhm2015-10-311-3/+4
| | | | | message length that may be generated by syslogd got longer. Adapt the test.
* Handling of bogus CA file has changed in syslogd. Adapt tests tobluhm2015-10-242-2/+2
| | | | new error messages.
* Test syslogd with empty or non existing server certificates andbluhm2015-10-234-0/+214
| | | | keys.
* Check that syslogd delays a blocking write to tty and that that allbluhm2015-10-236-17/+80
| | | | messages still appear on the tty.
* Test syslogd logging to a tty which belongs to a user. This isbluhm2015-10-1931-55/+284
| | | | | done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file.
* Add tests for syslogd TLS accept and receive encrypted messages.bluhm2015-10-0913-9/+449
|
* In libtls connection error EOF has changed to connection close.bluhm2015-09-252-7/+7
| | | | Adapt syslogd tests.
* Adapt test to 50MB CAfile limit.bluhm2015-09-112-3/+3
|
* Check that there are no illegal spaces in the sendsyslog message.bluhm2015-09-111-1/+1
|
* Grep for new error messages about tls_connect_socket. Libtls nowbluhm2015-09-1010-13/+17
| | | | reports handshake failed. Make bufsize tests more reliable.
* Add args-bufsize-native.pl that checks wether libc syslog(3) canbluhm2015-09-093-0/+48
| | | | | handle 8192 bytes messages. Rename the sendsyslog(2) tests consistently.
* Test that syslogd can process 8 full size messages from sendsyslog(2)bluhm2015-09-095-4/+162
| | | | or UDP socket or UNIX domain socket at once.