]> The Tcpdump Group git mirrors - tcpdump/commitdiff
fixed indentation in bgp-addpath test, and added extra detail that is output in bgp...
authorDavid Cronin <[email protected]>
Sat, 11 Nov 2017 18:11:21 +0000 (18:11 +0000)
committerDavid Cronin <[email protected]>
Sat, 11 Nov 2017 18:11:21 +0000 (18:11 +0000)
tests/bgp-addpath.out
tests/bgp-as-path-oobr-nossl.out
tests/bgp-as-path-oobr-ssl.out

index 89845d88db340a74ddf842fbb0201c37e9a3ccea..5e5dcb7a60ec536ff99746046ff4f72ddd47207c 100644 (file)
@@ -1,30 +1,30 @@
 IP truncated-ip - 38 bytes missing! (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 309)
     127.0.0.1.179 > 127.0.0.1.80: Flags [S], seq 0:269, win 8192, length 269: BGP
-        Update Message (2), length: 231
-         Withdrawn routes:
-           8.2.0.0/24   Path Id: 20
-           8.2.1.0/24   Path Id: 21
-         Origin (1), length: 1, Flags [T]: EGP
-         Next Hop (3), length: 0, Flags [T]: invalid len
-         AS Path (2), length: 6, Flags [T]: 100 200 
-         Multi-Protocol Reach NLRI (14), length: 25, Flags [T]: 
-           AFI: IPv4 (1), SAFI: Unicast (1)
-           nexthop: 1.2.3.4, nh-length: 4, no SNPA
-             120.4.0.0/24   Path Id: 40
-             120.4.1.0/24   Path Id: 41
-         Multi-Protocol Unreach NLRI (15), length: 19, Flags [T]: 
-           AFI: IPv4 (1), SAFI: Unicast (1)
-             32.45.0.0/24   Path Id: 700
-             32.45.1.0/24   Path Id: 701
-         Multi-Protocol Reach NLRI (14), length: 61, Flags [T]: 
-           AFI: IPv6 (2), SAFI: Unicast (1)
-           nexthop: 2000:0:0:40::1, nh-length: 16, no SNPA
-             2002::1400:0/120   Path Id: 1
-             2002::1400:100/120   Path Id: 2
-         Multi-Protocol Unreach NLRI (15), length: 43, Flags [T]: 
-           AFI: IPv6 (2), SAFI: Unicast (1)
-             2002::2800:0/120   Path Id: 100
-             2002::2800:100/120   Path Id: 101
-         Updated routes:
-           6.2.0.0/24   Path Id: 10
-           6.2.1.0/24   Path Id: 11
+       Update Message (2), length: 231
+         Withdrawn routes:
+           8.2.0.0/24   Path Id: 20
+           8.2.1.0/24   Path Id: 21
+         Origin (1), length: 1, Flags [T]: EGP
+         Next Hop (3), length: 0, Flags [T]: invalid len
+         AS Path (2), length: 6, Flags [T]: 100 200 
+         Multi-Protocol Reach NLRI (14), length: 25, Flags [T]: 
+           AFI: IPv4 (1), SAFI: Unicast (1)
+           nexthop: 1.2.3.4, nh-length: 4, no SNPA
+             120.4.0.0/24   Path Id: 40
+             120.4.1.0/24   Path Id: 41
+         Multi-Protocol Unreach NLRI (15), length: 19, Flags [T]: 
+           AFI: IPv4 (1), SAFI: Unicast (1)
+             32.45.0.0/24   Path Id: 700
+             32.45.1.0/24   Path Id: 701
+         Multi-Protocol Reach NLRI (14), length: 61, Flags [T]: 
+           AFI: IPv6 (2), SAFI: Unicast (1)
+           nexthop: 2000:0:0:40::1, nh-length: 16, no SNPA
+             2002::1400:0/120   Path Id: 1
+             2002::1400:100/120   Path Id: 2
+         Multi-Protocol Unreach NLRI (15), length: 43, Flags [T]: 
+           AFI: IPv6 (2), SAFI: Unicast (1)
+             2002::2800:0/120   Path Id: 100
+             2002::2800:100/120   Path Id: 101
+         Updated routes:
+           6.2.0.0/24   Path Id: 10
+           6.2.1.0/24   Path Id: 11
index c005087fe0cf0c3105c0b6a9276df26fb9f82d10..e94e2715bd967dc94b25543f7790fbd93c4f95cf 100644 (file)
            0x0040:  0074 0040 4100 0049 8a00 0002 2500 1122
            0x0050:  10
        Update Message (2), length: 202
-         Withdrawn routes: 16 bytes
-         Unknown Attribute (0), length: 0, Flags [+4]: 
-           no Attribute 0 decoder
-         Unknown Attribute (100), length: 192[|BGP]
+         Withdrawn routes:
+           0.0.0.0/0
+           (illegal prefix length)
+         Origin (1), length: 2, Flags [+1]: invalid len
+           0x0000:  4002
+         Attribute Set (128), length: 4
+           Origin AS: 67108864
+         Unknown Attribute (64), length: 5
+           no Attribute 64 decoder
+           0x0000:  0400 0000 64
+         Extended Community (16), length: 8, Flags [OT]: 
+           target (0x0002), Flags [none]: 19338:650 (= 0.0.2.138)
+           0x0000:  0002 4b8a 0000 028a
+         Cluster List (10), length: 4, Flags [O]: 172.17.0.0
+           0x0000:  ac11 0000
+         Originator ID (9), length: 4, Flags [O]: 172.17.0.5
+           0x0000:  ac11 0005
+         Multi-Protocol Reach NLRI (14), length: 129, Flags [OE]: 
+           AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
+           nexthop: RD: 0:0 (= 0.0.0.0), 172.17.0.5, nh-length: 12, no SNPA
+             RD: 18826:650 (= 0.0.2.138), 172.17.33.0/27, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.0/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.32/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.48/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.192.128/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.192.144/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.30.64/26, label:1034 (bottom)
+           0x0000:  0001 800c 0000 0000 0000 0000 ac11 0005
+           0x0010:  0073 0040 5100 0049 8a00 0002 8aac 1121
+           0x0020:  0074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0030:  0074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0040:  2074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0050:  3074 0040 5100 0049 8a00 0002 8aac 11c0
+           0x0060:  8074 0040 5100 0049 8a00 0002 8aac 11c0
+           0x0070:  9072 0040 a100 0049 8a00 0002 8aac 111e
+           0x0080:  40[|BGP]
        Update Message (2), length: 106
          Origin (1), length: 1, Flags [T]: Incomplete
            0x0000:  02
index 1450137fdd0504d2856aee8b8bf23dc685551c0c..10800c1fc48d3c7f61438c3a0065aaf805caf955 100644 (file)
            0x0040:  0074 0040 4100 0049 8a00 0002 2500 1122
            0x0050:  10
        Update Message (2), length: 202
-         Withdrawn routes: 16 bytes
-         Unknown Attribute (0), length: 0, Flags [+4]: 
-           no Attribute 0 decoder
-         Unknown Attribute (100), length: 192[|BGP]
+         Withdrawn routes:
+           0.0.0.0/0
+           (illegal prefix length)
+         Origin (1), length: 2, Flags [+1]: invalid len
+           0x0000:  4002
+         Attribute Set (128), length: 4
+           Origin AS: 67108864
+         Unknown Attribute (64), length: 5
+           no Attribute 64 decoder
+           0x0000:  0400 0000 64
+         Extended Community (16), length: 8, Flags [OT]: 
+           target (0x0002), Flags [none]: 19338:650 (= 0.0.2.138)
+           0x0000:  0002 4b8a 0000 028a
+         Cluster List (10), length: 4, Flags [O]: 172.17.0.0
+           0x0000:  ac11 0000
+         Originator ID (9), length: 4, Flags [O]: 172.17.0.5
+           0x0000:  ac11 0005
+         Multi-Protocol Reach NLRI (14), length: 129, Flags [OE]: 
+           AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
+           nexthop: RD: 0:0 (= 0.0.0.0), 172.17.0.5, nh-length: 12, no SNPA
+             RD: 18826:650 (= 0.0.2.138), 172.17.33.0/27, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.0/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.32/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.105.48/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.192.128/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.192.144/28, label:1029 (bottom)
+             RD: 18826:650 (= 0.0.2.138), 172.17.30.64/26, label:1034 (bottom)
+           0x0000:  0001 800c 0000 0000 0000 0000 ac11 0005
+           0x0010:  0073 0040 5100 0049 8a00 0002 8aac 1121
+           0x0020:  0074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0030:  0074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0040:  2074 0040 5100 0049 8a00 0002 8aac 1169
+           0x0050:  3074 0040 5100 0049 8a00 0002 8aac 11c0
+           0x0060:  8074 0040 5100 0049 8a00 0002 8aac 11c0
+           0x0070:  9072 0040 a100 0049 8a00 0002 8aac 111e
+           0x0080:  40[|BGP]
        Update Message (2), length: 106
          Origin (1), length: 1, Flags [T]: Incomplete
            0x0000:  02