History log of /openbsd-current/regress/usr.sbin/syslogd/args-tls-cafile-fake.pl
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 25-Nov-2021 bluhm

LibreSSL error message has changed again, make test more tolerant.


Revision tags: OPENBSD_7_0_BASE
# 1.15 14-Jul-2021 bluhm

LibreSSL error message has changed, adapt test.


Revision tags: OPENBSD_6_9_BASE
# 1.14 26-Dec-2020 bluhm

Timing on slow armv7 machine is different. Instead of a broken
pipe error we may also receive a TLS alert.


# 1.13 16-Oct-2020 bluhm

With TLS 1.2 the step by step handshake created precise error
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@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.11 30-Dec-2016 bluhm

Now libtls creates nicer certificate verification error messages.
Adapt regex in syslogd test.


# 1.10 10-Oct-2016 bluhm

The TLS error message depends on the generated fake certificate.
Make the test's expectation less strict.


Revision tags: OPENBSD_6_0_BASE
# 1.9 29-Mar-2016 bluhm

Kdump contains LOG_CONS now. TLS error message changes.
Adapt grep regex in syslogd tests.


# 1.8 21-Mar-2016 bluhm

System call sendsyslog2 is gone, adapt tests.


Revision tags: OPENBSD_5_9_BASE
# 1.7 23-Oct-2015 bluhm

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


# 1.6 19-Oct-2015 bluhm

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.


# 1.5 10-Sep-2015 bluhm

Grep for new error messages about tls_connect_socket. Libtls now
reports handshake failed. Make bufsize tests more reliable.


Revision tags: OPENBSD_5_8_BASE
# 1.4 16-Jul-2015 bluhm

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


Revision tags: OPENBSD_5_7_BASE
# 1.3 09-Feb-2015 bluhm

Error messages form libtls have changed, adapt syslogd tests.


# 1.2 30-Jan-2015 bluhm

TLS connect error message has changed, adapt tests.


# 1.1 28-Jan-2015 bluhm

Test the x509 certificate validation of syslog over TLS.


# 1.15 14-Jul-2021 bluhm

LibreSSL error message has changed, adapt test.


Revision tags: OPENBSD_6_9_BASE
# 1.14 26-Dec-2020 bluhm

Timing on slow armv7 machine is different. Instead of a broken
pipe error we may also receive a TLS alert.


# 1.13 16-Oct-2020 bluhm

With TLS 1.2 the step by step handshake created precise error
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@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.11 30-Dec-2016 bluhm

Now libtls creates nicer certificate verification error messages.
Adapt regex in syslogd test.


# 1.10 10-Oct-2016 bluhm

The TLS error message depends on the generated fake certificate.
Make the test's expectation less strict.


Revision tags: OPENBSD_6_0_BASE
# 1.9 29-Mar-2016 bluhm

Kdump contains LOG_CONS now. TLS error message changes.
Adapt grep regex in syslogd tests.


# 1.8 21-Mar-2016 bluhm

System call sendsyslog2 is gone, adapt tests.


Revision tags: OPENBSD_5_9_BASE
# 1.7 23-Oct-2015 bluhm

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


# 1.6 19-Oct-2015 bluhm

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.


# 1.5 10-Sep-2015 bluhm

Grep for new error messages about tls_connect_socket. Libtls now
reports handshake failed. Make bufsize tests more reliable.


Revision tags: OPENBSD_5_8_BASE
# 1.4 16-Jul-2015 bluhm

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


Revision tags: OPENBSD_5_7_BASE
# 1.3 09-Feb-2015 bluhm

Error messages form libtls have changed, adapt syslogd tests.


# 1.2 30-Jan-2015 bluhm

TLS connect error message has changed, adapt tests.


# 1.1 28-Jan-2015 bluhm

Test the x509 certificate validation of syslog over TLS.


# 1.14 26-Dec-2020 bluhm

Timing on slow armv7 machine is different. Instead of a broken
pipe error we may also receive a TLS alert.


# 1.13 16-Oct-2020 bluhm

With TLS 1.2 the step by step handshake created precise error
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@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.11 30-Dec-2016 bluhm

Now libtls creates nicer certificate verification error messages.
Adapt regex in syslogd test.


# 1.10 10-Oct-2016 bluhm

The TLS error message depends on the generated fake certificate.
Make the test's expectation less strict.


Revision tags: OPENBSD_6_0_BASE
# 1.9 29-Mar-2016 bluhm

Kdump contains LOG_CONS now. TLS error message changes.
Adapt grep regex in syslogd tests.


# 1.8 21-Mar-2016 bluhm

System call sendsyslog2 is gone, adapt tests.


Revision tags: OPENBSD_5_9_BASE
# 1.7 23-Oct-2015 bluhm

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


# 1.6 19-Oct-2015 bluhm

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.


# 1.5 10-Sep-2015 bluhm

Grep for new error messages about tls_connect_socket. Libtls now
reports handshake failed. Make bufsize tests more reliable.


Revision tags: OPENBSD_5_8_BASE
# 1.4 16-Jul-2015 bluhm

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


Revision tags: OPENBSD_5_7_BASE
# 1.3 09-Feb-2015 bluhm

Error messages form libtls have changed, adapt syslogd tests.


# 1.2 30-Jan-2015 bluhm

TLS connect error message has changed, adapt tests.


# 1.1 28-Jan-2015 bluhm

Test the x509 certificate validation of syslog over TLS.


# 1.13 16-Oct-2020 bluhm

With TLS 1.2 the step by step handshake created precise error
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@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.12 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.11 30-Dec-2016 bluhm

Now libtls creates nicer certificate verification error messages.
Adapt regex in syslogd test.


# 1.10 10-Oct-2016 bluhm

The TLS error message depends on the generated fake certificate.
Make the test's expectation less strict.


Revision tags: OPENBSD_6_0_BASE
# 1.9 29-Mar-2016 bluhm

Kdump contains LOG_CONS now. TLS error message changes.
Adapt grep regex in syslogd tests.


# 1.8 21-Mar-2016 bluhm

System call sendsyslog2 is gone, adapt tests.


Revision tags: OPENBSD_5_9_BASE
# 1.7 23-Oct-2015 bluhm

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


# 1.6 19-Oct-2015 bluhm

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.


# 1.5 10-Sep-2015 bluhm

Grep for new error messages about tls_connect_socket. Libtls now
reports handshake failed. Make bufsize tests more reliable.


Revision tags: OPENBSD_5_8_BASE
# 1.4 16-Jul-2015 bluhm

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


Revision tags: OPENBSD_5_7_BASE
# 1.3 09-Feb-2015 bluhm

Error messages form libtls have changed, adapt syslogd tests.


# 1.2 30-Jan-2015 bluhm

TLS connect error message has changed, adapt tests.


# 1.1 28-Jan-2015 bluhm

Test the x509 certificate validation of syslog over TLS.


Revision tags: OPENBSD_6_2_BASE
# 1.12 05-Apr-2017 bluhm

Syslogd's debug and error messages have changed a bit, adapt test.


Revision tags: OPENBSD_6_1_BASE
# 1.11 30-Dec-2016 bluhm

Now libtls creates nicer certificate verification error messages.
Adapt regex in syslogd test.


# 1.10 10-Oct-2016 bluhm

The TLS error message depends on the generated fake certificate.
Make the test's expectation less strict.


Revision tags: OPENBSD_6_0_BASE
# 1.9 29-Mar-2016 bluhm

Kdump contains LOG_CONS now. TLS error message changes.
Adapt grep regex in syslogd tests.


# 1.8 21-Mar-2016 bluhm

System call sendsyslog2 is gone, adapt tests.


Revision tags: OPENBSD_5_9_BASE
# 1.7 23-Oct-2015 bluhm

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


# 1.6 19-Oct-2015 bluhm

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.


# 1.5 10-Sep-2015 bluhm

Grep for new error messages about tls_connect_socket. Libtls now
reports handshake failed. Make bufsize tests more reliable.


Revision tags: OPENBSD_5_8_BASE
# 1.4 16-Jul-2015 bluhm

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


Revision tags: OPENBSD_5_7_BASE
# 1.3 09-Feb-2015 bluhm

Error messages form libtls have changed, adapt syslogd tests.


# 1.2 30-Jan-2015 bluhm

TLS connect error message has changed, adapt tests.


# 1.1 28-Jan-2015 bluhm

Test the x509 certificate validation of syslog over TLS.