From 341c69d5d37e3819bf6fe1850c2e43a80dd1c6c4 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Tue, 1 Apr 2014 10:49:54 +0400 Subject: [PATCH] OSPFv3: add authentication test case The sample capture was produced with RFC6506 implementation by Jyotsna Priya of TCS (work in progress). --- tests/TESTLIST | 1 + tests/ospf3_auth-vv.out | 10 ++++++++++ tests/ospf3_auth.pcap | Bin 0 -> 260 bytes 3 files changed, 11 insertions(+) create mode 100644 tests/ospf3_auth-vv.out create mode 100644 tests/ospf3_auth.pcap diff --git a/tests/TESTLIST b/tests/TESTLIST index 88f97cc2..745aed70 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -42,6 +42,7 @@ mpls-ldp-hello mpls-ldp-hello.pcap mpls-ldp-hello.out -t -v # OSPF tests ospf-gmpls ospf-gmpls.pcap ospf-gmpls.out -t -v +ospf3_auth-vv ospf3_auth.pcap ospf3_auth-vv.out -t -v -v # IKEv2 tests ikev2four ikev2four.pcap ikev2four.out -t -v diff --git a/tests/ospf3_auth-vv.out b/tests/ospf3_auth-vv.out new file mode 100644 index 00000000..69b7c268 --- /dev/null +++ b/tests/ospf3_auth-vv.out @@ -0,0 +1,10 @@ +IP6 (class 0xc0, hlim 1, next-header OSPF (89) payload length: 88) fe80::20c:29ff:fe9e:c1b2 > ff02::5: OSPFv3, Hello, length 88 + Router-ID 10.10.10.2, Backbone Area + Options [V6, External, Router, Authentication Trailer] + Hello Timer 10s, Dead Timer 40s, Interface-ID 0.0.0.2, Priority 1 + Designated Router 10.10.10.1, Backup Designated Router 10.10.10.2 + Neighbor List: + 10.10.10.1 + Authentication Type HMAC, Length 48, SAID 1, CSN 0x00000000:52da4e0e + Authentication Data 0x0000: ca4d 7d58 69a5 da3c 2a69 0eda a732 9bee + Authentication Data 0x0010: 9d7f 448c 9f31 fbe4 a0e9 b39c 6da6 cca1 diff --git a/tests/ospf3_auth.pcap b/tests/ospf3_auth.pcap new file mode 100644 index 0000000000000000000000000000000000000000..4b5bc819f196c827ffed0ca7df295ff6d9ae2607 GIT binary patch literal 260 zcmd<$<>fMAU|{gI(UxKa(*L1=g@KR3H6^noIk7;&P|wgn&kQID1R%8_bqY}W|9=Js zPM`=IkPiY1Kn!AU0Adih_KAgIZB}kgACL{g#>PN`m4Qcd-oZ_6cXNOohKNYUe+?i8 z0|OI}=Kp^{ng2`>K9po-W@OOd;^G2}vR?v=GBGl+2s3bj#Th|zK+FhqhyhR*