CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2019/10/08 04:04:36
Modified files: usr.sbin/rpki-client: Makefile extern.h main.c output-bgpd.c roa.c tal.c validate.c Added files: usr.sbin/rpki-client: output-json.c Log message: Rewrite the output handling of rpki-client and add an option to dump the data in JSON format. To make the JSON output the same as the output of the RIPE rpki-validator the basename of the TAL had to be added and passed around in rpki-client. Additinally the VRPs are now stored in an RB tree in the main process instead of keeping them per ROA object. This changes the sort order to be in network order and no longer just lexographical. Agreed by job@ deraadt@