]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_rpki.c
bgpd: add rpki source address configuration
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 2 Sep 2021 15:12:06 +0000 (17:12 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 2 Sep 2021 16:16:47 +0000 (18:16 +0200)
commit7253a7bcd82e36e5be9447471b97b7686716df5e
tree7584fed56b949e055819b2d320e69a2d9ba9fb33
parent3e324ff41921c719de3aabc4136546828416532f
bgpd: add rpki source address configuration

Add the ability to configure the source address of rpki
connection. Proposed vty command is to add below parameter:

rpki cache <address> source <bindaddr> <port> preference <pref>
rpki cache <address> source <bindaddr> <port> <usernamessh> ...

This works for both tcp and ssh connections. In case the source
address is not available yet, the rpki retry interval will retry
in a defined amount of time.

Rtrlib library is the library in charge of the binding of the
tcp/ssh connection, and applies the getaddrinfo() and bind()
operations to the passed parameter bindaddr to the respective
tcp_config/ssh_config structures.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_rpki.c
doc/user/rpki.rst