summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAcee Lindem <acee@lindem.com>2024-04-19 15:33:20 +0000
committerAcee Lindem <acee@lindem.com>2024-04-25 16:20:50 +0000
commit3b7572306156a0800dd34dff33a25bfe894d7e19 (patch)
tree9da0e84afcf5fd284d02f4a431e9322f205a526c /doc
parent8e7fb950c13779d700fa79f82423bfcb64974b39 (diff)
ospfd: OSPFAPI Server options to limit to local connections and per-instance TCP
This commit include OSPFAPI Server options to: 1. Allow specification of the OSPFAPI server local address. 2. Allow different OSPFAPI server TCP ports to be specified for different OSPF instances in /etc/services. Signed-off-by: Acee Lindem <acee@lindem.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/ospfd.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/ospfd.rst b/doc/user/ospfd.rst
index 47f8fad17b..1d3b1ccb7f 100644
--- a/doc/user/ospfd.rst
+++ b/doc/user/ospfd.rst
@@ -28,6 +28,12 @@ Configuring OSPF
Enable the OSPF API server. This is required to use ``ospfclient``.
+.. option:: -l, --apiserver_addr <address>
+
+ Specify the local IPv4 address to which to bind the OSPF API server socket.
+ If unspecified, connections are accepted to any address. Specification of
+ 127.0.0.1 can be used to limit socket access to local applications.
+
*ospfd* must acquire interface information from *zebra* in order to function.
Therefore *zebra* must be running before invoking *ospfd*. Also, if *zebra* is
restarted then *ospfd* must be too.