]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Parse the IS-IS Instance Identifier TLV from RFC8202 829/head
authorManoharan Sundaramoorthy <[email protected]>
Fri, 21 Feb 2020 12:45:24 +0000 (04:45 -0800)
committerBill Fenner <[email protected]>
Fri, 21 Feb 2020 12:45:24 +0000 (04:45 -0800)
print-isoclns.c
tests/TESTLIST
tests/isis_iid_tlv.out [new file with mode: 0644]
tests/isis_iid_tlv.pcap [new file with mode: 0644]
tests/isis_infloop-v.out
tests/isis_sysid_asan.out

index e0afcfb6108c5c57bd216bc359a1a95f41eec628..166cead09b141fc442c430f0e736bfa8cb5def80 100644 (file)
@@ -106,7 +106,7 @@ static const struct tok isis_pdu_values[] = {
 #define ISIS_TLV_PART_DIS            4   /* iso10589 */
 #define ISIS_TLV_PREFIX_NEIGH        5   /* iso10589 */
 #define ISIS_TLV_ISNEIGH             6   /* iso10589 */
-#define ISIS_TLV_ISNEIGH_VARLEN      7   /* iso10589 */
+#define ISIS_TLV_INSTANCE_ID         7   /* rfc8202 */
 #define ISIS_TLV_PADDING             8   /* iso10589 */
 #define ISIS_TLV_LSP                 9   /* iso10589 */
 #define ISIS_TLV_AUTH                10  /* iso10589, rfc3567 */
@@ -154,7 +154,7 @@ static const struct tok isis_tlv_values[] = {
     { ISIS_TLV_PART_DIS,           "Partition DIS"},
     { ISIS_TLV_PREFIX_NEIGH,       "Prefix Neighbors"},
     { ISIS_TLV_ISNEIGH,            "IS Neighbor(s)"},
-    { ISIS_TLV_ISNEIGH_VARLEN,     "IS Neighbor(s) (variable length)"},
+    { ISIS_TLV_INSTANCE_ID,        "Instance Identifier"},
     { ISIS_TLV_PADDING,            "Padding"},
     { ISIS_TLV_LSP,                "LSP entries"},
     { ISIS_TLV_AUTH,               "Authentication"},
@@ -2311,14 +2311,14 @@ isis_print(netdissect_options *ndo,
     const struct isis_tlv_es_reach *tlv_es_reach;
 
     uint8_t version, pdu_version, fixed_len;
-    uint8_t pdu_type, pdu_max_area, max_area, pdu_id_length, id_length, tlv_type, tlv_len, tlen, alen, lan_alen, prefix_len;
+    uint8_t pdu_type, pdu_max_area, max_area, pdu_id_length, id_length, tlv_type, tlv_len, tlen, alen, prefix_len;
     u_int ext_is_len, ext_ip_len;
     uint8_t mt_len;
     uint8_t isis_subtlv_idrp;
     const uint8_t *optr, *pptr, *tptr;
     u_int packet_len;
     u_short pdu_len, key_id;
-    u_int i,vendor_id;
+    u_int i,vendor_id, num_vals;
     uint8_t auth_type;
     uint8_t num_system_ids;
     int sigcheck;
@@ -2727,26 +2727,22 @@ isis_print(netdissect_options *ndo,
            }
            break;
 
-        case ISIS_TLV_ISNEIGH_VARLEN:
-            if (tlen < 1)
-               goto tlv_trunc;
-            ND_TCHECK_1(tptr);
-           lan_alen = GET_U_1(tptr); /* LAN address length */
-           tptr++;
-           tlen--;
-           if (lan_alen == 0) {
-                ND_PRINT("\n\t      LAN address length 0 bytes");
-                nd_print_invalid(ndo);
-                break;
-            }
-            ND_PRINT("\n\t      LAN address length %u bytes ", lan_alen);
-           while (tlen != 0) {
-                if (tlen < lan_alen)
-                    goto tlv_trunc;
-                ND_TCHECK_LEN(tptr, lan_alen);
-                ND_PRINT("\n\t\tIS Neighbor: %s", isis_print_id(ndo, tptr, lan_alen));
-                tlen -= lan_alen;
-                tptr +=lan_alen;
+        case ISIS_TLV_INSTANCE_ID:
+            if (tlen < 4)
+                goto tlv_trunc;
+            num_vals = (tlen-2)/2;
+            ND_PRINT("\n\t      Instance ID: %u, ITIDs(%u)%s ",
+                     GET_BE_U_2(tptr), num_vals,
+                     num_vals ? ":" : "");
+            tptr += 2;
+            tlen -= 2;
+            for (i=0; i < num_vals; i++) {
+                ND_PRINT("%u", GET_BE_U_2(tptr));
+                if (i < (num_vals - 1)) {
+                   ND_PRINT(", ");
+                }
+                tptr += 2;
+                tlen -= 2;
             }
             break;
 
index fd08195ce1c63bc33b0b862991a612d8d364f861..73a89c12812c5c205153350639618d9edbc1f5a1 100644 (file)
@@ -298,6 +298,7 @@ isis_2-v    ISIS_level1_adjacency.pcap      isis_2-v.out    -v
 isis_3-v       ISIS_level2_adjacency.pcap      isis_3-v.out    -v
 isis_4-v       ISIS_p2p_adjacency.pcap         isis_4-v.out    -v
 isis_cap_tlv   isis_cap_tlv.pcap               isis_cap_tlv.out        -v
+isis_iid-v      isis_iid_tlv.pcap               isis_iid_tlv.out        -v
 # fuzzed pcap
 # isis-seg-fault-1-v is now conditionally handled by isis-seg-fault-1-v.sh
 isis-seg-fault-2-v isis-seg-fault-2.pcapng isis-seg-fault-2-v.out -v
diff --git a/tests/isis_iid_tlv.out b/tests/isis_iid_tlv.out
new file mode 100644 (file)
index 0000000..4bd13e3
--- /dev/null
@@ -0,0 +1,769 @@
+    1  09:29:29.268801 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    2  09:29:37.075801 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    3  09:29:46.021211 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    4  09:29:55.106207 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    5  09:30:05.025102 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    6  09:30:13.883206 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    7  09:30:22.054618 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    8  09:30:30.417192 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+    9  09:30:38.433368 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   10  09:30:48.275219 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   11  09:30:55.827442 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   12  09:31:03.671874 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   13  09:31:13.148539 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   14  09:31:22.673473 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   15  09:31:31.072251 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   16  09:31:39.754349 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   17  09:31:47.777381 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 5
+             Adjacency State: Down (2)
+             Neighbor Extended Local circuit-ID: 0x00000000
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 159
+   18  09:31:54.607871 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 2222.2222.2222, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.2
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 15
+             Adjacency State: Initializing (1)
+             Extended Local circuit-ID: 0x00000002
+             Neighbor System-ID: 1111.1111.1111
+             Neighbor Extended Local circuit-ID: 0x00000002
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 149
+   19  09:31:54.608673 IS-IS, length 57
+       L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 57
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000002, lifetime:  1020s, chksum: 0x5bec
+   20  09:31:54.608705 IS-IS, length 57
+       L2 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 57
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000002, lifetime:  1020s, chksum: 0x5bec
+   21  09:31:54.658754 IS-IS, length 95
+       L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1199s
+         chksum: 0xf15d (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.1
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.1
+             IPv4 interface address: 1.1.1.1
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   22  09:31:54.658811 IS-IS, length 95
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1199s
+         chksum: 0xf15d (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.1
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.1
+             IPv4 interface address: 1.1.1.1
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   23  09:31:57.061599 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 15
+             Adjacency State: Up (0)
+             Extended Local circuit-ID: 0x00000002
+             Neighbor System-ID: 2222.2222.2222
+             Neighbor Extended Local circuit-ID: 0x00000002
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 149
+   24  09:31:57.084952 IS-IS, length 57
+       L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 57
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000004, lifetime:  1155s, chksum: 0xb02b
+   25  09:31:57.085008 IS-IS, length 57
+       L2 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 57
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000004, lifetime:  1155s, chksum: 0xb02b
+   26  09:31:57.085353 IS-IS, length 95
+       L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1197s
+         chksum: 0xf15d (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.1
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.1
+             IPv4 interface address: 1.1.1.1
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   27  09:31:57.085376 IS-IS, length 95
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1197s
+         chksum: 0xf15d (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.1
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.1
+             IPv4 interface address: 1.1.1.1
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   28  09:31:57.135033 IS-IS, length 95
+       L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime:  1199s
+         chksum: 0xe167 (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.2
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.2
+             IPv4 interface address: 1.1.1.2
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.2/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   29  09:31:57.135069 IS-IS, length 95
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime:  1199s
+         chksum: 0xe167 (correct), PDU length: 95, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.2
+               Flags: [none]
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.2
+             IPv4 interface address: 1.1.1.2
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.2/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   30  09:31:58.085559 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.1.1.1 tell 1.1.1.2, length 28
+   31  09:31:58.085613 ARP, Ethernet (len 6), IPv4 (len 4), Reply 1.1.1.1 is-at 02:01:00:03:00:00, length 28
+   32  09:31:58.135418 IS-IS, length 106
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime:  1199s
+         chksum: 0xd4a7 (correct), PDU length: 106, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 1111.1111.1111.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.2
+               Flags: [none]
+           Extended IPv4 Reachability TLV #135, length: 9
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 20
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.2
+             IPv4 interface address: 1.1.1.2
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.2/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   33  09:31:58.186000 IS-IS, length 106
+       L2 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         lsp-id: 1111.1111.1111.00-00, seq: 0x00000004, lifetime:  1199s
+         chksum: 0xf68a (correct), PDU length: 106, Flags: [ L2 IS ]
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Extended IS Reachability TLV #22, length: 11
+             IS Neighbor: 2222.2222.2222.00, Metric: 10, no sub-TLVs present
+           IS-IS Router Capability TLV #242, length: 9
+               Router-id: 1.1.1.1
+               Flags: [none]
+           Extended IPv4 Reachability TLV #135, length: 9
+             IPv4 prefix:         2.2.2.2/32, Distribution: up, Metric: 20
+           IPv4 Interface address(es) TLV #132, length: 8
+             IPv4 interface address: 2.2.2.1
+             IPv4 interface address: 1.1.1.1
+           Extended IPv4 Reachability TLV #135, length: 17
+             IPv4 prefix:         2.2.2.1/32, Distribution: up, Metric: 10
+             IPv4 prefix:         1.1.1.0/24, Distribution: up, Metric: 10
+   34  09:31:59.085250 IS-IS, length 41
+       L1 PSNP, hlen: 17, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 41
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime:  1199s, chksum: 0xe167
+   35  09:31:59.085325 IS-IS, length 41
+       L2 PSNP, hlen: 17, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 41
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime:  1200s, chksum: 0xd4a7
+   36  09:31:59.085793 IS-IS, length 41
+       L1 PSNP, hlen: 17, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 41
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1198s, chksum: 0xf15d
+   37  09:31:59.085841 IS-IS, length 41
+       L2 PSNP, hlen: 17, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 41
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 16
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000004, lifetime:  1200s, chksum: 0xf68a
+   38  09:32:03.638208 IS-IS, length 73
+       L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 73
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 32
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1192s, chksum: 0xf15d
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime:  1194s, chksum: 0xe167
+   39  09:32:03.638269 IS-IS, length 73
+       L2 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    1111.1111.1111.00, PDU length: 73
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 32
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000004, lifetime:  1195s, chksum: 0xf68a
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime:  1195s, chksum: 0xd4a7
+   40  09:32:04.218182 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 2222.2222.2222, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.2
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 15
+             Adjacency State: Up (0)
+             Extended Local circuit-ID: 0x00000002
+             Neighbor System-ID: 1111.1111.1111
+             Neighbor Extended Local circuit-ID: 0x00000002
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 149
+   41  09:32:04.627490 IS-IS, length 73
+       L1 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 73
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 32
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000003, lifetime:  1193s, chksum: 0xf15d
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime:  1193s, chksum: 0xe167
+   42  09:32:04.627543 IS-IS, length 73
+       L2 CSNP, hlen: 33, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id:    2222.2222.2222.00, PDU length: 73
+         start lsp-id: 0000.0000.0000.00-00
+         end lsp-id:   ffff.ffff.ffff.ff-ff
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           LSP entries TLV #9, length: 32
+             lsp-id: 1111.1111.1111.00-00, seq: 0x00000004, lifetime:  1194s, chksum: 0xf68a
+             lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime:  1194s, chksum: 0xd4a7
+   43  09:32:05.682366 IS-IS, length 1497
+       p2p IIH, hlen: 20, v: 1, pdu-v: 1, sys-id-len: 6 (0), max-area: 3 (0)
+         source-id: 1111.1111.1111, holding time: 30s, Flags: [Level 1, Level 2]
+         circuit-id: 0x02, PDU length: 1497
+           Instance Identifier TLV #7, length: 4
+             Instance ID: 1, ITIDs(1): 0
+           Protocols supported TLV #129, length: 1
+             NLPID(s): IPv4 (0xcc)
+           Area address(es) TLV #1, length: 4
+             Area address (length: 3): 49.0001
+           IPv4 Interface address(es) TLV #132, length: 4
+             IPv4 interface address: 1.1.1.1
+           Restart Signaling TLV #211, length: 1
+             Flags [none]
+           Point-to-point Adjacency State TLV #240, length: 15
+             Adjacency State: Up (0)
+             Extended Local circuit-ID: 0x00000002
+             Neighbor System-ID: 2222.2222.2222
+             Neighbor Extended Local circuit-ID: 0x00000002
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 255
+           Padding TLV #8, length: 149
diff --git a/tests/isis_iid_tlv.pcap b/tests/isis_iid_tlv.pcap
new file mode 100644 (file)
index 0000000..80b10fc
Binary files /dev/null and b/tests/isis_iid_tlv.pcap differ
index b22250426d3c27bb9cc321f886a2cba4cae92cc2..83ed2cafe3d00e80a43c0ecce687ec9a8310bd67 100644 (file)
@@ -4,32 +4,32 @@
        L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
          lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
          chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
-           IS Neighbor(s) (variable length) TLV #7, length: 0 [|isis]
+           Instance Identifier TLV #7, length: 0 [|isis]
     2  18:10:20.286769 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto GRE (47), length 54)
     234.176.145.73 > 192.168.1.1: GREv0, Flags [none], length 34
        IS-IS, length 30
        L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
          lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
          chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
-           IS Neighbor(s) (variable length) TLV #7, length: 0 [|isis]
+           Instance Identifier TLV #7, length: 0 [|isis]
     3  18:10:20.346738 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto GRE (47), length 54)
     225.91.211.91 > 192.168.1.1: GREv0, Flags [none], length 34
        IS-IS, length 30
        L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
          lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
          chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
-           IS Neighbor(s) (variable length) TLV #7, length: 0 [|isis]
+           Instance Identifier TLV #7, length: 0 [|isis]
     4  18:10:20.406704 IP (tos 0x0, ttl 128, id 0, offset 0, flags [DF], proto GRE (47), length 54)
     160.196.17.46 > 192.168.1.1: GREv0, Flags [none], length 34
        IS-IS, length 30
        L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
          lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
          chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
-           IS Neighbor(s) (variable length) TLV #7, length: 0 [|isis]
+           Instance Identifier TLV #7, length: 0 [|isis]
     5  18:10:20.466677 IP (tos 0x0, ttl 128, id 0, offset 0, flags [DF], proto GRE (47), length 54)
     246.181.173.63 > 192.168.1.1: GREv0, Flags [none], length 34
        IS-IS, length 30
        L1 LSP, hlen: 27, v: 1, pdu-v: 1, sys-id-len: 6 (6), max-area: 7 (7)
          lsp-id: ffff.ffff.ffff.ff-ff, seq: 0xffffffff, lifetime: 65535s
          chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
-           IS Neighbor(s) (variable length) TLV #7, length: 0 [|isis]
+           Instance Identifier TLV #7, length: 0 [|isis]
index 7de52afc05da56cb5a51ca84034af96c221f9691..6a9752d34ec198cfcf0819fc417661bf93a9b082 100644 (file)
            unknown TLV #100, length: 0
            unknown TLV #32, length: 16
                0x0000:  2020 2020 3c20 2020 2020 2020 205a 1a31
-           IS Neighbor(s) (variable length) TLV #7, length: 238
-             LAN address length 1 bytes 
-               IS Neighbor: 5a
-               IS Neighbor: 45
-               IS Neighbor: 50
-               IS Neighbor: 48
-               IS Neighbor: 59
-               IS Neighbor: 52
-               IS Neighbor: 5f
-               IS Neighbor: 43
-               IS Neighbor: 54
-               IS Neighbor: 4c
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 08
-               IS Neighbor: 00
-               IS Neighbor: 00
-               IS Neighbor: 08
-               IS Neighbor: 00
-               IS Neighbor: 20
-               IS Neighbor: 64
-               IS Neighbor: 00
-               IS Neighbor: 20
-               IS Neighbor: 10
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20
-               IS Neighbor: 20 [|isis]
+           Instance Identifier TLV #7, length: 238
+             Instance ID: 346, ITIDs(118): 17744, 18521, 21087, 17236, 19464, 2056, 2056, 2056, 2056, 2056, 2056, 2056, 2056, 2056, 2048, 8, 32, 25600, 8208, 8224, 8224, 8224, 8224,  [|isis]