Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: bgpd: allow quick open on startup
To:
tech@openbsd.org
Date:
Thu, 23 Jul 2026 13:18:50 +0200

Download raw body.

Thread
On Thu, Jul 23, 2026 at 11:21:30AM +0100, Tom Smyth wrote:
> Hi Claudio,
> 
> pardon my ignorance does the changes around  does this mean that when
> starting up after a reboot bgp sessions will restart quicker  ?

Not really, it should result in the same behaviour as before.
The moment you boot up connections will be accepted but we will open
connections only after a short 5sec delay.
 
> I see a delay of about 2 -3 minutes wait  when patching boxes before the
> BGP sessions restart after the box has booted?

This really depends on the remote peer. Also does it take 2-3min before
the session is established or 2-3min until routes have settled.
If you rapidly reboot a system multiple times then the IdleHold timer will
punish your constant flaps and delay connects. For a single reset
connections should reestablish more or less instantly.
 
With log verbose you should see connection atempts from peers that are in
state idle. Also show neig X timer is good to see which timers are
running and for how long.

-- 
:wq Claudio