0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-19 02:18:43 +00:00
bird/proto/rpki
Pavel Tvrdík 4cf229a0b5 RPKI protocol with integrated RTRLib inside
Add the RPKI protocol (RFC 6810) using the RTRLib
(http://rpki.realmv6.org/) that is integrated inside
the BIRD's code.

Implemeted transports are:
 - unprotected transport over TCP
 - secure transport over SSHv2

The code should work properly with one cache server per protocol.

A compilation has to be hacked with:
  $ ./configure LIBS='-lssh' ...

Example configuration of bird.conf:
  ...
  roa table roatable;

  protocol rpki {
      roa table roatable;
      cache "rpki-validator.realmv6.org";
  }

  protocol rpki {
    roa table roatable;
    cache "localhost" {
      port 2222;
      ssh encryption {
        bird private key "/home/birdgeek/.ssh/id_rsa";
        cache public key "/home/birdgeek/.ssh/known_hosts";
        user "birdgeek";
      };
    };
  }
  ...

TODO list:
 - load libssh2 using dlopen
 - support more cache servers per protocol
2015-12-17 18:33:16 +01:00
..
config.Y RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
Doc RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
Makefile RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
packets.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
packets.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
rpki.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
rpki.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
rtr.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
rtr.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
ssh_transport.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
ssh_transport.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
tcp_transport.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
tcp_transport.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
transport.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
transport.h RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00