summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2015-12-04Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)Alexander Bluhm
directly.
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-11-04Generating the self-signed syslogd test certificate does not dependAlexander Bluhm
on the CA certificate. Found by Jan Klemkow.
2015-11-02Test that rsyslogd can send over TLS to OpenBSD syslogd.Alexander Bluhm
2015-10-31As syslog(3) in libc no longer inserts the timestamp, the maximumAlexander Bluhm
message length that may be generated by syslogd got longer. Adapt the test.
2015-10-24Handling of bogus CA file has changed in syslogd. Adapt tests toAlexander Bluhm
new error messages.
2015-10-23Test syslogd with empty or non existing server certificates andAlexander Bluhm
keys.
2015-10-23Check that syslogd delays a blocking write to tty and that that allAlexander Bluhm
messages still appear on the tty.
2015-10-19Test syslogd logging to a tty which belongs to a user. This isAlexander Bluhm
done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file.
2015-10-09Add tests for syslogd TLS accept and receive encrypted messages.Alexander Bluhm
2015-09-25In libtls connection error EOF has changed to connection close.Alexander Bluhm
Adapt syslogd tests.
2015-09-11Adapt test to 50MB CAfile limit.Alexander Bluhm
2015-09-11Check that there are no illegal spaces in the sendsyslog message.Alexander Bluhm
2015-09-10Grep for new error messages about tls_connect_socket. Libtls nowAlexander Bluhm
reports handshake failed. Make bufsize tests more reliable.
2015-09-09Add args-bufsize-native.pl that checks wether libc syslog(3) canAlexander Bluhm
handle 8192 bytes messages. Rename the sendsyslog(2) tests consistently.
2015-09-09Test that syslogd can process 8 full size messages from sendsyslog(2)Alexander Bluhm
or UDP socket or UNIX domain socket at once.
2015-09-03Add test for sendsyslog(2) dropped message reporting.Alexander Bluhm
2015-08-31New tests for +host in syslog.conf that matches on an IPv4 and IPv6Alexander Bluhm
address. Add test for syslogd -p log_socket.
2015-08-25Do not inherit the event environment, delete and set explicitlyAlexander Bluhm
after sudo.
2015-08-01Use Socket to make Perl syntax check of single test files pass.Alexander Bluhm
2015-08-01Make syslogd tests more reliable. Allow TLS tests to drop a widerAlexander Bluhm
rage of messages and make dropped regexes more specific.
2015-07-20Test what happens when syslogd reaches its file descriptor limitAlexander Bluhm
and cannot accept TCP connections anymore.
2015-07-20More reliable test due to more specific regex.Alexander Bluhm
2015-07-20Allow to use $curdir, $objdir, $host, $hostname in the test configAlexander Bluhm
file. They are substituted automatically, to avoid this in each single test.
2015-07-19Test octet counting and non transparent framing.Alexander Bluhm
2015-07-18Now tls_write() behaves like write(2), so the TLS tests produce theAlexander Bluhm
same results as the TCP tests.
2015-07-16This feature is tested in args-block-prog-quick.pl now.Alexander Bluhm
2015-07-16Test that syslogd does not append white spaces to messages. PerAlexander Bluhm
default the test pattern is stricter now. Also do some test cleanup
2015-07-16Kill a possibly running syslogd with -9 before testing.Alexander Bluhm
2015-07-09Test syslogd with reduced file descriptor limit. It has too manyAlexander Bluhm
log files in syslog.conf and must close and reopen them at SIGHUP.
2015-07-07Add tests for incomming syslog messages over TCP.Alexander Bluhm
2015-07-02Check the receive line count less strict to avoid false negatives.Alexander Bluhm
2015-06-30Add tests for syslog -U.Alexander Bluhm
2015-06-29Add test for blocks in syslog.conf constructed with the +host andAlexander Bluhm
++host and +* keyword.
2015-06-29Test that selectors, which specify facility and severity level forAlexander Bluhm
each logfile, work as documented in syslog.conf(5).
2015-06-28Use fstat to check that the privsep parent of syslogd closes allAlexander Bluhm
internet sockets also when invoked with -u.
2015-06-28Add tests for the !prog and !!prog and !* keywords in syslog.conf.Alexander Bluhm
2015-06-15Rework how fstat and ktrace pattern are specified in the testAlexander Bluhm
arguments. Add tests to check wether syslogd privsep works. This is done for debug and foreground and daemon mode. Fstat is checked for chroot and sockets. Ktrace dump is grepped for setting uid and gid.
2015-02-25Do not count the dropped messages strictly, so that the syslogdAlexander Bluhm
tests are depending less on the timing. Fix a race in the buffer sync test. Now make regress of syslogd passes on my amd64, i386, sparc64, alpha machines.
2015-02-20The write again workaround in syslogd changes the dropped messageAlexander Bluhm
counter. Adapt tests.
2015-02-14Tests that syslogd uses the expected TLS version.Alexander Bluhm
2015-02-13Adapt the maxunix test, the syslogd -a error semantic has changed.Alexander Bluhm
Increase timeouts and remove races, so that the syslogd tests pass on my sparc64 machine.
2015-02-12Make syslogd tests more reliable. Increase the allowed range ofAlexander Bluhm
lost log messages. Improve the synchronisation of client and server.
2015-02-11Make syslogd tests more reliable. Allow a range of certain logAlexander Bluhm
messages, in case some got lost. Slow down client when sending multiple log messages. Sort patterns when checking log files. TLS error messages have changed, adapt tests.
2015-02-11Make syslogd test more reliable. Use Time::HiRes to sleep .01Alexander Bluhm
seconds in the write_lines() loop. This slows down the client, so all messages reach syslogd and flood its buffers. Increase the timeout to wait until all buffers are full. Use this code in all TCP/TLS buffer and memory overflow tests.
2015-02-09Error messages form libtls have changed, adapt syslogd tests.Alexander Bluhm
2015-02-08Change syslog tests from transparent framing to octet counting.Alexander Bluhm
Add tests for truncated buffer handling.
2015-02-06Add syslogd tests for dropped messages.Alexander Bluhm
2015-02-02Test that long syslog messages are truncated correctly.Alexander Bluhm
2015-01-30TLS connect error message has changed, adapt tests.Alexander Bluhm