Skip to content

Commit a01e9e9

Browse files
committed
Update a BGP test file to avoid decoding problem in a future update
Port 80 for a BGP packet could make it considered as an HTTP packet. Avoid port 80, fix the length and avoid Syn flag. The raw IP/TCP/BGP packet gave: truncated-ip - 38 bytes missing! 127.0.0.1.179 > 127.0.0.1.80 Flags [S] It gives now: (No more "truncated-ip") 127.0.0.1.179 > 127.0.0.1.59631 Flags [P.]
1 parent df376cd commit a01e9e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bgp-addpath.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 13:56:28.053206 IP truncated-ip - 38 bytes missing! (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 309)
2-
127.0.0.1.179 > 127.0.0.1.80: Flags [S], seq 0:269, win 8192, length 269: BGP
1+
1 13:56:28.053206 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 271)
2+
127.0.0.1.179 > 127.0.0.1.59631: Flags [P.], cksum 0xe5c1 (correct), seq 0:231, ack 0, win 8192, length 231: BGP
33
Update Message (2), length: 231
44
Withdrawn routes:
55
8.2.0.0/24 Path Id: 20

tests/bgp-addpath.pcap

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)