mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 10:33:28 +08:00
tests: Add a pcap test for BGP extended message capability
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
b51a0dafc7
commit
052ed329c1
@ -58,6 +58,7 @@ bgp-llgr bgp-evpn.pcap bgp-llgr.out -v
|
||||
bgp-encap bgp-encap.pcap bgp-encap.out -v
|
||||
bgp-rt-prefix bgp-rt-prefix.pcap bgp-rt-prefix.out -v
|
||||
bgp-link-bw-extcommunity bgp-link-bw-extcommunity.pcapng bgp-link-bw-extcommunity.out -v
|
||||
bgp-extended-msg bgp-extended-msg.pcap bgp-extended-msg.out -v
|
||||
|
||||
# Broadcom tag tests
|
||||
brcmtag brcm-tag.pcap brcm-tag.out
|
||||
|
30
tests/bgp-extended-msg.out
Normal file
30
tests/bgp-extended-msg.out
Normal file
@ -0,0 +1,30 @@
|
||||
1 19:15:31.105336 IP (tos 0xc0, ttl 1, id 52866, offset 0, flags [DF], proto TCP (6), length 147)
|
||||
192.168.10.68.179 > 192.168.10.252.35857: Flags [P.], cksum 0xe752 (correct), seq 3505597008:3505597103, ack 4282450256, win 227, options [nop,nop,TS val 124114 ecr 2546325983], length 95: BGP
|
||||
Open Message (1), length: 95
|
||||
Version 4, my AS 65001, Holdtime 180s, ID 192.168.10.68
|
||||
Optional parameters, length: 66
|
||||
Option Capabilities Advertisement (2), length: 6
|
||||
Multiprotocol Extensions (1), length: 4
|
||||
AFI IPv4 (1), SAFI Unicast (1)
|
||||
Option Capabilities Advertisement (2), length: 2
|
||||
Route Refresh (Cisco) (128), length: 0
|
||||
Option Capabilities Advertisement (2), length: 2
|
||||
Route Refresh (2), length: 0
|
||||
Option Capabilities Advertisement (2), length: 2
|
||||
Enhanced Route Refresh (70), length: 0
|
||||
no decoder for Capability 70
|
||||
Option Capabilities Advertisement (2), length: 6
|
||||
32-Bit AS Number (65), length: 4
|
||||
4 Byte AS 65001
|
||||
Option Capabilities Advertisement (2), length: 2
|
||||
BGP Extended Message (6), length: 0
|
||||
Option Capabilities Advertisement (2), length: 6
|
||||
Multiple Paths (69), length: 4
|
||||
AFI IPv4 (1), SAFI Unicast (1), Send/Receive: Receive
|
||||
Option Capabilities Advertisement (2), length: 18
|
||||
Unknown (73), length: 16
|
||||
no decoder for Capability 73
|
||||
0x0000: 0e65 7869 7431 2d64 6562 6961 6e2d 3900
|
||||
Option Capabilities Advertisement (2), length: 4
|
||||
Graceful Restart (64), length: 2
|
||||
Restart Flags: [none], Restart Time 120s
|
BIN
tests/bgp-extended-msg.pcap
Normal file
BIN
tests/bgp-extended-msg.pcap
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user