OSPFv3: add authentication test case
The sample capture was produced with RFC6506 implementation by Jyotsna
Priya of TCS (work in progress).
diff --git a/tests/TESTLIST b/tests/TESTLIST
index 88f97cc..745aed7 100644
--- a/tests/TESTLIST
+++ b/tests/TESTLIST
@@ -42,6 +42,7 @@
# 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 0000000..69b7c26
--- /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 0000000..4b5bc81
--- /dev/null
+++ b/tests/ospf3_auth.pcap
Binary files differ