Michael Rash
5176cd0976
[test suite] additional test coverage for client/config_init.c
2014-04-06 21:27:15 -04:00
Michael Rash
09fb2dd240
[test suite] allow tests/*.pl files to use lib_view_str variable directly
2014-04-06 21:27:07 -04:00
Michael Rash
4d63644ce7
[test suite] additional test coverage for client/config_init.c
2014-04-06 15:42:22 -04:00
Michael Rash
710720b237
[test suite] non-default stanza digest update test
2014-04-05 23:09:04 -04:00
Michael Rash
e95d601a48
[test suite] added --key-gen -K file path too long test
2014-04-05 21:51:56 -04:00
Michael Rash
48eb5fcc94
[test suite] added key file path too long tests
2014-04-05 21:29:24 -04:00
Michael Rash
d0d77ba67f
[test suite] added rc file path too long test
2014-04-05 08:19:20 -04:00
Michael Rash
1ec1443768
[test suite] add several validation tests to exercise various client/config_init.c lines
2014-04-04 23:03:03 -04:00
Michael Rash
b8492d4319
[test suite] added --key-rijndael and --key-hmac tests
2014-04-03 22:52:53 -04:00
Michael Rash
2da2704d4c
[test suite] fwknoprc GPG tests, more time offset tests
2014-04-03 19:30:58 -04:00
Michael Rash
e4a382a87f
[test suite] save pkt to file tests
2014-04-03 10:04:52 -04:00
Michael Rash
083db46416
[test suite] added popen() 'n' answer test
2014-04-03 08:56:27 -04:00
Michael Rash
00fed6132c
[test suite] additional save rc file variable coverage
2014-04-02 23:55:00 -04:00
Michael Rash
f121dc5e8a
[test suite] ensure to recompile for gcov coverage analysis
2014-04-02 23:54:33 -04:00
Michael Rash
9be5c24cad
[test suite] remove .gcno files in --profile-coverage-init mode
2014-04-01 15:42:36 -04:00
Michael Rash
e60d491864
[test suite] basic ops save rc stanza --encryption-mode tests
2014-04-01 14:22:10 -04:00
Michael Rash
78dd3ea43b
[test suite] basic ops save rc stanza time offset minus test
2014-04-01 14:19:49 -04:00
Michael Rash
9f10c3ede6
[test suite] basic ops save rc stanza time offset tests
2014-04-01 14:18:14 -04:00
Michael Rash
b005287aa6
[test suite] basic ops get key tests
2014-04-01 14:09:00 -04:00
Michael Rash
f2484e599f
[test suite] rc file time offset tests
2014-04-01 10:41:36 -04:00
Michael Rash
cfa15f3961
[test suite] minor popen_cmd() status update
2014-04-01 09:57:19 -04:00
Michael Rash
7e1f3aad69
[test suite] add long_spa.key file
2014-03-31 13:58:40 -04:00
Michael Rash
50e454216c
[test suite] additional critical var popen() tests
2014-03-31 13:54:10 -04:00
Michael Rash
8ed9728fd3
[test suite] add coverage test for client -M legacy truncated key
2014-03-31 13:44:46 -04:00
Michael Rash
e09e091f71
[test suite] add --profile-coverage-init to recompile and remove old .gcov and .gcda files
2014-03-31 08:22:07 -04:00
Michael Rash
5b6c3768fb
[test suite] exercise client rc file ask overwrite feature via popen()
2014-03-31 08:02:08 -04:00
Michael Rash
bfa1704072
[test suite] exclude /usr/include/* files from lcov coverage analysis
2014-03-30 16:06:46 -04:00
Michael Rash
3ca546092b
[test suite] additional rc file code coverage tests
2014-03-29 22:23:45 -04:00
Michael Rash
a9fb3c05db
[test suite] minor typo fix
2014-03-29 21:45:10 -04:00
Michael Rash
22b1b2d9d2
[test suite] additional client/config_init.c code coverage test for fwknoprc file parsing
2014-03-29 21:44:24 -04:00
Michael Rash
9c86477e72
[test suite] HTTP proxy tests for client/spa_comm.c test coverage
2014-03-29 15:05:52 -04:00
Michael Rash
535bcdf2a6
[test suite] IP resolution tests for client/http_resolve_host.c coverage
2014-03-29 14:53:52 -04:00
Michael Rash
74a4cabb9c
[test suite] Added valgrind suppressions for gpgme
...
Running the test suite with --enable-valgrind resulted in large numbers
of leaks detected in gpgme functions. This commit adds a valgrind
suppressions file to squash these errors (which are not fwknop's fault),
and also enables the valgrind --child-slient-after-fork option by
default. Both of these can disable in test suite execution with two
new options: --valgrind-disable-suppressions and
--valgrind-disable-child-silent.
2014-03-27 12:02:30 -04:00
Michael Rash
73bc473563
[client+server] verify GnuPG signatures by default
...
- [server] When GnuPG is used, the default now is to require that
incoming SPA packets are signed by a key listed in GPG_REMOTE_ID for each
access.conf stanza. In other words, the usage of GPG_REQUIRE_SIG
is no longer necessary in order to authenticate SPA packets via the
GnuPG signature. Verification of GnuPG signatures can be disabled with a
new access.conf variable GPG_DISABLE_SIG, but this is NOT a
recommended configuration.
- [client+server] Add --gpg-exe command line argument and GPG_EXE
config variable to ~/.fwknoprc and the access.conf file so that the path
to GnuPG can be changed from the default /usr/bin/gpg path.
2014-03-25 19:53:13 -04:00
Michael Rash
a52aa8d54a
[test suite] don't remove .gcov/.gcda profiling files in --list-mode
2014-03-18 20:39:25 -04:00
Michael Rash
6875d0092c
[test suite] exercise fko_base64_encode() and fko_base64_decode() in fko-wrapper
2014-03-18 20:37:47 -04:00
Michael Rash
00f878c5ed
[test suite] add --spoof-user test
2014-03-17 22:36:49 -04:00
Michael Rash
d98cb7fd2c
[test suite] add --preserve-previous-profile-files
2014-03-17 22:36:17 -04:00
Michael Rash
b33a6e4c22
[test suite] ensure the fko multi-call wrapper is executed under valgrind
2014-03-17 21:43:36 -04:00
Michael Rash
490b8e3106
[test suite] add lcov html results for gcov profile coverage in --enable-profile-coverage mode
2014-03-17 21:42:31 -04:00
Michael Rash
7e290245b2
[libfko] per-SPA message type field count validation
...
This commit implements more rigorous SPA packet field count validation
that takes into account expected field counts for each SPA message type.
Two new libfko error codes have been added in support of this, and the
corresponding changes made in the perl and python modules.
2014-03-16 21:47:19 -04:00
Michael Rash
2f9c20fb27
[test suite] minor bug fix to add udpraw mode for spoofed src test
2014-03-16 09:11:31 -04:00
Michael Rash
5fff8a7f4f
Merge branch 'ms_compatible_usernames'
...
This merges in work on #114 to allow MS compatible usernames, and should
help Cygwin (and Windows) users.
2014-03-14 23:02:47 -04:00
Michael Rash
9e990c9be0
fix header non-ascii chars, and introduce test suite support for detecting this in source files
2014-03-14 09:14:35 -04:00
Michael Rash
ad512ff6e7
[test suite] added Rijndael+HMAC SPOOF_SRC fwknoprc file test
2014-03-13 21:43:51 -04:00
Michael Rash
4181b43f55
[test suite] Added Rijndael+HMAC NAT rand port via client rc file test
2014-03-13 20:10:26 -04:00
Michael Rash
83595bdabb
[test suite] Added Rijndael+HMAC command execution test
2014-03-13 19:40:47 -04:00
Michael Rash
1213eae926
[test suite] allow fuzzing_spa_packet file comments to skip particular packets
2014-03-13 16:07:00 -04:00
Michael Rash
b5eb857533
[libfko] allow MS compatible usernames
...
Allow usernames that are compatible with Microsoft guidelines as defined
here:
http://technet.microsoft.com/en-us/library/bb726984.aspx
This allows for greater compatibility between fwknop clients on Windows
(for example that may be deployed with Cygwin) and fwknopd on other
systems. This change was suggested by Gerry Reno, and tracked by Github
issue #114 .
2014-03-09 23:12:53 -04:00
Michael Rash
f3a02b5d2d
[test suite] establish new test.log file in --list mode
2014-03-07 16:31:30 -05:00