923 Commits

Author SHA1 Message Date
Michael Rash
fb69921fdd add ALLOW_ANY_USER_AGENT to ignore incoming User-Agent strings in SPA packets over HTTP, closes #296 2019-03-11 21:56:21 -07:00
Michael Rash
2857a9cb1b [test suite] fix whitespace trailing chars test 2018-10-27 21:21:52 -04:00
Michael Rash
bacd054b13 strip trailing whitespace from config values, closes #288 2018-10-24 23:40:13 -04:00
Michael Rash
3c717b8e69 [test suite] use 'badhost.' so local resolution will not be an issue (Michael Dukelsky) 2018-08-24 20:07:34 -07:00
Michael Rash
e82cb8621f [test suite] another bogus user test for fko-wrapper 2018-08-19 16:24:08 -07:00
Michael Rash
d7aacb68f2 [test suite] add bogus username test to fko-wrapper 2018-08-19 16:21:47 -07:00
Michael Rash
d328278cb8 [test suite] minor Makefile enhancement (variable usage) for fko-wrapper 2018-08-19 14:02:42 -07:00
Michael Rash
57ef059811 [test suite] add calls to fko_set_raw_spa_digest_type() and fko_get_raw_spa_digest_type() 2018-08-19 12:40:14 -07:00
Michael Rash
d50276d6fe [test suite] better job of cleaning up coverage files 2018-08-18 19:46:47 -07:00
Michael Rash
62336616d7 [test suite] minor decoding and fko_set_timestamp() exercise enhancements for fko_wrapper 2018-08-18 09:41:23 -07:00
Michael Rash
f95901ac03 [test suite] minor tests directory path update 2018-08-17 18:41:57 -07:00
Michael Rash
02542a025e [test suite] minor update to exercise rc file comment line detection code 2018-08-11 09:46:22 -07:00
Michael Rash
799ec87765 [client] write --server-resolve-ipv4 arg to the rc file when saving 2018-08-11 09:42:20 -07:00
Michael Rash
5339179c8e [test suite] NO_SAVE_ARGS rc file code coverage 2018-08-11 08:43:47 -07:00
Michael Rash
69291b91fa [test suite] add invalid ALLOW_IP test 2018-08-11 08:23:41 -07:00
Michael Rash
40d554103c [test suite] add negative time offset test to hit additional error path in client/config_init.c 2018-08-11 08:15:26 -07:00
Michael Rash
a7fc73b111 [test suite] start with -m32 gcc option for ASAN instrumentation check (32-bit compilation is preferred for ASAN operations) 2018-08-10 18:33:54 -07:00
Michael Rash
ffa6548946 [test suite] add --enable-cunit-tests to -h output 2018-08-10 18:32:26 -07:00
Michael Rash
be142216e4 [test suite] remove redundant statement 2018-08-10 08:54:07 -07:00
Michael Rash
9bdaf393bf better ASAN instrumention check using readelf 2018-08-10 08:27:15 -07:00
Michael Rash
5a305ffe07 [test suite] improve ASAN instrumentation check (m32 vs. non-m32 Makefile option) 2018-08-10 07:44:10 -07:00
0b475ec7b3 Use execvp() instead of execvpe()
execvp() is (usually) equivalent to execvpe(), without enforcing any
change to the environment. However, unlike execvp(), execvpe() is not
standardized by POSIX, and may therefore not be available nor detected
when configuring the project (like on NetBSD).

No place could be found in fwknop to be using execvpe() and changing the
environment. Therefore it seems only logical (and safer) to use execvp()
instead.

This also updates the tests to reflect this change.
2018-08-06 12:04:45 +02:00
Michael Rash
456b51693f minor README images path update 2017-03-28 22:56:08 -04:00
Michael Rash
d7412af09e [test suite] don't use shell redirection char in bogus IP string 2016-12-09 19:23:11 -05:00
Michael Rash
8b734049a7 [test suite] only run user/group parity tests for non-root owner user 2016-12-09 19:17:24 -05:00
Michael Rash
f5509bcd0c [server] Add MAX_FW_TIMEOUT to access.conf variables.
[server] Add MAX_FW_TIMEOUT to access.conf stanzas to allow a
maximum number of seconds for client-specified timeouts in SPA packets.
This fixes issue #226 which was spotted by Jeremiah Rothschild.
2016-09-29 22:18:13 -04:00
Michael Rash
183a9c5118 [docs] update links to Jonathan's new github username 2016-07-03 23:39:13 -04:00
Jonathan Bennett
a651b092cc [Test suite] Typo fix 2016-05-30 14:33:19 -05:00
Jonathan Bennett
df47ed4ecd [test suite] Modify test to work with iptables 2016-05-30 14:24:51 -05:00
Jonathan Bennett
d6b8205b2a [Test suite] minor change to rerun-failed 2016-05-30 14:23:10 -05:00
Jonathan Bennett
8122e46bc7 [Test suite] rearranges processing of rerun-failed, handles options better 2016-05-30 09:19:58 -05:00
Jonathan Bennett
2d1568f413 [Test suite] Minor fix, prevent stall on slow systems 2016-05-29 18:02:49 -05:00
Michael Rash
2937bc1058 [test suite] fix NAT DNS bad host check 2016-05-28 05:24:29 -07:00
Michael Rash
7f12fc72d1 [test suite] more NAT DNS coverage 2016-05-28 05:06:07 -07:00
Michael Rash
8514061681 [test suite] minor removal of comments 2016-05-28 04:41:01 -07:00
Michael Rash
3a10ccff4d [test suite] NAT DNS test coverage fix 2016-05-28 04:39:04 -07:00
Michael Rash
8366e118e2 [server] negative testing for ENABLE_NAT_DNS 2016-05-27 23:33:13 -07:00
Jonathan Bennett
ac247bb738 [Test suite] Adds --rerun-failed description to help output 2016-05-26 23:49:12 -05:00
Michael Rash
6e54e9452a [test suite] add ENABLE_RULE_PREPEND test 2016-05-26 19:21:07 -07:00
Jonathan Bennett
6a8a554851 [Test suite] Adds tests for invalid server and client cmd lines involving --key-gen 2016-05-26 10:07:23 -05:00
Jonathan Bennett
d804ba33f5 [Test suite] Adds --no-rc-file tests 2016-05-25 21:21:48 -05:00
Jonathan Bennett
b0c0242054 [Test suite] Add a couple of tests for --no-home-dir 2016-05-25 09:31:06 -05:00
Jonathan Bennett
16dd3f4d32 [Test suite] Adds libfiu test to emulate failure in set_sig_handlers() 2016-05-24 22:02:42 -05:00
Michael Rash
08c6a9d4e2 [test suite] trigger a couple of -p errors for code coverage 2016-05-24 19:00:58 -07:00
Michael Rash
4122199139 [test suite] apply server output criteria in fault injection tests 2016-05-24 18:43:03 -07:00
Michael Rash
270d8bea62 [test suite] fault injection test for build_cmd() error path 2016-05-24 18:40:44 -07:00
Michael Rash
5194b4b69a [test suite] minor test addition for sudo exec groups and code coverage 2016-05-23 19:24:40 -07:00
Jonathan Bennett
d329b6ab39 [Test suite] Adds workaround for Openssl not yet supporting SHA3 hmac 2016-05-22 22:46:01 -05:00
Michael Rash
04b80c2cb2 Merge pull request #220 from oneru/rerun-failed
[Test suite] Adds rerun-failed mode
2016-05-22 21:45:59 -04:00
Jonathan Bennett
5f6b339868 [Test suite] Adds rerun-failed mode 2016-05-22 11:13:08 -05:00