On Tue, Sep 18, 2018 at 07:12:39PM +0000, Aaron A. Glenn wrote: > > Experiencing an odd issue with only IPv6 sessions, on snapshots from Sept. 9th > or later. I have 46 other instances running snapshots from Aug 30th to Sept. > 3rd with IPv6 sessions working as expected. > > Please let me know what, if any, additional information can be provided. > > Sep 18 19:06:10 nairobi bgpd[92056]: startup > Sep 18 19:06:10 nairobi bgpd[92056]: rereading config > Sep 18 19:06:10 nairobi bgpd[97583]: route decision engine ready > Sep 18 19:06:10 nairobi bgpd[99160]: session engine ready > Sep 18 19:06:10 nairobi bgpd[99160]: listening on 0.0.0.0 > Sep 18 19:06:10 nairobi bgpd[99160]: listening on :: > Sep 18 19:06:10 nairobi bgpd[99160]: SE reconfigured > Sep 18 19:06:10 nairobi bgpd[99160]: neighbor 2xxxx:xxxx::4 (nbo-v6): state > change None -> Idle, reason: None > Sep 18 19:06:10 nairobi bgpd[99160]: neighbor 2xxxx:xxxx::4 (nbo-v6): state > change Idle -> Connect, reason: Start > Sep 18 19:06:10 nairobi bgpd[97583]: change to/from route-collector mode > ignored > Sep 18 19:06:10 nairobi bgpd[97583]: RDE reconfigured > Sep 18 19:06:10 nairobi bgpd[97583]: running softreconfig in > Sep 18 19:06:10 nairobi bgpd[99160]: neighbor 2xxxx:xxxx::4 (nbo-v6): state > change Connect -> OpenSent, reason: Connection opened > Sep 18 19:06:10 nairobi bgpd[97583]: RDE soft reconfiguration done > Sep 18 19:06:10 nairobi bgpd[99160]: neighbor 2xxxx:xxxx::4 (nbo-v6): state > change OpenSent -> OpenConfirm, reason: OPEN message received > Sep 18 19:06:10 nairobi bgpd[99160]: neighbor 2xxxx:xxxx::4 (nbo-v6): state > change OpenConfirm -> Established, reason: KEEPALIVE message received > Sep 18 19:06:10 nairobi bgpd[97583]: neighbor 2xxxx:xxxx::4 (nbo-v6): sending > IPv6 unicast EOR marker > Sep 18 19:06:12 nairobi bgpd[97583]: neighbor 2xxxx:xxxx::4 (nbo-v6): bad > ASPATH, path invalidated and prefix withdrawn > Sep 18 19:06:12 nairobi last message repeated 157 times > Sep 18 19:06:12 nairobi bgpd[92056]: peer closed imsg connection > Sep 18 19:06:12 nairobi bgpd[99160]: peer closed imsg connection > Sep 18 19:06:12 nairobi bgpd[99160]: SE: Lost connection to RDE > Sep 18 19:06:12 nairobi bgpd[99160]: peer closed imsg connection > Sep 18 19:06:12 nairobi bgpd[99160]: SE: Lost connection to RDE control > Sep 18 19:06:12 nairobi bgpd[92056]: main: Lost connection to RDE > Sep 18 19:06:12 nairobi bgpd[92056]: session engine terminated; signal 11 > Sep 18 19:06:12 nairobi bgpd[92056]: route decision engine terminated; signal > 11 > Sep 18 19:06:12 nairobi bgpd[92056]: terminating > > > > nairobi# sysctl kern.version > kern.version=OpenBSD 6.4-beta (GENERIC.MP) #301: Tue Sep 18 08:25:16 MDT 2018 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > nairobi# bgpd -nv > ASN = "57335" > AS 57335 > router-id 203.0.113.42 > socket "/var/run/bgpd.sock.0" > socket "/var/www/run/bgpd.rsock" restricted > holdtime min 3 > route-collector yes > fib-priority 48 > > prefix-set "anycast" { > 2a0c:d2c0::/29, 185.203.204.0/22 > } > > prefix-set "bogons" { > 0.0.0.0/8, 10.0.0.0/8 > 100.64.0.0/10, 127.0.0.0/8 > 169.254.0.0/16, 172.16.0.0/12 > 192.0.2.0/24, 192.88.99.0/24 > 192.168.0.0/16, 198.18.0.0/15 > 198.51.100.0/24, 203.0.113.0/24 > 224.0.0.0/4, 240.0.0.0/4 > ::/8, 100::/64 > 2001:2::/48, 2001:10::/28 > 2001:db8::/32, 2002::/16 > 3ffe::/16, fc00::/7 > fe80::/10, fec0::/10 > ff00::/8 > } > > network 2a0c:d2c0::/48 > network 185.203.204.0/23 > > rde rib Adj-RIB-In no evaluate > rde rib Adj-RIB-Out no evaluate > rde rib Loc-RIB rtable 0 fib-update no > > dump table-v2 "/tmp/table-%Y-%m-%d" 1440 > dump updates in "/tmp/updates-%Y-%m-%d-%H%M" 300 > > group "AS37684" { > neighbor 2xxx:xxxx::4 { > descr "nbo-v6" > remote-as 37684 > multihop 5 > local-address 2xxx:xxxx::1:0:115:93 > enforce neighbor-as yes > enforce local-as yes > announce IPv6 unicast > > } > } > > match to ebgp prefix-set "anycast" set { large-community 57335:1:1 } > allow to ebgp prefix-set "anycast" large-community 57335:1:1 > deny quick from ebgp prefix-set "anycast" or-longer > allow from ibgp > allow to ibgp > match from ebgp set { community delete 57335:* } > match from ebgp set { large-community delete 57335:*:* } > allow from any prefix 0.0.0.0/0 prefixlen 8 - 24 > allow from any prefix ::/0 prefixlen 16 - 48 > match from any community 65535:0 set { localpref 0 } > deny quick from any prefix-set "bogons" or-longer > deny quick from any AS 23456 > deny quick from any AS 64496 - 131071 > deny quick from any AS 4200000000 - 4294967295 > deny from any max-as-len 100 >
Can you try a later snapshot? The 9. Sept was right in the middle of n2k18 and it could be that this is just an unlucky snapshot with something that is already fixed. If that does not help Stuart Henderson's mail has good instructions. If you can get a backtrace for the RDE process crashing that would be very helpful for me. One way of doing that is to attach gdb to the running process or to get a core dump with kern.nosuidcoredump=3 set (and mkdir /var/crash/bgpd) -- :wq Claudio
