Michael Rash
e7f1813962
[test suite] implement different access stanza init strategy, 'complete cycle, include (3)' test passes now
2015-12-20 18:17:42 -08:00
Michael Rash
dd2f4c2c38
[test suite] restore args too long tests
2015-12-19 16:36:45 -08:00
Michael Rash
5f895db744
[test suite] restore gpg home dir test
2015-12-19 16:13:23 -08:00
Michael Rash
10a2742a88
[test suite] add clean validation test for digest cache
2015-12-19 13:30:49 -08:00
Michael Rash
e25b78e81d
[test suite] restore digest cache validation with a new arg --exit-parse-digest-cache
2015-12-19 05:46:36 -08:00
Michael Rash
923b94bda7
[test suite] restore pcap dispatch count test
2015-12-19 05:06:38 -08:00
Michael Rash
beaf31ad5d
[test suite] restore previous args test
2015-12-19 05:01:55 -08:00
Michael Rash
fc8b2ee9c3
[test suite] additional %include_folder test
2015-12-17 23:07:03 -05:00
Michael Rash
8533d9d248
[server] use chop_char() to strip trailing '/' chars from directories
2015-12-17 22:51:08 -05:00
Michael Rash
d85b1077fb
[test suite] additional %include_folder tests
2015-12-15 11:58:12 -08:00
Michael Rash
8bab3cfbe3
[test suite] exercise free_cycle_list_node()
2015-12-15 11:26:29 -08:00
Michael Rash
42fd4d6afa
[test suite] additional FORCE_NAT code coverage
2015-12-14 22:39:57 -08:00
Michael Rash
98e79396ce
[test suite] start on --access-folder include dir test
2015-12-13 02:24:30 -08:00
Michael Rash
d8dc1fcdee
[server] add is_valid_file() function, default to lstat() instead of stat(), more %include_folder tests
2015-12-13 01:39:29 -08:00
Michael Rash
b305f67ca5
[test suite] start on %include_folder tests, make sure at least one valid access.conf stanza has been parsed
2015-12-12 20:39:37 -08:00
Michael Rash
ba3d16c5e3
[test suite] complete cycle test from %include derived access stanza
2015-12-12 11:19:14 -08:00
Michael Rash
c12ecd092a
[test suite] interleaved access.conf %include tests
2015-12-12 06:45:39 -08:00
Michael Rash
bcd0a90a18
[test suite] %include missing key test
2015-12-12 06:32:14 -08:00
Michael Rash
9c92a368fe
[test suite] access.conf %include missing file
2015-12-12 06:27:47 -08:00
Michael Rash
7757929624
[test suite] multi-include non-recursive access.conf test
2015-12-12 06:23:16 -08:00
Michael Rash
5b0cfb16a0
[test suite] add access.conf %include recursion limit test
2015-12-10 15:31:18 -08:00
Michael Rash
e27e92d827
Merge branch 'master' into access_conf_includes
2015-12-10 15:01:29 -08:00
Michael Rash
f0269751e6
[test suite] fix FORCE_SNAT tests
2015-12-10 14:34:35 -08:00
Michael Rash
75b059af76
[test suite] use killall to ensure fwknopd is stopped between tests
2015-12-10 14:33:51 -08:00
Michael Rash
4cab37acf9
[test suite] client --time-offset code coverage
2015-12-10 14:32:30 -08:00
Michael Rash
ae1e804ea1
[test suite] add test for access.conf include directive
2015-12-08 19:51:51 -08:00
Michael Rash
95383149cb
[server] bug fix to honor CMD_EXEC_USER and CMD_SUDO_EXEC_USER vars
2015-12-08 19:01:53 -08:00
Michael Rash
35558097cc
[test suite] fix FORCE_NAT and FORCE_SNAT required server regex matches
2015-12-05 16:07:01 -08:00
Michael Rash
51c0efb665
[test suite] minor var addition for Rijndael key existence test
2015-12-05 07:00:24 -08:00
Michael Rash
2c74372a4e
[test suite] fix fko_set_username_strdup fault injection test
2015-12-05 05:50:39 -08:00
Michael Rash
988075b52b
[server] bug fix to honor client timeout SPA messages in --nat-local mode, fixes #173
2015-12-04 19:36:51 -08:00
Michael Rash
21149faf89
[libfko] fko_set_username() crash bug fix.
...
Bug fix for a crash in libfko that could be triggered in fko_set_username()
when a username that is 64 chars or longer is specified. This crash
cannot be triggered in fwknopd even if an SPA packet contains such a
username however due to additional protections in the SPA decoding
routines. Further, this bug does not apply to the main fwknop client
either because the maximal username size is truncated down below 64
bytes. Hence, this bug only applies to client-side software that is
directly using libfko calling the fko_set_username() function.
2015-12-04 19:01:26 -08:00
Michael Rash
8c7a007a4a
[test suite] differentiate TIMEOUT vs. CLIENT_TIMEOUT values in command open close cycles
2015-11-17 22:41:22 -08:00
Michael Rash
f6829fe527
[test suite] added command cycle close NONE test
2015-11-17 22:08:58 -08:00
Michael Rash
51de939846
[test suite] add open/close --fw-timeout test
2015-11-13 08:33:44 -08:00
Michael Rash
2101bd63e9
[test suite] add tests/* interface for file_find_num_matches()
2015-10-31 10:36:46 -07:00
Michael Rash
72d6a0c018
[test suite] add multi-cycle open/close command tests
2015-10-26 13:02:51 -07:00
Michael Rash
577c2a74a4
[test suite] add sleep_cycles key for multi-cycle tests
2015-10-24 08:03:28 -04:00
Michael Rash
7910658c85
[server] memory leak bugfix caught by multi-cycle open/close test
2015-10-24 07:05:29 -04:00
Michael Rash
36317b59a6
[test suite] add command cycle test via the UDP server
2015-10-19 19:50:05 -07:00
Michael Rash
1c33c5089e
[test suite] additional cmd cycle var substitution test
2015-10-19 20:17:17 -04:00
Michael Rash
3fb75cace3
[test suite] add SRC,PKT_SRC,DST var subsitution test
2015-10-18 09:48:07 -07:00
Michael Rash
7a09daba4c
[test suite] more command cycle tests (multiple substitution vars)
2015-10-18 09:28:48 -07:00
Michael Rash
5597730e27
[test suite] added open/close file tests
2015-10-18 09:13:49 -07:00
Michael Rash
4587a279e1
[server] validate CMD_CYCLE_* vars from the access.conf file
2015-10-13 19:17:06 -07:00
Michael Rash
d67fbde992
[server] start on command open/close cycle support (issue #117 )
2015-10-13 18:00:07 -07:00
Michael Rash
fe9e42f212
[test suite] minor sudo error code searching update
2015-08-21 22:29:35 -04:00
Michael Rash
dd1528c829
[test suite] set sudo path on the fwknopd command line
2015-08-21 22:24:45 -04:00
Michael Rash
591d400216
[test suite] fix sudo user tests
2015-07-25 13:26:50 -07:00
Michael Rash
d681485e29
[server] add sudo support, closes #159
2015-07-22 04:08:58 -07:00