Commit Graph

8 Commits

Author SHA1 Message Date
Michael Rash
4bdb71315a [client] --nat-rand-port bug fix
Bug fix for --nat-rand-port mode to ensure that the port to be
NAT'd is properly defined so that the fwknopd server will NAT
connnections to this port instead of applying the NAT operation to the
port that is to be accessed via -A.  This change also prints the
randomly assigned port to stdout regardless of whether --verbose mode is
used (since it not then the user will have no idea which port is
actually going to be NAT'd on the fwknopd side).
2013-03-16 14:38:20 -04:00
Michael Rash
3ef3ab29c8 [test suite] 'key_file' hash key update for HMAC SHA384 test 2013-03-12 23:20:12 -04:00
Michael Rash
0b9f25362e [test suite] minor bug fix for HMAC SHA384 default key test rc file path 2013-03-12 23:10:09 -04:00
Michael Rash
55d188ed1f [test suite] added HMAC key tests 2013-03-12 22:18:43 -04:00
Michael Rash
22dde8eb35 SPA with HMAC SHA256 and SHA384 now works
This is a fairly significant commit that lays the groundwork for getting
selectable HMAC modes working for both the client and server.  One libfko API
change was required so that the hmac_type is passed into fko_new_with_data().
This allows the server to set the hmac_type via access.conf stanzas.  The
effort in this commit will be extended to allow HMAC MD5, SHA1, and SHA512
also function properly.
2013-03-10 14:26:05 -04:00
Michael Rash
8b5cf3446f [test suite] minor bug fix for command line definition for invalid HMAC test 2013-03-08 22:05:11 -05:00
Michael Rash
d13eba7d13 [test suite] minor category/subcategory update for fuzzing tests 2013-03-08 21:48:19 -05:00
Michael Rash
d4362b7b38 [test suite] import test definitions from tests/*.pl files 2013-03-08 21:09:51 -05:00