From a5dd273189a89071f25cae9954ae11a840e2e488 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Sun, 28 Sep 2014 20:48:57 -0400 Subject: [PATCH] replay attack detection test for UDP server mode --- test/tests/rijndael_replay_attacks.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/tests/rijndael_replay_attacks.pl b/test/tests/rijndael_replay_attacks.pl index ad156f6b..33d3f25c 100644 --- a/test/tests/rijndael_replay_attacks.pl +++ b/test/tests/rijndael_replay_attacks.pl @@ -29,4 +29,13 @@ 'fwknopd_cmdline' => "$fwknopdCmd $default_server_conf_args $intf_str", 'server_positive_output_matches' => [qr/Args\scontain\sinvalid\sdata/], }, + { + 'category' => 'Rijndael', + 'subcategory' => 'client+server', + 'detail' => 'UDP server replay detection', + 'function' => \&replay_detection, + 'cmdline' => $default_client_args, + 'fwknopd_cmdline' => "$fwknopdCmd $default_server_conf_args $intf_str --udp-server", + 'server_positive_output_matches' => [qr/Replay\sdetected\sfrom\ssource\sIP/], + }, );