2530 Commits

Author SHA1 Message Date
Jonathan Bennett
71cea19f3d [Server] Respond to set signal handler failure with clean_exit 2016-05-24 22:00:21 -05:00
Michael Rash
d593779ecf Merge branch 'master' of https://github.com/mrash/fwknop 2016-05-24 19:01:59 -07:00
Michael Rash
08c6a9d4e2 [test suite] trigger a couple of -p errors for code coverage 2016-05-24 19:00:58 -07:00
Jonathan Bennett
db1cdd2fea [Server] Moves signal handling code to earlier in fwknopd initialization
Also serves to de-duplicate code slightly
2016-05-24 20:48:40 -05: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
Michael Rash
231cca538d [test suite] add missing config files for HMAC SHA3_256 tests 2016-05-21 18:04:00 -07:00
Michael Rash
a3adca69e1 [test suite] add HMAC SHA3_256 complete cycle test 2016-05-21 06:18:46 -07:00
Michael Rash
05ede9fe0d [server] minor printf() -> log_msg() update 2016-05-21 06:17:28 -07:00
Jonathan Bennett
ab599631ed Adds valgrind supression for libfaketime 2016-05-20 21:42:46 -05:00
Jonathan Bennett
55b9eac37c Test Suite: tweak a test to avoid --verbose in client call 2016-05-20 21:42:46 -05:00
Jonathan Bennett
ce0def7e18 Client: Only dump SPA data twice when --test and --verbose are used 2016-05-20 21:42:46 -05:00
Michael Rash
09fcad0f04 [test suite] add HMAC_SHA3_512 test 2016-05-20 18:45:20 -07:00
Michael Rash
ae15e00f0b [server] minor change to set default timeout 2016-05-20 18:42:52 -07:00
Jonathan Bennett
a4273d3627 Server: Add extra check for failing firewall cmd 2016-05-19 23:25:01 -05:00
Jonathan Bennett
33d4cd3ce4 Test suite: Make timeout for rule expiration a loop. 2016-05-19 23:23:25 -05:00
Michael Rash
1d5fc8498f [test suite] add HMAC include_keys_file() test 2016-05-19 19:41:39 -07:00
Jonathan Bennett
6d663dd15c Test suite: Add missed curly bracket 2016-05-19 15:07:18 -05:00
Jonathan Bennett
bbaf57b66e Test suite: Adds timeout for generic_exec, prevents indefinite test suite hangs 2016-05-19 14:05:48 -05:00
Jonathan Bennett
5b2c29e46c Test suite: Fixes hmac verification for tests with multiple hmac keys 2016-05-19 14:04:24 -05:00
Jonathan Bennett
2c6396df5c Test suite: More timing tweaks 2016-05-19 14:03:15 -05:00
Jonathan Bennett
7bcd9f7793 Server: Allow more time for server shutdown 2016-05-19 13:50:12 -05:00
Jonathan Bennett
a63b92e07c test suite: When getting spa packet from log, get the last one 2016-05-18 22:55:06 -05:00
Michael Rash
e46938d5d1 [test suite] additional code coverage tests for include_keys_file() 2016-05-17 18:21:03 -07:00
Jonathan Bennett
f8273783da Test suite: Improve error handling for non-existant log files 2016-05-17 09:12:11 -05:00
Michael Rash
8334473887 Merge pull request #219 from oneru/test-suite 2016-05-14 23:19:17 -04:00
Jonathan Bennett
ef72883f8e test suite: update test to search for correct failure message 2016-05-14 00:59:00 -05:00
Jonathan Bennett
f50b5c6e99 Tightens nat access validation in client 2016-05-14 00:47:05 -05:00
Michael Rash
e5cfd5df19 [libfko] minor memset to zero update for SHA3 digest tmp buf 2016-05-13 09:40:09 -07:00
Michael Rash
be3c356661 [libfko] account for SHA3_256 and SHA3_512 digest lengths matching SHA256 and SHA512 2016-05-13 09:25:06 -07:00
Michael Rash
975093c546 minor sha3_256 string conversion bug fix 2016-05-13 09:04:13 -07:00
Michael Rash
4707c4f3c3 [test suite] add SHA3_512 test for the client 2016-05-12 22:14:08 -07:00
Michael Rash
b75c29b5a4 SHA3 ChangeLog update 2016-05-11 22:21:54 -07:00
Michael Rash
fe3d6b8cd7 ChangeLog updates 2016-05-11 22:10:58 -07:00
Michael Rash
272cd05dc6 Merge branch 'master' of https://github.com/mrash/fwknop 2016-05-11 22:05:35 -07:00
Michael Rash
dd319d5609 Merge pull request #218 from oneru/test-suite
Test suite: Adds workaround for tcp server test
2016-05-12 22:05:29 -04:00
Michael Rash
60a9cc203b Merge branch 'master' of ssh://192.168.10.1/home/mbr/git/fwknop 2016-05-11 22:05:20 -07:00
Michael Rash
ba5f5e2424 add sha3_256 sha3_512 to man page docs 2016-05-12 22:23:54 -04:00
Jonathan Bennett
66eedd4f7f Test suite: Adds workaround for tcp server test 2016-05-11 19:31:48 -05:00
Damien Stuart
7c84cadd43 Added missing parens on if statement (was causing compiler error on fw_util_iptables). 2016-05-10 22:43:11 -04:00
Jonathan Bennett
c348950841 test suite: Adds another precise_sleep() to avoid race condition 2016-05-08 21:45:37 -05:00
Michael Rash
23d70f1aa3 Merge pull request #216 from oneru/add-nat-validation
Add nat validation
2016-05-08 21:53:13 -04:00
Michael Rash
08b63e79a3 Merge pull request #217 from oneru/test-suite
test suite: add delay loops to tolerate timing variations
2016-05-08 21:53:03 -04:00
Jonathan Bennett
ae442641b1 test suite: add delay loops to tolerate timing variations 2016-05-08 11:43:18 -05:00
Jonathan Bennett
b517fdad44 Add checks to avoid calling strlen on a null pointer 2016-05-08 00:41:45 -05:00
Jonathan Bennett
b088030ad5 Adds hostname validation for hostname in NAT on server 2016-05-07 23:21:01 -05:00