1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

Add documentation.

This commit is contained in:
Martin Hoffmann
2019-02-12 14:08:36 +01:00
parent c6108e574d
commit 4abc116e3d

View File

@ -312,7 +312,7 @@ Routinator supports both protocol version 0 defined in RFC 6810 and version
1 defined in RFC 8210. However, it does not support router keys introduced
in version 1.
.TP
.BI \-l\ addr:port\fR, \ \-\-listen= addr:port
.BI \-l\ addr:port\fR,\ \fB\-\-listen=\fIaddr:port
Specifies the local address and port to listen on for incoming RTR
connections. IPv6 addresses must be enclosed in square brackets. You can
provide the option multiple times to let Routinator listen on multiple
@ -324,6 +324,15 @@ Note how this is a localhost address for security reasons. We also don't
use the standard RTR port 323 as this is a privileged port that would
require Routinator to be run as root or otherwise receive permission which
otherwise isn't necessary at all.
.TP
.BI \-\-listen\-http= addr:port
Specifies the address and port to listen on for incoming HTTP connections.
See
.B HTTP SERVICE
below for more information on the HTTP service provided by Routinator.
.IP
If this option is omitted, no HTTP service will be provided.
.TP
.BI \-\-refresh= seconds
The amount of seconds the server should wait after having finished updating
@ -555,6 +564,35 @@ process.
A string value containing the path any daemon process should use as its
root directory.
.SH HTTP SERVICE
When run in
.B rtrd
mode, Routinator can provide an HTTP service in addtion to the RTR service.
The primary intention of this service is to allow integration into
monitoring systems. The service only supports GET requests with the following
paths:
.TP
.B /csv
Returns the current set of VRPs in
.B csv
output format.
.TP
.B /json
Returns the current set of VRPs in
.B json
output format.
.TP
.B /openbgpd
Returns the current set of VRPs in
.B openbgpd
output format.
.TP
.B /rpsl
Returns the current set of VRPs in
.B rpsl
output format.
.SH RELAXED VALIDATION
The documents defining RPKI include a number of very strict rules
regarding the formatting of the objects published in the RPKI repository.