]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Update dhcpv6 tests with payload description
authorJorge Pereira <jpereiran@gmail.com>
Mon, 25 Nov 2019 22:25:04 +0000 (19:25 -0300)
committerAlan DeKok <aland@freeradius.org>
Tue, 26 Nov 2019 14:45:25 +0000 (09:45 -0500)
src/tests/unit/protocols/dhcpv6/packet_AFTR-Name-rfc6334.txt
src/tests/unit/protocols/dhcpv6/packet_domain-list.txt
src/tests/unit/protocols/dhcpv6/packet_ia-na.txt
src/tests/unit/protocols/dhcpv6/packet_ia-pd.txt
src/tests/unit/protocols/dhcpv6/packet_ia-ta.txt
src/tests/unit/protocols/dhcpv6/packet_ntp-server.txt
src/tests/unit/protocols/dhcpv6/packet_sip-server-d.txt

index 5e15ba45cc4977fcf09c13e34fcacbf048f88ac5..b8ba34b26ba52e6b0316a3967c640e29aec88729 100644 (file)
@@ -15,24 +15,191 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Solicit Message ]
+#   msgtype   = SOLICIT
+#   trid      = 0xd81eb8
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Option Request Option ]
+#     optcode   = ORO
+#     optlen    = 4
+#     reqopts   = [DNS Recursive Name Server Option, 64]
+# [ DHCP6 Elapsed Time Option ]
+#      optcode   = ELAPSED_TIME
+#      optlen    = 2
+#      elapsedtime= 0.00 sec
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#       optcode   = OPTION_IA_PD
+#       optlen    = 12
+#       iaid      = 0x2030405
+#       T1        = 3600
+#       T2        = 5400
+#       \iapdopt   \
+#
 decode-proto 01 d8 1e b8 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 06 00 04 00 17 00 40 00 08 00 02 00 00 00 19 00 0c 02 03 04 05 00 00 0e 10 00 00 15 18
 match Packet-Type = Solicit, Transaction-ID = 0xd81eb8, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Option-Request = DNS-Servers, Option-Request = AFTR-Name, Elapsed-Time = 0, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400
 
 #
 #  2.
 #
+# [ DHCPv6 Advertise Message ]
+#   msgtype   = ADVERTISE
+#   trid      = 0xd81eb8
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#    optcode   = OPTION_IA_PD
+#    optlen    = 41
+#    iaid      = 0x2030405
+#    T1        = 150
+#    T2        = 250
+#    \iapdopt   \
+#     |[ DHCP6 Option - IA_PD Prefix option ]
+#     |  optcode   = OPTION_IAPREFIX
+#     |  optlen    = 25
+#     |  preflft   = 250
+#     |  validlft  = 300
+#     |  plen      = 56
+#     |  prefix    = 2a00:1:1:100::
+#     |  iaprefopts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Wed, 21 Nov 2012 08:36:00 -0300 (1353486960)
+#       |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Preference Option ]
+#       optcode   = PREFERENCE
+#       optlen    = 1
+#       prefval   = 10
+# [ DHCP6 Option - DNS Recursive Name Server ]
+#        optcode   = DNS Recursive Name Server Option
+#        optlen    = 16
+#        dnsservers= [ 2a01::1 ]
+# [ Unknown DHCPv6 Option ]
+#         optcode   = 64
+#         optlen    = 24
+#         data      = '\taftr-name\x08mydomain\x03net\x00'
+#
 decode-proto 02 d8 1e b8 00 19 00 29 02 03 04 05 00 00 00 96 00 00 00 fa 00 1a 00 19 00 00 00 fa 00 00 01 2c 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 3f 4e f0 00 11 22 33 44 55 00 07 00 01 0a 00 17 00 10 2a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 40 00 18 09 61 66 74 72 2d 6e 61 6d 65 08 6d 79 64 6f 6d 61 69 6e 03 6e 65 74 00
 match Packet-Type = Advertise, Transaction-ID = 0xd81eb8, IA-PD-IAID = 33752069, IA-PD-T1 = 150, IA-PD-T2 = 250, IA-PD-Options = 0x001a0019000000fa0000012c382a000001000101000000000000000000, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 21 2012 08:36:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Preference = 10, DNS-Servers = 2a01::1, AFTR-Name = "aftr-name.mydomain.net"
 
 #
 #  3.
 #
+# [ DHCPv6 Request Message ]
+#   msgtype   = REQUEST
+#   trid      = 0x1e291d
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Wed, 21 Nov 2012 08:36:00 -0300 (1353486960)
+#      |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Option Request Option ]
+#      optcode   = ORO
+#      optlen    = 4
+#      reqopts   = [DNS Recursive Name Server Option, 64]
+# [ DHCP6 Elapsed Time Option ]
+#       optcode   = ELAPSED_TIME
+#       optlen    = 2
+#       elapsedtime= 0.00 sec
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#        optcode   = OPTION_IA_PD
+#        optlen    = 41
+#        iaid      = 0x2030405
+#        T1        = 3600
+#        T2        = 5400
+#        \iapdopt   \
+#         |[ DHCP6 Option - IA_PD Prefix option ]
+#         |  optcode   = OPTION_IAPREFIX
+#         |  optlen    = 25
+#         |  preflft   = 7200
+#         |  validlft  = 7500
+#         |  plen      = 56
+#         |  prefix    = 2a00:1:1:100::
+#         |  iaprefopts= ''
+#
 decode-proto 03 1e 29 1d 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 3f 4e f0 00 11 22 33 44 55 00 06 00 04 00 17 00 40 00 08 00 02 00 00 00 19 00 29 02 03 04 05 00 00 0e 10 00 00 15 18 00 1a 00 19 00 00 1c 20 00 00 1d 4c 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00
 match Packet-Type = Request, Transaction-ID = 0x1e291d, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 21 2012 08:36:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Option-Request = DNS-Servers, Option-Request = AFTR-Name, Elapsed-Time = 0, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400, IA-PD-Options = 0x001a001900001c2000001d4c382a000001000101000000000000000000
 
 #
 #  4.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0x1e291d
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#    optcode   = OPTION_IA_PD
+#    optlen    = 41
+#    iaid      = 0x2030405
+#    T1        = 150
+#    T2        = 250
+#    \iapdopt   \
+#     |[ DHCP6 Option - IA_PD Prefix option ]
+#     |  optcode   = OPTION_IAPREFIX
+#     |  optlen    = 25
+#     |  preflft   = 250
+#     |  validlft  = 300
+#     |  plen      = 56
+#     |  prefix    = 2a00:1:1:100::
+#     |  iaprefopts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Wed, 21 Nov 2012 08:36:00 -0300 (1353486960)
+#       |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Preference Option ]
+#       optcode   = PREFERENCE
+#       optlen    = 1
+#       prefval   = 10
+# [ DHCP6 Option - DNS Recursive Name Server ]
+#        optcode   = DNS Recursive Name Server Option
+#        optlen    = 16
+#        dnsservers= [ 2a01::1 ]
+# [ Unknown DHCPv6 Option ]
+#         optcode   = 64
+#         optlen    = 24
+#         data      = '\taftr-name\x08mydomain\x03net\x00'
+#
 decode-proto 07 1e 29 1d 00 19 00 29 02 03 04 05 00 00 00 96 00 00 00 fa 00 1a 00 19 00 00 00 fa 00 00 01 2c 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 3f 4e f0 00 11 22 33 44 55 00 07 00 01 0a 00 17 00 10 2a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 40 00 18 09 61 66 74 72 2d 6e 61 6d 65 08 6d 79 64 6f 6d 61 69 6e 03 6e 65 74 00
 match Packet-Type = Reply, Transaction-ID = 0x1e291d, IA-PD-IAID = 33752069, IA-PD-T1 = 150, IA-PD-T2 = 250, IA-PD-Options = 0x001a0019000000fa0000012c382a000001000101000000000000000000, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 21 2012 08:36:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Preference = 10, DNS-Servers = 2a01::1, AFTR-Name = "aftr-name.mydomain.net"
 
index 913893dfb9bdae30fc35fe6f0f4cbe29311dcddf..df0191168cee1ff8689f28093a1d8b7a78c4e913 100644 (file)
@@ -15,6 +15,32 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0xaa56ce
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 14
+#    \duid      \
+#     |[ DUID - Link-layer address plus time ]
+#     |  type      = Link-layer address plus time
+#     |  hwtype    = Ethernet (10Mb)
+#     |  timeval   = Thu, 04 Apr 2013 09:58:23 -0300 (1365069503)
+#     |  lladdr    = 00:0c:29:38:f3:68
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Thu, 04 Apr 2013 01:34:19 -0300 (1365039259)
+#      |  lladdr    = 00:0c:29:9b:a1:53
+# [ DHCP6 Option - Domain Search List option ]
+#      optcode   = Domain Search List option
+#      optlen    = 49
+#      dnsdomains= ['example.com.', 'sales.example.com.', 'eng.example.com.']
+#
 decode-proto 07 aa 56 ce 00 01 00 0e 00 01 00 01 18 f0 0b 3f 00 0c 29 38 f3 68 00 02 00 0e 00 01 00 01 18 ef 95 1b 00 0c 29 9b a1 53 00 18 00 31 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 05 73 61 6c 65 73 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 03 65 6e 67 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00
 match Packet-Type = Reply, Transaction-ID = 0xaa56ce, Client-ID-DUID = Client-ID-DUID-LLT, Client-ID-DUID-LLT-Hardware-Type = Client-ID-DUID-LLT-Ethernet, Client-ID-DUID-LLT-Time = "Apr  4 2013 09:58:23 UTC", Client-ID-DUID-LLT-Ethernet-Address = 00:0c:29:38:f3:68, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Apr  4 2013 01:34:19 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x000c299ba153, Domain-List = "example.com", Domain-List = "sales.example.com", Domain-List = "eng.example.com"
 
index 32d66328ccf8ef16526285e3905e8517098c3e46..623ed295424d735e3be55f840c78478adc49e72d 100644 (file)
@@ -15,24 +15,164 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Solicit Message ]
+#   msgtype   = SOLICIT
+#   trid      = 0x90b45c
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Option Request Option ]
+#     optcode   = ORO
+#     optlen    = 4
+#     reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#      optcode   = ELAPSED_TIME
+#      optlen    = 2
+#      elapsedtime= 0.00 sec
+# [ DHCP6 Identity Association for Non-temporary Addresses Option ]
+#       optcode   = IA_NA
+#       optlen    = 12
+#       iaid      = 0x2030405
+#       T1        = 3600
+#       T2        = 5400
+#       \ianaopts  \
+#
 decode-proto 01 90 b4 5c 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 03 00 0c 02 03 04 05 00 00 0e 10 00 00 15 18
 match Packet-Type = Solicit, Transaction-ID = 0x90b45c, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-NA-IAID = 33752069, IA-NA-T1 = 3600, IA-NA-T2 = 5400
 
 #
 #  2.
 #
+# [ DHCPv6 Advertise Message ]
+#   msgtype   = ADVERTISE
+#   trid      = 0x90b45c
+# [ DHCP6 Identity Association for Non-temporary Addresses Option ]
+#    optcode   = IA_NA
+#    optlen    = 40
+#    iaid      = 0x2030405
+#    T1        = 3600
+#    T2        = 5400
+#    \ianaopts  \
+#     |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#     |  optcode   = IAADDR
+#     |  optlen    = 24
+#     |  addr      = 2a00:1:1:200:38e6:b22e:c440:acdf
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  iaaddropts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:34:36 -0300 (1353944076)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 02 90 b4 5c 00 03 00 28 02 03 04 05 00 00 0e 10 00 00 15 18 00 05 00 18 2a 00 00 01 00 01 02 00 38 e6 b2 2e c4 40 ac df 00 00 11 94 00 00 1c 20 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 48 8c 00 11 22 33 44 55
 match Packet-Type = Advertise, Transaction-ID = 0x90b45c, IA-NA-IAID = 33752069, IA-NA-T1 = 3600, IA-NA-T2 = 5400, IA-NA-Options = 0x000500182a0000010001020038e6b22ec440acdf0000119400001c20, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:34:36 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
 #
 #  3.
 #
+# [ DHCPv6 Request Message ]
+#   msgtype   = REQUEST
+#   trid      = 0x2ffdd1
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Mon, 26 Nov 2012 15:34:36 -0300 (1353944076)
+#      |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Option Request Option ]
+#      optcode   = ORO
+#      optlen    = 4
+#      reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#       optcode   = ELAPSED_TIME
+#       optlen    = 2
+#       elapsedtime= 0.00 sec
+# [ DHCP6 Identity Association for Non-temporary Addresses Option ]
+#        optcode   = IA_NA
+#        optlen    = 40
+#        iaid      = 0x2030405
+#        T1        = 3600
+#        T2        = 5400
+#        \ianaopts  \
+#         |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#         |  optcode   = IAADDR
+#         |  optlen    = 24
+#         |  addr      = 2a00:1:1:200:38e6:b22e:c440:acdf
+#         |  preflft   = 7200
+#         |  validlft  = 7500
+#         |  iaaddropts= ''
+#
 decode-proto 03 2f fd d1 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 48 8c 00 11 22 33 44 55 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 03 00 28 02 03 04 05 00 00 0e 10 00 00 15 18 00 05 00 18 2a 00 00 01 00 01 02 00 38 e6 b2 2e c4 40 ac df 00 00 1c 20 00 00 1d 4c
 match Packet-Type = Request, Transaction-ID = 0x2ffdd1, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:34:36 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-NA-IAID = 33752069, IA-NA-T1 = 3600, IA-NA-T2 = 5400, IA-NA-Options = 0x000500182a0000010001020038e6b22ec440acdf00001c2000001d4c
 
 #
 #  4.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0x2ffdd1
+# [ DHCP6 Identity Association for Non-temporary Addresses Option ]
+#    optcode   = IA_NA
+#    optlen    = 40
+#    iaid      = 0x2030405
+#    T1        = 3600
+#    T2        = 5400
+#    \ianaopts  \
+#     |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#     |  optcode   = IAADDR
+#     |  optlen    = 24
+#     |  addr      = 2a00:1:1:200:38e6:b22e:c440:acdf
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  iaaddropts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:34:36 -0300 (1353944076)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 07 2f fd d1 00 03 00 28 02 03 04 05 00 00 0e 10 00 00 15 18 00 05 00 18 2a 00 00 01 00 01 02 00 38 e6 b2 2e c4 40 ac df 00 00 11 94 00 00 1c 20 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 48 8c 00 11 22 33 44 55
 match Packet-Type = Reply, Transaction-ID = 0x2ffdd1, IA-NA-IAID = 33752069, IA-NA-T1 = 3600, IA-NA-T2 = 5400, IA-NA-Options = 0x000500182a0000010001020038e6b22ec440acdf0000119400001c20, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:34:36 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
index c0911c1e9850ab449211b94424a71d47e0d761cd..c608ac9769c6328918982f2cd2a374ea13906f1d 100644 (file)
@@ -15,24 +15,167 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Solicit Message ]
+#   msgtype   = SOLICIT
+#   trid      = 0xe1e093
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Option Request Option ]
+#     optcode   = ORO
+#     optlen    = 4
+#     reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#      optcode   = ELAPSED_TIME
+#      optlen    = 2
+#      elapsedtime= 0.00 sec
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#       optcode   = OPTION_IA_PD
+#       optlen    = 12
+#       iaid      = 0x2030405
+#       T1        = 3600
+#       T2        = 5400
+#       \iapdopt   \
+#
 decode-proto 01 e1 e0 93 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 19 00 0c 02 03 04 05 00 00 0e 10 00 00 15 18
 match Packet-Type = Solicit, Transaction-ID = 0xe1e093, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400
 
 #
 #  2.
 #
+# [ DHCPv6 Advertise Message ]
+#   msgtype   = ADVERTISE
+#   trid      = 0xe1e093
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#    optcode   = OPTION_IA_PD
+#    optlen    = 41
+#    iaid      = 0x2030405
+#    T1        = 3600
+#    T2        = 5400
+#    \iapdopt   \
+#     |[ DHCP6 Option - IA_PD Prefix option ]
+#     |  optcode   = OPTION_IAPREFIX
+#     |  optlen    = 25
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  plen      = 56
+#     |  prefix    = 2a00:1:1:100::
+#     |  iaprefopts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:39:05 -0300 (1353944345)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 02 e1 e0 93 00 19 00 29 02 03 04 05 00 00 0e 10 00 00 15 18 00 1a 00 19 00 00 11 94 00 00 1c 20 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 49 99 00 11 22 33 44 55
 match Packet-Type = Advertise, Transaction-ID = 0xe1e093, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400, IA-PD-Options = 0x001a00190000119400001c20382a000001000101000000000000000000, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:39:05 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
 #
 #  3.
 #
+# [ DHCPv6 Request Message ]
+#   msgtype   = REQUEST
+#   trid      = 0x12b08a
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Mon, 26 Nov 2012 15:39:05 -0300 (1353944345)
+#      |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Option Request Option ]
+#      optcode   = ORO
+#      optlen    = 4
+#      reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#       optcode   = ELAPSED_TIME
+#       optlen    = 2
+#       elapsedtime= 0.00 sec
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#        optcode   = OPTION_IA_PD
+#        optlen    = 41
+#        iaid      = 0x2030405
+#        T1        = 3600
+#        T2        = 5400
+#        \iapdopt   \
+#         |[ DHCP6 Option - IA_PD Prefix option ]
+#         |  optcode   = OPTION_IAPREFIX
+#         |  optlen    = 25
+#         |  preflft   = 7200
+#         |  validlft  = 7500
+#         |  plen      = 56
+#         |  prefix    = 2a00:1:1:100::
+#         |  iaprefopts= ''
+#
 decode-proto 03 12 b0 8a 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 49 99 00 11 22 33 44 55 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 19 00 29 02 03 04 05 00 00 0e 10 00 00 15 18 00 1a 00 19 00 00 1c 20 00 00 1d 4c 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00
 match Packet-Type = Request, Transaction-ID = 0x12b08a, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:39:05 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400, IA-PD-Options = 0x001a001900001c2000001d4c382a000001000101000000000000000000
 
 #
 #  4.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0x12b08a
+# [ DHCP6 Option - Identity Association for Prefix Delegation ]
+#    optcode   = OPTION_IA_PD
+#    optlen    = 41
+#    iaid      = 0x2030405
+#    T1        = 3600
+#    T2        = 5400
+#    \iapdopt   \
+#     |[ DHCP6 Option - IA_PD Prefix option ]
+#     |  optcode   = OPTION_IAPREFIX
+#     |  optlen    = 25
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  plen      = 56
+#     |  prefix    = 2a00:1:1:100::
+#     |  iaprefopts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:39:05 -0300 (1353944345)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 07 12 b0 8a 00 19 00 29 02 03 04 05 00 00 0e 10 00 00 15 18 00 1a 00 19 00 00 11 94 00 00 1c 20 38 2a 00 00 01 00 01 01 00 00 00 00 00 00 00 00 00 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 49 99 00 11 22 33 44 55
 match Packet-Type = Reply, Transaction-ID = 0x12b08a, IA-PD-IAID = 33752069, IA-PD-T1 = 3600, IA-PD-T2 = 5400, IA-PD-Options = 0x001a00190000119400001c20382a000001000101000000000000000000, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:39:05 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
index 3d02734983b307ba8092f811d3143a782ac1cfa5..65e791a71ecc228929083d1108c6f85685a12d44 100644 (file)
@@ -15,24 +15,156 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Solicit Message ]
+#   msgtype   = SOLICIT
+#   trid      = 0x28b040
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Option Request Option ]
+#     optcode   = ORO
+#     optlen    = 4
+#     reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#      optcode   = ELAPSED_TIME
+#      optlen    = 2
+#      elapsedtime= 0.00 sec
+# [ DHCP6 Identity Association for Temporary Addresses Option ]
+#       optcode   = IA_TA
+#       optlen    = 4
+#       iaid      = 0x2030405
+#       \iataopts  \
+#
 decode-proto 01 28 b0 40 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 04 00 04 02 03 04 05
 match Packet-Type = Solicit, Transaction-ID = 0x28b040, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-TA-IAID = 33752069
 
 #
 #  2.
 #
+# [ DHCPv6 Advertise Message ]
+#   msgtype   = ADVERTISE
+#   trid      = 0x28b040
+# [ DHCP6 Identity Association for Temporary Addresses Option ]
+#    optcode   = IA_TA
+#    optlen    = 32
+#    iaid      = 0x2030405
+#    \iataopts  \
+#     |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#     |  optcode   = IAADDR
+#     |  optlen    = 24
+#     |  addr      = 2a00:1:1:200:5da2:f920:84c4:88cc
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  iaaddropts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:32:00 -0300 (1353943920)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 02 28 b0 40 00 04 00 20 02 03 04 05 00 05 00 18 2a 00 00 01 00 01 02 00 5d a2 f9 20 84 c4 88 cc 00 00 11 94 00 00 1c 20 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 47 f0 00 11 22 33 44 55
 match Packet-Type = Advertise, Transaction-ID = 0x28b040, IA-TA-IAID = 33752069, IA-TA-Options = 0x000500182a000001000102005da2f92084c488cc0000119400001c20, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:32:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
 #
 #  3.
 #
+# [ DHCPv6 Request Message ]
+#   msgtype   = REQUEST
+#   trid      = 0x2b0e45
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 10
+#    \duid      \
+#     |[ DUID - Based on Link-layer Address ]
+#     |  type      = Link-layer Address
+#     |  hwtype    = Ethernet (10Mb)
+#     |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Mon, 26 Nov 2012 15:32:00 -0300 (1353943920)
+#      |  lladdr    = 00:11:22:33:44:55
+# [ DHCP6 Option Request Option ]
+#      optcode   = ORO
+#      optlen    = 4
+#      reqopts   = [DNS Recursive Name Server Option, Domain Search List option]
+# [ DHCP6 Elapsed Time Option ]
+#       optcode   = ELAPSED_TIME
+#       optlen    = 2
+#       elapsedtime= 0.00 sec
+# [ DHCP6 Identity Association for Temporary Addresses Option ]
+#        optcode   = IA_TA
+#        optlen    = 32
+#        iaid      = 0x2030405
+#        \iataopts  \
+#         |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#         |  optcode   = IAADDR
+#         |  optlen    = 24
+#         |  addr      = 2a00:1:1:200:5da2:f920:84c4:88cc
+#         |  preflft   = 7200
+#         |  validlft  = 7500
+#         |  iaaddropts= ''
+#
 decode-proto 03 2b 0e 45 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 47 f0 00 11 22 33 44 55 00 06 00 04 00 17 00 18 00 08 00 02 00 00 00 04 00 20 02 03 04 05 00 05 00 18 2a 00 00 01 00 01 02 00 5d a2 f9 20 84 c4 88 cc 00 00 1c 20 00 00 1d 4c
 match Packet-Type = Request, Transaction-ID = 0x2b0e45, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:32:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455, Option-Request = DNS-Servers, Option-Request = Domain-List, Elapsed-Time = 0, IA-TA-IAID = 33752069, IA-TA-Options = 0x000500182a000001000102005da2f92084c488cc00001c2000001d4c
 
 #
 #  4.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0x2b0e45
+# [ DHCP6 Identity Association for Temporary Addresses Option ]
+#    optcode   = IA_TA
+#    optlen    = 32
+#    iaid      = 0x2030405
+#    \iataopts  \
+#     |[ DHCP6 IA Address Option (IA_TA or IA_NA suboption) ]
+#     |  optcode   = IAADDR
+#     |  optlen    = 24
+#     |  addr      = 2a00:1:1:200:5da2:f920:84c4:88cc
+#     |  preflft   = 4500
+#     |  validlft  = 7200
+#     |  iaaddropts= ''
+# [ DHCP6 Client Identifier Option ]
+#     optcode   = CLIENTID
+#     optlen    = 10
+#     \duid      \
+#      |[ DUID - Based on Link-layer Address ]
+#      |  type      = Link-layer Address
+#      |  hwtype    = Ethernet (10Mb)
+#      |  lladdr    = 00:01:02:03:04:05
+# [ DHCP6 Server Identifier Option ]
+#      optcode   = SERVERID
+#      optlen    = 14
+#      \duid      \
+#       |[ DUID - Link-layer address plus time ]
+#       |  type      = Link-layer address plus time
+#       |  hwtype    = Ethernet (10Mb)
+#       |  timeval   = Mon, 26 Nov 2012 15:32:00 -0300 (1353943920)
+#       |  lladdr    = 00:11:22:33:44:55
+#
 decode-proto 07 2b 0e 45 00 04 00 20 02 03 04 05 00 05 00 18 2a 00 00 01 00 01 02 00 5d a2 f9 20 84 c4 88 cc 00 00 11 94 00 00 1c 20 00 01 00 0a 00 03 00 01 00 01 02 03 04 05 00 02 00 0e 00 01 00 01 18 46 47 f0 00 11 22 33 44 55
 match Packet-Type = Reply, Transaction-ID = 0x2b0e45, IA-TA-IAID = 33752069, IA-TA-Options = 0x000500182a000001000102005da2f92084c488cc0000119400001c20, Client-ID-DUID = Client-ID-DUID-LL, Client-ID-DUID-LL-Hardware-Type = 1, Client-ID-DUID-LL-Address = 0x000102030405, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Nov 26 2012 15:32:00 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x001122334455
 
index 754c956de130ded5c57b5a4c78b4cfa6720a8090..c4894667469ace316733bddd1a8bc121285788f3 100644 (file)
@@ -15,6 +15,32 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0xf69b57
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 14
+#    \duid      \
+#     |[ DUID - Link-layer address plus time ]
+#     |  type      = Link-layer address plus time
+#     |  hwtype    = Ethernet (10Mb)
+#     |  timeval   = Thu, 04 Apr 2013 09:58:23 -0300 (1365069503)
+#     |  lladdr    = 00:0c:29:38:f3:68
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Thu, 04 Apr 2013 01:34:19 -0300 (1365039259)
+#      |  lladdr    = 00:0c:29:9b:a1:53
+# [ Unknown DHCPv6 Option ]
+#      optcode   = 56
+#      optlen    = 61
+#      data      = '\x00\x01\x00\x10*\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x02\x00\x10\xff\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x00\x03\x00\x11\x03ntp\x07example\x03com\x00'
+#
 decode-proto 07 f6 9b 57 00 01 00 0e 00 01 00 01 18 f0 0b 3f 00 0c 29 38 f3 68 00 02 00 0e 00 01 00 01 18 ef 95 1b 00 0c 29 9b a1 53 00 38 00 3d 00 01 00 10 2a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 10 ff 05 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00 03 00 11 03 6e 74 70 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00
 match Packet-Type = Reply, Transaction-ID = 0xf69b57, Client-ID-DUID = Client-ID-DUID-LLT, Client-ID-DUID-LLT-Hardware-Type = Client-ID-DUID-LLT-Ethernet, Client-ID-DUID-LLT-Time = "Apr  4 2013 09:58:23 UTC", Client-ID-DUID-LLT-Ethernet-Address = 00:0c:29:38:f3:68, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Apr  4 2013 01:34:19 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x000c299ba153, NTP-Server-Address = 2a01::1, NTP-Server-Multicast-Address = ff05::101, NTP-Server-FQDN = "ntp.example.com"
 
index 3b99a555fc15a40b9c36a0ea777a31edfc604e98..b131aa04cb4ccd11cefb7284103a3dd7d312d083 100644 (file)
@@ -15,6 +15,32 @@ proto-dictionary dhcpv6
 #
 #  1.
 #
+# [ DHCPv6 Reply Message ]
+#   msgtype   = REPLY
+#   trid      = 0x6890d8
+# [ DHCP6 Client Identifier Option ]
+#    optcode   = CLIENTID
+#    optlen    = 14
+#    \duid      \
+#     |[ DUID - Link-layer address plus time ]
+#     |  type      = Link-layer address plus time
+#     |  hwtype    = Ethernet (10Mb)
+#     |  timeval   = Thu, 04 Apr 2013 09:58:23 -0300 (1365069503)
+#     |  lladdr    = 00:0c:29:38:f3:68
+# [ DHCP6 Server Identifier Option ]
+#     optcode   = SERVERID
+#     optlen    = 14
+#     \duid      \
+#      |[ DUID - Link-layer address plus time ]
+#      |  type      = Link-layer address plus time
+#      |  hwtype    = Ethernet (10Mb)
+#      |  timeval   = Thu, 04 Apr 2013 01:34:19 -0300 (1365039259)
+#      |  lladdr    = 00:0c:29:9b:a1:53
+# [ DHCP6 Option - SIP Servers Domain Name List ]
+#      optcode   = SIP Servers Domain Name List
+#      optlen    = 62
+#      sipdomains= ['sip1.my-domain.net.', 'sip2.example.com.', 'sip3.sub.my-domain.org.']
+#
 decode-proto 07 68 90 d8 00 01 00 0e 00 01 00 01 18 f0 0b 3f 00 0c 29 38 f3 68 00 02 00 0e 00 01 00 01 18 ef 95 1b 00 0c 29 9b a1 53 00 15 00 3e 04 73 69 70 31 09 6d 79 2d 64 6f 6d 61 69 6e 03 6e 65 74 00 04 73 69 70 32 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 04 73 69 70 33 03 73 75 62 09 6d 79 2d 64 6f 6d 61 69 6e 03 6f 72 67 00
 match Packet-Type = Reply, Transaction-ID = 0x6890d8, Client-ID-DUID = Client-ID-DUID-LLT, Client-ID-DUID-LLT-Hardware-Type = Client-ID-DUID-LLT-Ethernet, Client-ID-DUID-LLT-Time = "Apr  4 2013 09:58:23 UTC", Client-ID-DUID-LLT-Ethernet-Address = 00:0c:29:38:f3:68, Server-ID-DUID = Server-ID-DUID-LLT, Server-ID-DUID-LLT-Hardware-Type = 1, Server-ID-DUID-LLT-Time = "Apr  4 2013 01:34:19 UTC", Server-ID-DUID-LLT-Link-Layer-Address = 0x000c299ba153, SIP-Server-Domain-Name-List = "sip1.my-domain.net", SIP-Server-Domain-Name-List = "sip2.example.com", SIP-Server-Domain-Name-List = "sip3.sub.my-domain.org"