]> The Tcpdump Group git mirrors - tcpdump/commitdiff
OSPFv3: add authentication test case
authorDenis Ovsienko <[email protected]>
Tue, 1 Apr 2014 06:49:54 +0000 (10:49 +0400)
committerDenis Ovsienko <[email protected]>
Tue, 1 Apr 2014 06:49:54 +0000 (10:49 +0400)
The sample capture was produced with RFC6506 implementation by Jyotsna
Priya of TCS (work in progress).

tests/TESTLIST
tests/ospf3_auth-vv.out [new file with mode: 0644]
tests/ospf3_auth.pcap [new file with mode: 0644]

index 88f97cc2bd70ae788f36a18b7d7deca6e292b195..745aed70348e1941a3dca986c11c86f7586e4888 100644 (file)
@@ -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 (file)
index 0000000..69b7c26
--- /dev/null
@@ -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 (file)
index 0000000..4b5bc81
Binary files /dev/null and b/tests/ospf3_auth.pcap differ