From aa2492bba237529e6a2b7dc3a4530e2995750a69 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Sun, 28 Sep 2014 16:51:38 -0400 Subject: [PATCH] Added UDP server HMAC cycle tests --- test/tests/rijndael_hmac.pl | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/test/tests/rijndael_hmac.pl b/test/tests/rijndael_hmac.pl index 7ed9b041..f405741a 100644 --- a/test/tests/rijndael_hmac.pl +++ b/test/tests/rijndael_hmac.pl @@ -958,6 +958,30 @@ 'key_file' => $cf{'rc_hmac_sha512_short_key'}, }, + { + 'category' => 'Rijndael+HMAC', + 'subcategory' => 'client+server', + 'detail' => "UDP server --udp-server / tcp/22", + 'function' => \&spa_cycle, + 'cmdline' => $default_client_hmac_args, + 'fwknopd_cmdline' => "$fwknopdCmd -c $cf{'def'} -a $cf{'hmac_access'} " . + "-d $default_digest_file -p $default_pid_file $intf_str --udp-server", + 'fw_rule_created' => $NEW_RULE_REQUIRED, + 'fw_rule_removed' => $NEW_RULE_REMOVED, + }, + { + 'category' => 'Rijndael+HMAC', + 'subcategory' => 'client+server', + 'detail' => "UDP server conf / tcp/22", + 'function' => \&spa_cycle, + 'cmdline' => $default_client_args, + 'fwknopd_cmdline' => "$fwknopdCmd -c $cf{'udp_server'} -a $cf{'hmac_access'} " . + "-d $default_digest_file -p $default_pid_file $intf_str", + 'fw_rule_created' => $NEW_RULE_REQUIRED, + 'fw_rule_removed' => $NEW_RULE_REMOVED, + }, + + { 'category' => 'Rijndael+HMAC', 'subcategory' => 'client',