Name Date Size #Lines LOC

..--

Client.pmH A D29-Jan-20253.6 KiB9871

LICENSEH A D18-Feb-2022832 1514

MakefileH A D29-Jan-20253.9 KiB11573

Proc.pmH A D18-Feb-20225 KiB206163

READMEH A D20-Feb-20201.1 KiB2620

Relayd.pmH A D29-Jan-20254.4 KiB12797

Remote.pmH A D20-Feb-20203.2 KiB11080

Server.pmH A D18-Feb-20223.7 KiB10983

args-default.plH A D20-Feb-2020134 127

args-dryrun.plH A D20-Feb-2020256 2116

args-http-append-header.plH A D20-Feb-2020908 4136

args-http-append.plH A D20-Feb-2020570 2825

args-http-callback.plH A D20-Feb-20201 KiB5542

args-http-change-cookie.plH A D20-Feb-2020437 2825

args-http-change-path.plH A D20-Feb-2020458 2825

args-http-change.plH A D20-Feb-2020577 3027

args-http-chunked-callback.plH A D20-Feb-20201.1 KiB5945

args-http-chunked-invalid.plH A D08-Jul-20241.1 KiB5340

args-http-chunked-put.plH A D20-Feb-2020791 3934

args-http-chunked.plH A D20-Feb-2020776 3833

args-http-contentlength-get.plH A D08-Jul-2024986 5143

args-http-contentlength-invalid.plH A D08-Jul-2024709 4132

args-http-contentlength.plH A D20-Feb-2020870 3833

args-http-expect.plH A D20-Feb-2020461 2926

args-http-filter-block.plH A D20-Feb-2020395 2621

args-http-filter-contentlength.plH A D20-Feb-2020437 2823

args-http-filter-cookie.plH A D20-Feb-2020713 3328

args-http-filter-method.plH A D20-Feb-2020412 2823

args-http-filter-null-host.plH A D20-Feb-2020477 3426

args-http-filter-persistent.plH A D20-Feb-20201,005 4237

args-http-filter-put-contentlength.plH A D20-Feb-2020444 2924

args-http-filter-put.plH A D20-Feb-2020373 2621

args-http-filter-url-digest.plH A D20-Feb-2020588 3330

args-http-filter-url-file.inH A D20-Feb-202020 32

args-http-filter-url-file.plH A D20-Feb-2020602 3229

args-http-filter-url.plH A D20-Feb-2020528 3330

args-http-filter.plH A D20-Feb-2020384 2520

args-http-hash.plH A D20-Feb-2020463 2724

args-http-head-get.plH A D23-Jun-20211 KiB4641

args-http-headerlength.plH A D20-Feb-2020450 2724

args-http-headline-callback.plH A D20-Feb-20201.1 KiB5542

args-http-headline-close.plH A D20-Feb-2020552 3124

args-http-host.plH A D20-Feb-2020581 3833

args-http-host2.plH A D20-Feb-2020544 3531

args-http-host3.plH A D20-Feb-2020597 3733

args-http-host4.plH A D20-Feb-2020618 3833

args-http-invalid-header1.plH A D08-Jul-2024613 3932

args-http-invalid-header2.plH A D08-Jul-2024612 3932

args-http-label.plH A D20-Feb-2020534 3027

args-http-log.plH A D20-Feb-2020469 2823

args-http-mark-marked.plH A D20-Feb-2020356 2320

args-http-mark-marked2.plH A D20-Feb-2020993 4436

args-http-mark.plH A D20-Feb-2020389 2421

args-http-multi.plH A D20-Feb-2020422 2621

args-http-persistent.plH A D20-Feb-20201.1 KiB4641

args-http-put-multi.plH A D20-Feb-2020422 2621

args-http-put.plH A D20-Feb-20201.1 KiB4742

args-http-remove.plH A D20-Feb-2020633 3431

args-http-return.plH A D20-Feb-2020529 2824

args-http-slow-consumer.plH A D20-Feb-20201,002 4940

args-http-tcp.plH A D20-Feb-2020244 1813

args-http.plH A D20-Feb-2020293 2116

args-https-callback.plH A D20-Feb-20201.1 KiB5946

args-https-chunked-callback.plH A D20-Feb-20201.1 KiB6044

args-https-chunked-put.plH A D20-Feb-2020849 4338

args-https-chunked.plH A D20-Feb-2020834 4237

args-https-contentlength.plH A D20-Feb-2020928 4237

args-https-filter-persistent.plH A D20-Feb-20201.1 KiB4944

args-https-headline-callback.plH A D20-Feb-20201.1 KiB5946

args-https-headline-close.plH A D20-Feb-2020636 3528

args-https-inspect.plH A D20-Feb-2020462 2823

args-https-multi.plH A D20-Feb-2020480 3025

args-https-persistent.plH A D20-Feb-20201.1 KiB5045

args-https-put-multi.plH A D20-Feb-2020480 3025

args-https-put.plH A D20-Feb-20201.1 KiB5146

args-https.plH A D20-Feb-2020464 3024

args-reverse.plH A D20-Feb-2020248 1813

args-ssl-client-verify-fail.plH A D29-Jan-2025591

args-ssl-client-verify.plH A D29-Jan-2025269

args-ssl-client.plH A D20-Feb-2020215 1813

args-ssl-inspect.plH A D20-Feb-2020317 2217

args-ssl-server.plH A D20-Feb-2020216 1813

args-ssl.plH A D20-Feb-2020318 2318

args-timeget-http.plH A D20-Feb-2020427 2621

args-timeget-https.plH A D20-Feb-2020510 3126

args-timeget-ssl.plH A D20-Feb-2020471 2924

args-timeget.plH A D20-Feb-2020388 2419

args-timein-http.plH A D20-Feb-2020500 3126

args-timein-https.plH A D20-Feb-2020583 3631

args-timein-ssl.plH A D20-Feb-2020517 3328

args-timein.plH A D20-Feb-2020411 2621

args-timeout-http.plH A D20-Feb-2020516 3227

args-timeout-https.plH A D20-Feb-2020599 3732

args-timeout-ssl.plH A D20-Feb-2020533 3429

args-timeout.plH A D20-Feb-2020427 2722

args-timeput-http.plH A D20-Feb-2020427 2621

args-timeput-https.plH A D20-Feb-2020510 3126

args-timeput-ssl.plH A D20-Feb-2020449 2823

args-timeput.plH A D20-Feb-2020343 2116

direct.plH A D20-Feb-20201.5 KiB6337

funcs.plH A D08-Jul-202414.8 KiB617524

relayd.plH A D20-Feb-20202.6 KiB9065

remote.plH A D20-Feb-20204.4 KiB146119

README

1Run relayd regressions tests.  The framework runs a client, and a
2server, and a relayd.  Currently the tcp and http forwarding code
3path is covered.  Each test creates a special relayd.conf and starts
4those three processes.  All processes write log files that are
5checked for certain messages.  The test arguments are kept in the
6args-*.pl files.  To find socket splicing bugs, each test is run
7in both copy and splice mode.
8
9SUDO=doas
10As relayd needs root privileges either run the tests as root or set
11this variable and run make as a regular user.  Only the code that
12requires it, is run as root.
13
14KTRACE=ktrace
15Set this variable if you want a ktrace output from relayd.  Note that
16ktrace is invoked after sudo as sudo would disable it.
17
18RELAYD=/usr/src/usr.sbin/relayd/obj/relayd
19Start an alternative relayd program that is not in the path.
20
21LOCAL_ADDR, REMOTE_ADDR, REMOTE_SSH
22Set these to run the relayd on a remote machine.  As the client and
23server run locally, network timing may influence the test results.
24
25Changes here have to be discussed with bluhm@, reyk@ or benno@.
26