History log of /openbsd/regress/usr.sbin/relayd/Relayd.pm (Results 1 – 20 of 20)
Revision Date Author Comments
# d2ef00f2 28-Oct-2024 tb <tb@openbsd.org>

relayd: add regress coverage for client certs

From Sören Tempel


# 643a4155 12-Oct-2021 anton <anton@openbsd.org>

quote sudo and handle arguments


# a296ae2a 07-Nov-2020 bluhm <bluhm@openbsd.org>

Set TCP option NODELAY in relayd and in client and server. This
speeds up transferring data and avoids to run into timeout. The
test was broken since switching to TLS 1.3 if running relayd on a
rem

Set TCP option NODELAY in relayd and in client and server. This
speeds up transferring data and avoids to run into timeout. The
test was broken since switching to TLS 1.3 if running relayd on a
remote machine. With no delay in tcp, https-multi using TLS 1.3
is slightly faster than TLS 1.2 on i386.

show more ...


# 54e86cda 20-Oct-2018 denis <denis@openbsd.org>

update to reflect changes introduced with relayd r1.227


# a17617cf 20-Jul-2015 bluhm <bluhm@openbsd.org>

Allow to use $curdir, $objdir, $host, $hostname in the test config
file. They are substituted automatically, to avoid this in each
single test.


# 037367f6 22-May-2015 bluhm <bluhm@openbsd.org>

Add tests for relayd TLS inspection with plain SSL and HTTPS.


# 1b3c3ba0 17-May-2015 bluhm <bluhm@openbsd.org>

Add test cases for a crash reported by Bertrand PROVOST. When a
HTTP client writes multiple requests or chunks in a single transfer,
relayd invokes the libevent callback manually for the next data.

Add test cases for a crash reported by Bertrand PROVOST. When a
HTTP client writes multiple requests or chunks in a single transfer,
relayd invokes the libevent callback manually for the next data.
If the callback closes the session, this results in an use after
free.
Test an invalid second request method, test an invalid header line
in the second PUT request, test an invalid second chunked length
for a PUT request. Also test multiple valid HTTP 1.1 PUT requests
with chunked body.
To detect crashes of relayd, start it with "prefork 1" and grep for
"lost child" log messages. Unfortunately only the first child is
monitored by the parent.

show more ...


# 9f577464 14-Dec-2014 bluhm <bluhm@openbsd.org>

By now relayd expects tls in its config file and writes tls into
its log file. Change regression tests form ssl to tls.


# aa8f1300 18-Aug-2014 bluhm <bluhm@openbsd.org>

Make the perl modules consistent for the multiple regression tests.
This includes coding style, better error messages and variable
naming.


# 2a1fe41f 10-Jul-2014 bluhm <bluhm@openbsd.org>

Test relayd error message for a broken config file.


# 14344d13 22-Jun-2014 bluhm <bluhm@openbsd.org>

Fix the relayd regression tests. Now they pass with and without
an obj directory. The relayd process can also run on a remote
machine for different timing.


# fd615831 12-May-2014 andre <andre@openbsd.org>

Refactors "dummyrun" flag as "dryrun" with an approach similar to the one used
for client/server processes checks through $self->{down} state control
variable, while here, do not instantiate a client

Refactors "dummyrun" flag as "dryrun" with an approach similar to the one used
for client/server processes checks through $self->{down} state control
variable, while here, do not instantiate a client when noclient is defined,
reflecting server object instantiation behaviour.

ok bluhm

show more ...


# 736ef810 09-May-2014 andre <andre@openbsd.org>

Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd tests
framework. These flags can be set from test file which eases performing
dry-runs of relayd long enough to do relayd.conf parsing

Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd tests
framework. These flags can be set from test file which eases performing
dry-runs of relayd long enough to do relayd.conf parsing, thus enabling the
grammar/parser-only tests. While here, fix and improves args-http-mark.pl to a
correct use-case.

ok reyk

show more ...


# 85781182 02-May-2014 andre <andre@openbsd.org>

Extends relayd regress-tests framework to support tweaks from test-code: tables
definition on relayd.conf, customization of client/server cookies,
client/server headers and request path.

ok reyk


# 27998e2b 21-Jan-2013 bluhm <bluhm@openbsd.org>

Add ssl tests for https chunked and https contentlength over relayd.


# bf5ac567 28-Dec-2012 bluhm <bluhm@openbsd.org>

Allow the relayd regression tests to run the relayd on a different
host from client and server. Real TCP connections not running on
localhost provide a different timing uncovering more bugs.


# ae840836 28-Nov-2012 bluhm <bluhm@openbsd.org>

Set used environment variables explicitly in makefile and use them
consistently in relayd regression test.


# 61ca310e 02-Nov-2012 bluhm <bluhm@openbsd.org>

Ktrace the relayd during the test if the KTRACE environment variable
is set.


# 9d1e6fe8 02-Sep-2011 bluhm <bluhm@openbsd.org>

Add tests for relayd protocol http 1.0 and 1.1.


# c2d4e910 01-Sep-2011 bluhm <bluhm@openbsd.org>

Add regression tests for relaying connections through relayd. This
is useful to ensure that socket splicing is working correctly.
Server, relayd, client with different config are started for each
su

Add regression tests for relaying connections through relayd. This
is useful to ensure that socket splicing is working correctly.
Server, relayd, client with different config are started for each
subtest. Data must pass unmodified.

show more ...