0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00
bird/sysdep/unix
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 Implement latency tracking, internal event log and watchdog 2015-03-02 09:41:14 +01:00
Doc Documented all the sysdeps (only briefly, I admit). 2000-06-05 12:49:04 +00:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c RPKI protocol with integrated RTRLib inside 2015-12-17 18:33:16 +01:00
krt.c Nest: Fix bug in device proto 2015-11-23 11:13:40 +01:00
krt.h Nest: Fix bug in device proto 2015-11-23 11:13:40 +01:00
krt.Y BGP multipath support 2015-06-08 02:24:08 +02:00
log.c Add const to a param msg at functions log_msg, log_rl, die, bug and debug 2015-02-21 19:32:57 +01:00
main.c Conf: Fixes bug in symbol lookup during reconfiguration 2015-11-09 00:42:02 +01:00
Modules Cleanup in sysdep KRT code, part 2. 2012-04-30 22:25:24 +02:00
random.c Split random number functions off io.c, so that they can be documented 2000-06-05 11:46:40 +00:00
timer.h Fininshing integrated OSPF. 2014-11-03 10:42:55 +01:00
unix.h unsigned [int] -> uint 2015-06-08 02:24:08 +02:00