From bcf2327425d4dd96f381b87501cccf943bed606e Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Fri, 27 Oct 2023 17:11:06 +0200 Subject: [PATCH] BGP: Send hold timer Implement BGP Send hold timer according to draft-ietf-idr-bgp-sendholdtimer. The Send hold timer drops the session if the neighbor is sending keepalives, but does not receive our messages, causing the TCP connection to stall. --- doc/bird.sgml | 17 +++++++++++++++++ proto/bgp/bgp.c | 35 ++++++++++++++++++++++++++++++++++- proto/bgp/bgp.h | 6 +++++- proto/bgp/config.Y | 5 ++++- proto/bgp/packets.c | 17 ++++++++++++++++- 5 files changed, 76 insertions(+), 4 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 10c6f121..8834c1cb 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -3157,6 +3157,23 @@ using the following configuration parameters: negotiation. If the proposed hold time would lead to a lower value of the keepalive time, the session is rejected with error. Default: none. +