]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_network.c
bgpd: Set TCP_MD5 for outgoing connections when `password` is set
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 22 Mar 2023 13:17:30 +0000 (15:17 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 22 Mar 2023 13:55:38 +0000 (15:55 +0200)
commit280400847481529b101b2320c3b9833a07c94245
treee4a472e205fd9f80b7b23c2a27dbce4e9199d00f
parente1957bcd04da53022b78ec576eb9db088d120909
bgpd: Set TCP_MD5 for outgoing connections when `password` is set

If configuring `neighbor password` under VRF (not default), the session
will never be established.

Before setting TCP_MD5 for the connection fd, we need to enable this on the
accept direction as well (listener).

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_network.c