Thanks for your answer !
Here it is : 
02:51:51.603986 192.168.215.12.179 > 192.168.215.10.59227: . [bad tcp cksum 
2f8f! -> 34da] 73:73(0) ack 1868832 win 2960 <nop,nop,timestamp 525781224 
26023> (DF) [tos 0xc0] [ttl 1] (id 32914, len 52)
02:51:51.605295 192.168.215.10.59227 > 192.168.215.12.179: P [tcp sum ok] 
1868832:1869032(200) ack 73 win 229 <nop,nop,timestamp 26025 525781224>: BGP 
[|BGP] (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 3549 3356 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 2523)
                (COMMUNITIES[OT] 3549:2143 3549:30840))
                (NLRI: 1.186.147.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 57381 42708 9498 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.147.0/24)) (DF) (ttl 64, id 50624, len 252)
02:51:51.612599 192.168.215.10.59227 > 192.168.215.12.179: . 
1869032:1870480(1448) ack 73 win 229 <nop,nop,timestamp 26027 525781224>: BGP 
(UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 4777 2497 3257 9498 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.147.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 3257 9498 55644 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 10)
                (COMMUNITIES[OT] 3257:4000 3257:8103 3257:50001 3257:50110 
3257:54400 3257:54401))
                (NLRI: 1.186.147.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 57821 12586 3257 9498 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (COMMUNITIES[OT] 12586:145 12586:13000 64587:3257))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 1836 174 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (COMMUNITIES[OT] 1836:110 1836:6000 1836:6031))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 29608 3356 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 11)
                (COMMUNITIES[OT] 3356:2 3356:22 3356:100 3356:123 3356:500 
3356:2106 3356:11084 9498:2 9498:93 9498:55644 29608:30600 33111:9498 
33111:20111 33844:9498 63001:9498))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 7018 6453 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (COMMUNITIES[OT] 7018:5000 7018:37232))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 4608 1221 4637 174 9498 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 50300 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 8758 8220 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (COMMUNITIES[OT] 8220:65010 8220:65401 8758:110 8758:300))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 50304 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 22652 3356 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 3549 3356 9498 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 2523)
                (COMMUNITIES[OT] 3549:2143 3549:30840))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 57381 42708 9498 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 4777 2497 3257 9498 55644 55644 55644 55644 
55644 55644 55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.148.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 3257 9498 55644 55644 55644 55644 55644 55644 
55644 55644 55644 55644 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 10)
                (COMMUNITIES[OT] 3257:4000 3257:8103 3257:50001 3257:50110 
3257:54400 3257:54401))
                (NLRI: 1.186.148.0/24))
        [|BGP UPDATE] (DF) (ttl 64, id 50625, len 1500)
02:51:51.612730 192.168.215.12.179 > 192.168.215.10.59227: . [bad tcp cksum 
2f8f! -> 2e81] 73:73(0) ack 1870480 win 2935 <nop,nop,timestamp 525781224 
26025> (DF) [tos 0xc0] [ttl 1] (id 42802, len 52)
02:51:51.613306 192.168.215.12.179 > 192.168.215.10.59227: P [bad tcp cksum 
2fb7! -> ac7b] 73:113(40) ack 1870480 win 2935 <nop,nop,timestamp 525781224 
26025>: BGP (NOTIFICATION: error Cease, subcode Administrative Shutdown, 
Shutdown Communication [len 18]: "bgpd shutting down") (DF) [tos 0xc0] [ttl 1] 
(id 31525, len 92)
02:51:51.613349 192.168.215.12.179 > 192.168.215.10.59227: F [bad tcp cksum 
2f8f! -> 2e25] 113:113(0) ack 1870480 win 2986 <nop,nop,timestamp 525781224 
26025> (DF) [tos 0xc0] [ttl 1] (id 65489, len 52)
02:51:51.613574 192.168.215.10.59227 > 192.168.215.12.179: P [tcp sum ok] 
1870480:1870791(311) ack 73 win 229 <nop,nop,timestamp 26027 525781224>: BGP 
[|BGP] (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 29608 6453 6453 6453 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (MULTI_EXIT_DISC[O] 12)
                (COMMUNITIES[OT] 6453:50 6453:2000 6453:2200 6453:2204 
29608:30100))
                (NLRI: 1.186.149.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 8758 8220 6453 55644 45769)
                (NEXT_HOP[T] 192.168.215.10)
                (COMMUNITIES[OT] 8220:65030 8220:65401 8758:110 8758:300))
                (NLRI: 1.186.149.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 4777 2497 6453 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.149.0/24))
        (UPDATE: (Path attributes: (ORIGIN[T] IGP)
                (AS_PATH[T] 65000 22652 6453 55644 45769)
                (NEXT_HOP[T] 192.168.215.10))
                (NLRI: 1.186.149.0/24)) (DF) (ttl 64, id 50626, len 363)
02:51:51.613897 192.168.215.12.179 > 192.168.215.10.59227: R [bad tcp cksum 
2f83! -> 3532] 645938359:645938359(0) win 0 (DF) (ttl 64, id 17735, len 40)
02:51:51.615300 192.168.215.10.59227 > 192.168.215.12.179: . [tcp sum ok] 
1870791:1870791(0) ack 113 win 229 <nop,nop,timestamp 26027 525781224> (DF) 
(ttl 64, id 50627, len 52)

I can send or upload the whole pcap (about 2 MB) if you want


-----Message d'origine-----
De : Stuart Henderson <s...@spacehopper.org> 
Envoyé : jeudi 26 avril 2018 22:15
À : BRAND Arnaud <arnaud.br...@md6.fr>
Cc : bugs@openbsd.org
Objet : Re: OpenBGPD crashing with stubarea51 test

On 2018/04/26 19:29, arnaud.br...@md6.fr wrote:
> I wanted to try OpenBGPD performance regarding loading full tables.
> So I setup a new OpenBSD VirtualBox VM on my laptop.
> First, 6.3 then 6.2 to double check I get the same results.
> Another VM is setup from the ova found on stubarea51 :
> http://www.stubarea51.net/2016/01/21/
> 
> When running the test (stuabarea51 VM sending full tables), the 
> OpenBGPD deamon stops and says "peer closed ismg connection".
> 
> I tried with various full tables included in the stubarea51 VM.
> It always crashes without further explanation.

...

> neighbor 192.168.215.10 (BGP-VM): bad ASPATH, path invalidated and 
> prefix withdrawn .... some hundreds times ....
> neighbor 192.168.215.10 (BGP-VM): bad ASPATH, path invalidated and 
> prefix withdrawn peer closed imsg connection peer closed imsg 
> connection
> main: Lost connection to RDE

Can you "tcpdump -i <port> -s1500 -w /tmp/bgp.pcap port 179" then run "tcpdump 
-r /tmp/bgp.pcap -nvv" and show the last messages from before it crashes?

Reply via email to