summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2016-08-17syslogd(8) uses new libtls certificate and key file loading. SoAlexander Bluhm
the tests behave a little bit different now.
2016-07-27Improve parsing of the Host by following RFC 7230 Section 5.4 more strictly:Reyk Floeter
- Respond with a 400 (Bad Request) if there is more than one Host: header to prevent ambiguities. - Make sure that the host in the optional absolute form of request-target (eg. GET http://www.target.com/ HTTP/1.1) matches the Host: value. Proxies are supposed to ignore the Host: value if the request-target exists, but relayd used to ignore the absolute request-target form instead. In HTTP terminology, relayd is a gateway and not a proxy, but it has to make sure that the host is validated consistently. OK benno@ bluhm@
2016-07-22add a regression testSebastian Benoit
2016-07-22Fix generated Perl headers.Reyk Floeter
With input from bluhm@
2016-07-20s/sudo/doas/Sebastian Benoit
2016-07-19Add two more tests that use traffic that was captured with tcpdump.Reyk Floeter
These files serve as an example, no more .pcap files should be added here (especially not large ones).
2016-07-19Add simple OpenFlow tests for switchd.Reyk Floeter
2016-07-12Allow to run the syslogd tests as root without SUDO also if theAlexander Bluhm
libevent method environment is set.
2016-07-12Add regression tests for syslogd TLS client certificates.Alexander Bluhm
2016-07-11Revert previous adaption of the test. The behavior change in libtlsAlexander Bluhm
has been backed out.
2016-07-06Now libtls is always reading cert.pem during tls_config_new().Alexander Bluhm
Adapt ktrace count in syslogd test.
2016-07-01Timing changed, now a syslogd test may get EPIPE instead ofAlexander Bluhm
ECONNREFUSED error.
2016-06-22Syslogd can send messages to a user, test what happens if theAlexander Bluhm
terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable.
2016-05-29When connecting to a non existing tcp listen socket on localhost,Alexander Bluhm
connect(2) does no longer fail immediately. It reports EINPROGRESS first, an ECONNREFUSED or EPIPE error follows later. Allow this changed behavior in syslogd(8) regression tests.
2016-05-03Fix some Perl statements perlcritic was bitching about: VariableAlexander Bluhm
declared in conditional statement.
2016-05-03To test syslogd compatibility rsyslog is used as remote server.Alexander Bluhm
New rsyslog has other options and debug output, adapt test.
2016-03-29Kdump contains LOG_CONS now. TLS error message changes.Alexander Bluhm
Adapt grep regex in syslogd tests.
2016-03-24Check that only one published entry can be added.Martin Pieuchot
2016-03-23arp(8) regression tests, some of which are currently failing with ART.Martin Pieuchot
2016-03-21System call sendsyslog2 is gone, adapt tests.Alexander Bluhm
2016-01-22Replace a (broken) test for @option explicit-update (the code has beenLandry Breuil
removed 2 years ago) by a (working) test for @ask-update
2016-01-07When syslogd is not running, check that no syslog priority or droppedAlexander Bluhm
message is logged to the console by the kernel.
2015-12-30Test logging to console by redirecting the system's console into aAlexander Bluhm
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.
2015-12-04Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)Alexander Bluhm
directly.
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-11-04Generating the self-signed syslogd test certificate does not dependAlexander Bluhm
on the CA certificate. Found by Jan Klemkow.
2015-11-02Test that rsyslogd can send over TLS to OpenBSD syslogd.Alexander Bluhm
2015-10-31As syslog(3) in libc no longer inserts the timestamp, the maximumAlexander Bluhm
message length that may be generated by syslogd got longer. Adapt the test.
2015-10-24Handling of bogus CA file has changed in syslogd. Adapt tests toAlexander Bluhm
new error messages.
2015-10-23Test syslogd with empty or non existing server certificates andAlexander Bluhm
keys.
2015-10-23Check that syslogd delays a blocking write to tty and that that allAlexander Bluhm
messages still appear on the tty.
2015-10-19Test syslogd logging to a tty which belongs to a user. This isAlexander Bluhm
done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file.
2015-10-09Keep relayd test certificate names in sync with syslogd.Alexander Bluhm
2015-10-09Add tests for syslogd TLS accept and receive encrypted messages.Alexander Bluhm
2015-09-25In libtls connection error EOF has changed to connection close.Alexander Bluhm
Adapt syslogd tests.
2015-09-11Adapt test to 50MB CAfile limit.Alexander Bluhm
2015-09-11Check that there are no illegal spaces in the sendsyslog message.Alexander Bluhm
2015-09-10Grep for new error messages about tls_connect_socket. Libtls nowAlexander Bluhm
reports handshake failed. Make bufsize tests more reliable.
2015-09-09Add args-bufsize-native.pl that checks wether libc syslog(3) canAlexander Bluhm
handle 8192 bytes messages. Rename the sendsyslog(2) tests consistently.
2015-09-09Test that syslogd can process 8 full size messages from sendsyslog(2)Alexander Bluhm
or UDP socket or UNIX domain socket at once.
2015-09-03Add test for sendsyslog(2) dropped message reporting.Alexander Bluhm
2015-08-31New tests for +host in syslog.conf that matches on an IPv4 and IPv6Alexander Bluhm
address. Add test for syslogd -p log_socket.
2015-08-25Do not inherit the event environment, delete and set explicitlyAlexander Bluhm
after sudo.
2015-08-01Use Socket to make Perl syntax check of single test files pass.Alexander Bluhm
2015-08-01Make syslogd tests more reliable. Allow TLS tests to drop a widerAlexander Bluhm
rage of messages and make dropped regexes more specific.
2015-07-20Test what happens when syslogd reaches its file descriptor limitAlexander Bluhm
and cannot accept TCP connections anymore.
2015-07-20More reliable test due to more specific regex.Alexander Bluhm
2015-07-20Fix white spaces.Alexander Bluhm
2015-07-20Allow to use $curdir, $objdir, $host, $hostname in the test configAlexander Bluhm
file. They are substituted automatically, to avoid this in each single test.
2015-07-19Test octet counting and non transparent framing.Alexander Bluhm