From ffda86a34da2f1462840943224e96698932744d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Tue, 22 Dec 2015 09:44:54 +0100 Subject: [PATCH] RPKI: Add a documentation --- doc/bird.sgml | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ proto/rpki/Doc | 2 +- 2 files changed, 92 insertions(+), 1 deletion(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 86df0456..192013a9 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -3485,6 +3485,97 @@ protocol rip { } +RPKI + +

The Resource Public Key Infrastructure (RPKI) to Router Protocol (RFC 6810) +is a simple but reliable mechanism to receive Resource Public Key +Infrastructure (RFC 6480) prefix origin data from a trusted cache. + +It is possible to configure only one cache server per protocol yet. + + +protocol rpki [<name>] { + roa table <name>; + cache <ip> | "<domain>" { + port <num>; + ssh encryption { + bird private key "</path/to/id_rsa>"; + cache public key "</path/to/known_host>"; + user "<name>"; + }; + }; +} + + +RPKI protocol options + + roa table + Specifies the roa table into which will import the routes from cache. + This option is required. + + cache + Specifies a destination address of the cache server. + Can be specified by an IP address or by full domain name. + By default there is no encryption in transport. + Only one cache can be specified per protocol. + + +Cache options + + port + Specifies the port number. + The default port number is 8282 for transpoert without any encryption + and 22 for transport with SSH encryption. + + ssh encryption { + This enables a SSH encryption. + + +SSH encryption options + + bird private key " + A path to the BIRD's private SSH key for authentication. + It can be a cache public key " + A path to the cache's public SSH key for verification identity + of the cache server. It could be a user " + A SSH user name for authentication. This option is a required. + + +Examples +

A simple configuration without transport encryption: + +roa table my_roa_table; +protocol rpki { + debug all; + roa table my_roa_table; + + cache "rpki-validator.realmv6.org"; +} + + +

A configuration using SSHv2 transport encryption: + +roa table my_roa_table; +protocol rpki { + debug all; + roa table my_roa_table; + + cache 127.0.0.1 { + port 2345; + ssh encryption { + bird private key "/home/birdgeek/.ssh/id_rsa"; + cache public key "/home/birdgeek/.ssh/known_hosts"; + user "birdgeek"; + }; + }; +} + + + Static diff --git a/proto/rpki/Doc b/proto/rpki/Doc index 3ffa7cb0..5c7aa571 100644 --- a/proto/rpki/Doc +++ b/proto/rpki/Doc @@ -1 +1 @@ -C rpki.c +S rpki.c