]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Store BGPsec certs info, print at configured output
authorpcarana <pc.moreno2099@gmail.com>
Fri, 19 Jul 2019 17:04:26 +0000 (12:04 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Fri, 19 Jul 2019 17:04:26 +0000 (12:04 -0500)
commit9c2d087305da685af1ae67004bdcc6effd0d1c48
tree6b78cafa9081f246b6e704f29c4f383a9a2dd590
parent5933cd8c492f07bff8e761fa90e7c0424e67e9b6
Store BGPsec certs info, print at configured output

-Use struct 'router_key' to represent BGPsec certificates.
-Use reference count of Subject Key data (ID and public key) with 'sk_info' struct.
-Add router certificates info to local DB, as part of the refactor 'roa_table' was renamed to 'db_table'.
-Add configuration parameter 'output.bgpsec', the information is printed in hexadecimal representation (there's a TODO here: maybe encode and print as base64).
-Consider BGPsec keys in deltas.
-Use a constant for SKI length, since always is the same (20 bytes/octets).
28 files changed:
src/Makefile.am
src/config.c
src/config.h
src/object/bgpsec.c
src/object/bgpsec.h
src/object/certificate.c
src/object/router_key.c [new file with mode: 0644]
src/object/router_key.h
src/output_printer.c
src/output_printer.h
src/rtr/db/db_table.c [new file with mode: 0644]
src/rtr/db/db_table.h [new file with mode: 0644]
src/rtr/db/delta.c
src/rtr/db/delta.h
src/rtr/db/roa_table.c [deleted file]
src/rtr/db/roa_table.h [deleted file]
src/rtr/db/vrps.c
src/rtr/pdu_sender.c
src/rtr/pdu_sender.h
src/slurm/slurm_loader.c
src/slurm/slurm_loader.h
src/validation_handler.c
src/validation_handler.h
test/Makefile.am
test/impersonator.c
test/rtr/db/db_table_test.c [moved from test/rtr/db/roa_table_test.c with 92% similarity]
test/rtr/db/vrps_test.c
test/rtr/pdu_handler_test.c