summaryrefslogtreecommitdiff
path: root/proto/rpki/rpki.h
diff options
context:
space:
mode:
authorJob Snijders <job@fastly.com>2024-02-22 14:58:29 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2024-02-22 14:58:29 +0100
commite2728c8078161d9811d6c24a11e4c95efd1c9313 (patch)
treedec57ce2fd056566cc4d3ca4e7e1977358e4ea96 /proto/rpki/rpki.h
parent2d0652dd1088395c50df8fe1a99f1111b44688c6 (diff)
RPKI: Add 'local address' configuration option
Allow to explicitly configure the source IP address for RPKI-To-Router sessions. Predictable source addresses are useful for minimizing the holes to be poked in ACLs. Changed from 'source address' to 'local address' by committer.
Diffstat (limited to 'proto/rpki/rpki.h')
-rw-r--r--proto/rpki/rpki.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rpki/rpki.h b/proto/rpki/rpki.h
index 8a5c38fd..e67eb0e3 100644
--- a/proto/rpki/rpki.h
+++ b/proto/rpki/rpki.h
@@ -116,6 +116,7 @@ struct rpki_proto {
struct rpki_config {
struct proto_config c;
const char *hostname; /* Full domain name or stringified IP address of cache server */
+ ip_addr local_ip; /* Source address to use */
ip_addr ip; /* IP address of cache server or IPA_NONE */
u16 port; /* Port number of cache server */
struct rpki_tr_config tr_config; /* Specific transport configuration structure */