History log of /openbsd/regress/usr.sbin/syslogd/funcs.pl (Results 1 – 25 of 41)
Revision Date Author Comments
# 508def2a 14-Jun-2024 bluhm <bluhm@openbsd.org>

Replace deprecated given/when and smartmatch operator in Perl scripts.


# abc1f5da 25-Mar-2022 bluhm <bluhm@openbsd.org>

Now that syslogd(8) supports SSL shutdown when the TLS connection
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
cert

Now that syslogd(8) supports SSL shutdown when the TLS connection
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

show more ...


# 5845290f 22-Dec-2021 bluhm <bluhm@openbsd.org>

Replace deprecated IO::Socket::INET6 with IO::Socket::IP.


# eb0daead 06-Nov-2020 bluhm <bluhm@openbsd.org>

Fix some races in syslogd tests. Fewer handshakes in TLS 1.3 make
the error messages and behavior less deterministic.


# a0e989f6 17-Sep-2019 bluhm <bluhm@openbsd.org>

Rsyslogd TLS client side is unreliable. Disable compatiblity test.


# dedcb26b 10-Sep-2019 bluhm <bluhm@openbsd.org>

If rsyslogd is not installed, explicitly skip these syslogd
compatibility tests. Fix some races and increase the timeout for
rsyslog tests.


# 4dc3bc25 22-May-2018 bluhm <bluhm@openbsd.org>

In the sendsyslog-dropped test the client has to write a log message
before syslogd is running. To fix a race in regress, delay the
syslogd startup until the message has been written. For debugging

In the sendsyslog-dropped test the client has to write a log message
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.

show more ...


# 57e2f549 27-Nov-2017 sthen <sthen@openbsd.org>

lenght->length, mostly in comments


# be4712f2 13-Sep-2017 bluhm <bluhm@openbsd.org>

Check that the hostname added by syslogd -h in file and server log
is correct. Use generic redo functions. Do syntax check for all
Perl files.


# 2722e17a 07-Apr-2017 bluhm <bluhm@openbsd.org>

Adapt test to new syslogd's local message priority.


# 23f42798 06-Apr-2017 bluhm <bluhm@openbsd.org>

Check that local syslog messages have the the expected priority.


# 8a6a3d0f 21-Mar-2016 bluhm <bluhm@openbsd.org>

System call sendsyslog2 is gone, adapt tests.


# 29e70a6f 30-Dec-2015 bluhm <bluhm@openbsd.org>

Test logging to console by redirecting the system's console into a
file. All subtests get an additional /dev/console entry in
syslog.conf, then check that messages appear in the console file.
Add a

Test logging to console by redirecting the system's console into a
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.

show more ...


# ef01d180 04-Dec-2015 bluhm <bluhm@openbsd.org>

Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)
directly.


# c3c9e563 23-Oct-2015 bluhm <bluhm@openbsd.org>

Check that syslogd delays a blocking write to tty and that that all
messages still appear on the tty.


# 7b30e940 19-Oct-2015 bluhm <bluhm@openbsd.org>

Test syslogd logging to a tty which belongs to a user. This is
done with a utmp entry for a pty fake login. All messages are read
from the pty and written into a log file.


# 0e8195d5 09-Oct-2015 bluhm <bluhm@openbsd.org>

Add tests for syslogd TLS accept and receive encrypted messages.


# 0c5e6325 09-Sep-2015 bluhm <bluhm@openbsd.org>

Test that syslogd can process 8 full size messages from sendsyslog(2)
or UDP socket or UNIX domain socket at once.


# f7c838b2 19-Jul-2015 bluhm <bluhm@openbsd.org>

Test octet counting and non transparent framing.


# bb7ea376 16-Jul-2015 bluhm <bluhm@openbsd.org>

Test that syslogd does not append white spaces to messages. Per
default the test pattern is stricter now. Also do some test cleanup


# 9f5e6548 07-Jul-2015 bluhm <bluhm@openbsd.org>

Add tests for incomming syslog messages over TCP.


# 28157168 28-Jun-2015 bluhm <bluhm@openbsd.org>

Add tests for the !prog and !!prog and !* keywords in syslog.conf.


# f48a84a7 15-Jun-2015 bluhm <bluhm@openbsd.org>

Rework how fstat and ktrace pattern are specified in the test
arguments. Add tests to check wether syslogd privsep works. This
is done for debug and foreground and daemon mode. Fstat is checked
fo

Rework how fstat and ktrace pattern are specified in the test
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.

show more ...


# 268e7daf 12-Feb-2015 bluhm <bluhm@openbsd.org>

Make syslogd tests more reliable. Increase the allowed range of
lost log messages. Improve the synchronisation of client and server.


# a87ca01d 11-Feb-2015 bluhm <bluhm@openbsd.org>

Make syslogd tests more reliable. Allow a range of certain log
messages, in case some got lost. Slow down client when sending
multiple log messages. Sort patterns when checking log files. TLS
err

Make syslogd tests more reliable. Allow a range of certain log
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.

show more ...


12