0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-07 01:21:54 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Pavel Tvrdík
27d7aae89f RPKI: Add the basis for manager 2016-01-06 16:04:48 +01:00
Pavel Tvrdík
a3cc5d7697 RPKI: Fix a compilation 2015-12-23 15:31:00 +01:00
Pavel Tvrdík
e138152c6f RPKI: move rtr_change_socket_state() to proto/rpki/rtr.c 2015-12-23 15:09:12 +01:00
Pavel Tvrdík
19b23a8b92 RPKI: load SSH Library using dlopen function 2015-12-23 15:09:11 +01:00
Pavel Tvrdík
82804d6add RPKI: miscellaneous small changes 2015-12-23 15:09:07 +01:00
Pavel Tvrdík
47101e2ba5 RPKI: Update doc and comments 2015-12-23 15:09:01 +01:00
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