summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2014-07-22Add $OpenBSD tag to make syncs easierDarren Tucker
2014-07-22Regenerate test keys with certs signed with ed25519 instead of ecdsa.Darren Tucker
These can be used in -portable on platforms that don't support ECDSA.
2014-07-22Sign test certs with ed25519 instead of ecdsa so that they'll work inDarren Tucker
-portable on platforms that don't have ECDSA in their OpenSSL. ok djm
2014-07-22change the test for still-open Unix domain sockets to be robust againstDamien Miller
nc implementations that produce error messages. from -portable
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
being-standardized <endian.h> ok deraadt@ millert@ beck@
2014-07-20A HTTP connection may have multiple requests with content. AllowAlexander Bluhm
to specify an array of md5 hashes in the test arguments and check all of them in the client and server log files. So test that relayd does not modify the http body.
2014-07-20Fix ordering breakage, moving the fclose() test last again.Philip Guenther
Also correct some format strings. From Doug Hogan (doug (at) acyclic.org)
2014-07-20Update regress to match change in stpcpy() linker messagePhilip Guenther
Noted by Doug Hogan (doug (at) acyclic.org)
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org)
2014-07-20Delete unused variables found by -WallPhilip Guenther
2014-07-20Add missing include. Tickled by Doug Hogan (doug (at) acyclic.org)Philip Guenther
2014-07-19Make sure struct sockaddr_in gets completely initialized by setting it to zeroMiod Vallat
before setting the few fields we are interested in; Doug Hogan
2014-07-18The pf forward tests were running rdr-to and nat-to simultaneouslyAlexander Bluhm
only. Change address layout and add individual tests for each feature rdr-to and nat-to and rdr-to together with nat-to.
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-16Fix tlsext_tick_lifetime_hint value in test #2 to make sure theMiod Vallat
(tlsext_tick_lifetime_hint > 0) test also passes on 32-bit platforms (tlsext_tick_lifetime_hint is a long).
2014-07-15Add support for Unix domain socket forwarding. A remote TCP portTodd C. Miller
may be forwarded to a local Unix domain socket and vice versa or both ends may be a Unix domain socket. This is a reimplementation of the streamlocal patches by William Ahern from: http://www.25thandclement.com/~william/projects/streamlocal.html OK djm@ markus@
2014-07-14Add sendsyslog too, and sortPhilip Guenther
2014-07-14Update systrace policies for arc4random changesPhilip Guenther
2014-07-14Hook in libressl to regress.Joel Sing
2014-07-14Sort SUBDIRs.Joel Sing
2014-07-14Now that the relayd timeouts have been fixed, make the http timeoutAlexander Bluhm
test more strict again. Backout rev 1.2 of args-timeout-http.pl.
2014-07-14Update regress test to work with ressl API changes.Joel Sing
2014-07-13fix regress tests after log changes. noticed by bluhm@.Sebastian Benoit
everybody stand back. i know regular expressions.
2014-07-13Add a regress test for the ASN1 handling of SSL session tickets.Joel Sing
2014-07-13Make the pf_fragment test pass again. pf does not adjust theAlexander Bluhm
checksum of a NATed UDP or TCP packet in the payload of an ICMP packet anymore. Disable all test that rely on this feature. Check that the router's interface mtu has been set to 1300.
2014-07-13Make the pf_forward test pass again. Check that the router'sAlexander Bluhm
interface mtu has been set to 1300. New netcat needs -N for shutdown. The IPv4 and IPv6 addresses for the af-to tests must have corresponding host numbers.
2014-07-13improve log output for relays. adjust regress testsSebastian Benoit
ok reyk
2014-07-13repair matching of headers, add regress test for this errorSebastian Benoit
ok reyk
2014-07-12Automatically load the required pf rules into the kernel of theAlexander Bluhm
remote test machine.
2014-07-12Teach these pf regress tests to run with obj directory and to failAlexander Bluhm
softly if the setup is incomplete. Link them to the build.
2014-07-12Use a saner and consistent address layout for my network tests thatAlexander Bluhm
run over 4 machines. Add a check-setup target to verify that interface addresses and routes are properly set up.
2014-07-12More KNF.Joel Sing
2014-07-12Remove #ifndefs for OPENSSL_NO_DH, OPENSSL_NO_ECDH andJoel Sing
OPENSSL_NO_X509_VERIFY. We're not going to build with these and the same removal has already been done for libssl.
2014-07-12Add an initial regress test for libressl, which calls ressl from Go andJoel Sing
makes it talk to a Go TLS server.
2014-07-12fix relay "append header" action, add regression test for appendSebastian Benoit
ok reyk
2014-07-12Test filtering by methodReyk Floeter
ok bluhm@ benno@
2014-07-11Put a license file into the test directories with multiple argumentAlexander Bluhm
files. We do not want to put a license header into each subtest. suggested by reyk@
2014-07-11Add OpenBSD RCS id.Alexander Bluhm
2014-07-11Limit HTTP header length to about 8K (based on the default of 4-8K inReyk Floeter
common web servers). Add a related regress test. OK benno@
2014-07-11Add a test framework for the ospfd routing daemon. For each testAlexander Bluhm
one fresh daemon is started with an individual config. It is talking OSPF via a tun interface. At the process side of the tun device a client is running. This test programm is parsing the OSPF packets and generates new ones. It simulates other OSPF daemons. For now only hello packets are tested. Each test has a task list which drives the ospfd through its interface state machine. The plan is to extend the framework for the other OSPF packet types and state machines. Eventualy the generated kernel routing messages could also be checked. I have developed this test suite together with Florian Riehm.
2014-07-11Another regress test for OpenSSL PR #3397 (Joyent 7704), from agl via OpenSSLMiod Vallat
RT.
2014-07-11Make the test output easier to read by splitting the test casesAlexander Bluhm
with an empty line and a header line.
2014-07-11Regression test for PKCS5_PBKDF2_HMAC(), written by Christian Heimes ; fromMiod Vallat
OpenSSL trunk
2014-07-11Verify the checksum of the echo reply fragment based on the echoAlexander Bluhm
request.
2014-07-11Add a test that sends a large ICMP6 packet in many small fragments.Alexander Bluhm
The echo reply has to be fragmented.
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2014-07-11Fix dryrun for remote relayd test.Alexander Bluhm
2014-07-11Add a time.log file that accumulates timing information about theAlexander Bluhm
executed tests. This allows to micro benchmark relayd. based on a diff from andre@; OK reyk@
2014-07-11Simplify the code that handles the HTTP headers by using an RB treeReyk Floeter
with associated lists instead of the complicated lookup table and "others" list. This might add a little malloc overhead for common headers but also fixes some issues like the handling of repeated headers - for example, handling of multiple "Set-Cookie" headers. ok bluhm@ (regress part) ok benno@
2014-07-11Remove PSK from the ssl regress.Joel Sing