summaryrefslogtreecommitdiff
path: root/tests/icmpv6.out
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-04-13 16:32:40 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-04-13 16:32:40 +0400
commit8c31bfcebef44663c1025b6c4a9cb7b6c62ef24e (patch)
tree3c4efdcb4dfa0dd84290a548dcb5705c22128650 /tests/icmpv6.out
parent2a5efbae38a324b7701579b6cee49c68818897a8 (diff)
downloadtcpdump-8c31bfcebef44663c1025b6c4a9cb7b6c62ef24e.tar.gz
add DNSSL (RFC6106) support
The most notable difference between RFC5006 and RFC6106 is the addition of DNSSL RA option. This commit adds DNSSL handling code to make tcpdump fully RFC6106-aware. This code has been tested against RA packets generated by Quagga and radvd.
Diffstat (limited to 'tests/icmpv6.out')
-rw-r--r--tests/icmpv6.out23
1 files changed, 16 insertions, 7 deletions
diff --git a/tests/icmpv6.out b/tests/icmpv6.out
index a44d4c60..4f51e7ce 100644
--- a/tests/icmpv6.out
+++ b/tests/icmpv6.out
@@ -1,13 +1,22 @@
-IP6 (hlim 255, next-header ICMPv6 (58) payload length: 80) fe80::d498:f9ff:fee7:896 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 80
+IP6 (hlim 255, next-header ICMPv6 (58) payload length: 176) fe80::b299:28ff:fec8:d66c > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 176
hop limit 64, Flags [home agent], pref medium, router lifetime 15s, reachable time 0s, retrans time 0s
- homeagent information option (8), length 8 (1): preference 50001, lifetime 15
- 0x0000: 0000 c351 000f
- advertisement interval option (7), length 8 (1): 5000ms
- 0x0000: 0000 0000 1388
prefix info option (3), length 32 (4): 2222:3333:4444:5555:6600::/72, Flags [onlink, auto], valid time 2592000s, pref. time 604800s
0x0000: 48c0 0027 8d00 0009 3a80 0000 0000 2222
0x0010: 3333 4444 5555 6600 0000 0000 0000
- source link-address option (1), length 8 (1): d6:98:f9:e7:08:96
- 0x0000: d698 f9e7 0896
+ rdnss option (25), length 40 (5): lifetime 5s, addr: abcd::efef addr: 1234:5678::1
+ 0x0000: 0000 0000 0005 abcd 0000 0000 0000 0000
+ 0x0010: 0000 0000 efef 1234 5678 0000 0000 0000
+ 0x0020: 0000 0000 0001
+ dnssl option (31), length 56 (7): lifetime 5s, domain(s): example.com. example.org. dom1.dom2.tld.
+ 0x0000: 0000 0000 0005 0765 7861 6d70 6c65 0363
+ 0x0010: 6f6d 0007 6578 616d 706c 6503 6f72 6700
+ 0x0020: 0464 6f6d 3104 646f 6d32 0374 6c64 0000
+ 0x0030: 0000 0000 0000
mtu option (5), length 8 (1): 100
0x0000: 0000 0000 0064
+ source link-address option (1), length 8 (1): b0:99:28:c8:d6:6c
+ 0x0000: b099 28c8 d66c
+ advertisement interval option (7), length 8 (1): 5000ms
+ 0x0000: 0000 0000 1388
+ homeagent information option (8), length 8 (1): preference 50001, lifetime 15
+ 0x0000: 0000 c351 000f