From 249d6be212ceb9dddf2cc2d4a2cdbff1cb580da1 Mon Sep 17 00:00:00 2001 From: fenner Date: Tue, 23 Mar 2004 16:26:48 +0000 Subject: [PATCH] Add test for rapid7 advisory's CAN-2004-0184. isakmp1.sh already checked for CAN-2004-0183. --- tests/isakmp-identification-segfault.puu | 11 +++++++++++ tests/isakmp3.out | 2 ++ tests/isakmp3.sh | 12 ++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 tests/isakmp-identification-segfault.puu create mode 100644 tests/isakmp3.out create mode 100644 tests/isakmp3.sh diff --git a/tests/isakmp-identification-segfault.puu b/tests/isakmp-identification-segfault.puu new file mode 100644 index 00000000..6f0ae0e8 --- /dev/null +++ b/tests/isakmp-identification-segfault.puu @@ -0,0 +1,11 @@ +begin 644 isakmp-identification-segfault.pcap +MU,.RH0(`!````````````/__````````HV%@0"_*#@`\`0``/`$```(```!% +M``$XH&P``/\1'$9_```!?P```0'U`?0!)$KL)9EPC(1ZBP(```````````40 +M`@`````````!'````0`"```````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +I```````````````````````````````````````````````````````` +` +end diff --git a/tests/isakmp3.out b/tests/isakmp3.out new file mode 100644 index 00000000..c2ff4e08 --- /dev/null +++ b/tests/isakmp3.out @@ -0,0 +1,2 @@ +IP (tos 0x0, ttl 255, id 41068, offset 0, flags [none], length: 312) 127.0.0.1.501 > 127.0.0.1.500: isakmp 1.0 msgid : phase 1 I ident: + (id: idtype=FQDN protoid=0 port=0 len=248 \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000) diff --git a/tests/isakmp3.sh b/tests/isakmp3.sh new file mode 100644 index 00000000..f97d5eb9 --- /dev/null +++ b/tests/isakmp3.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +uudecode isakmp-identification-segfault.puu + +echo -n test isakmp3... +if (../tcpdump -t -v -n -r isakmp-identification-segfault.pcap | diff - isakmp3.out) +then + echo passed. +else + echo failed. +fi + -- 2.39.5