On Tue, Jun 12, 2018 at 01:54:07AM +0000, Arvin Gan wrote:
> Hi all,
> 
>      When I used bird, found a question that BGP session received OPEN
> message, hold_time is updated with min(config_hold_time, peer_hold_time),
> but keepalive_time is not updated if keepalive_time is not zero,  that
> maybe cause keepalive_time is more than  the updated hold_time after
> received OPEN message.
> 
> Line 702 in packets.cc for bgp protocol :
>     conn->keepalive_time = p->cf->keepalive_time ? : conn->hold_time / 3;

That is true, but the answer is just to not configure keepalive time to
too short values (or better not configure it at all).

It is not clear what to do when user configured explicit keepalive
time which is too short w.r.t. negotiated hold time.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Reply via email to