Commit Graph
139 Commits
Author SHA1 Message Date
Tim BruijnzeelsandGitHub 20188c7d32 Use a fixed date for testing apnic RFC 6492 2020-08-03 15:11:48 +02:00
Tim Bruijnzeels 5fab2cb712 Don't download BGP Ris dumps if they were checked recently. (#279) 2020-07-06 12:24:11 +02:00
Tim Bruijnzeels 00bad7e5a0 Fix unsafe handling of downloaded RIS dump files, and double check unsafe code elsewhere. 2020-06-28 22:43:34 +02:00
Tim Bruijnzeels 16d18e1ec0 Reduce logging verbosity of BGP announcement refreshing. 2020-06-25 11:25:09 +02:00
Tim BruijnzeelsandGitHub e706465d45 Change roa stale to roa unseen (#267) 2020-06-24 11:43:21 +02:00
Tim Bruijnzeels 3675a3b175 Only list valid announcements under *this* ROA. 2020-06-19 15:17:48 +02:00
Tim Bruijnzeels b6bf3e4548 Merge ROA Authorizing and Disallowing into Seen for BGP analysis (fixes #264) 2020-06-19 12:01:10 +02:00
Tim Bruijnzeels 9b49107d8a Refactor krill env var use, and allow KRILL_TEST_ANN to run krill with test announcements loaded. 2020-06-12 11:41:48 +02:00
Tim Bruijnzeels 6a206fe254 Change notify.xml to notification.xml (#237) 2020-06-10 15:56:25 +02:00
Tim Bruijnzeels b5904c8f8c Add BGP vs ROAs stats to prometheus. (#245) 2020-06-10 12:54:16 +02:00
Tim Bruijnzeels f8e41e305f Prevent the creation of ROAs that are redundant / make other ROAs redundant. (#198) 2020-06-09 17:01:56 +02:00
Tim Bruijnzeels f75bce61e3 Clean up redundant ROAs on upgrade to 0.7.0 (#198) 2020-06-05 11:23:33 +02:00
Tim Bruijnzeels 8f91daecab Add function to clean up redundant ROAs. (#198) 2020-06-04 17:27:22 +02:00
Tim Bruijnzeels 1e4d0954d5 Add ROA centric API end-point for BGP vs ROAs analysis (#242) 2020-06-02 15:17:07 +02:00
Tim Bruijnzeels f4ff7e3d36 Make specific end-point for announcement centric ROA vs BGP analysis. (closes: #241) 2020-05-29 17:06:17 +02:00
Tim Bruijnzeels 3167775f1f Order RoaDefinition and Announcement in API responses. (#233) 2020-05-29 11:46:00 +02:00
Tim Bruijnzeels fc4c063b05 Fix (update) tests. 2020-05-27 22:35:27 +02:00
Tim Bruijnzeels f50f825110 Fix reporting invalid length in BGP analysis. (#233) 2020-05-27 17:26:48 +02:00
Tim Bruijnzeels e574cf09fe Change authoris* to the US spelling of authoriz* for consistency. 2020-05-27 16:06:43 +02:00
Tim Bruijnzeels 6eefebdbdc Show BGP vs ROA analysis in CLI. (#233) 2020-05-27 09:55:24 +02:00
Tim Bruijnzeels 7afbb52eb2 Remove test generating roa table json, which is already tested in analyser.rs 2020-05-25 13:58:16 +02:00
Tim Bruijnzeels 6c5544ad1b Scope BGP-ROA analysis to a ResourceSet. (#233) 2020-05-25 13:18:33 +02:00
Tim Bruijnzeels b4b6c200a1 Analyse ROA vs Announcements (still needs scoping). #233 2020-05-19 17:06:23 +02:00
Tim Bruijnzeels cc8905f5ab Parse RIS Dump files. #232 2020-05-14 15:02:35 +02:00
Tim Bruijnzeels 3d8b40da3b Add regression tests for history grandchildren and remote publication. Use BTreeMap to have consistent ordering. 2020-04-30 17:14:04 +02:00
Tim Bruijnzeels 865b1af5a2 Start of regression test for command history. (#228) 2020-04-29 17:01:52 +02:00
Tim Bruijnzeels 4ac7473c25 Reorganised resources for api regression testing. 2020-04-28 15:02:49 +02:00
Tim Bruijnzeels 92bf798551 Make RFC 8181 and RFC 6492 logging optional. (#226) 2020-04-23 17:06:00 +02:00
Tim Bruijnzeels 73fbd80b29 Clarify error when adding a parent or repo. (closes: #229) 2020-04-23 15:58:04 +02:00
Tim BruijnzeelsandGitHub f7dcc5b0c0 Show paginated command history (Fixes #112) 2020-04-22 16:12:52 +02:00
Tim Bruijnzeels df5c47d030 Formatting 2020-04-01 17:16:04 +02:00
Tim Bruijnzeels 2751d63dc0 Create PID file on startup, allow users to override path in config. (Closes: #215) 2020-03-20 12:33:06 -03:00
Tim Bruijnzeels 5391e06c10 Add timeout to HTTP client - in case connections get stuck. (#189) 2020-03-18 11:01:22 -03:00
Tim Bruijnzeels f30769270e Merge branch 'master' into hyper-https-server 2020-03-16 17:18:35 -03:00
Tim Bruijnzeels e755f0ab65 Merge test modules - cleanup. 2020-03-16 14:55:21 -03:00
Tim Bruijnzeels 04acd3aa4a Improve checking the size of post body. (#189) 2020-03-16 13:04:29 -03:00
Tim Bruijnzeels 4c716c8f09 Use hyper for all of the API - and make lots of stuff async-await as a result. (#189) 2020-03-15 11:55:05 -03:00
Tim Bruijnzeels b9c35bbee6 Add all get methods for the 'publisher' API (#189) 2020-03-10 11:09:47 +01:00
Tim Bruijnzeels e34d28debb Add SSL support to the hyper server. 2020-03-06 16:47:57 +01:00
Tim Bruijnzeels 6c2b05d5b3 Fix to accept self-signed certificates in RFC8183 messages: do not insist that AKI == SKI. 2020-03-02 09:50:24 +01:00
Tim Bruijnzeels fdfad1dcd4 Add TLS support to the hyper server. 2020-03-02 09:09:51 +01:00
Tim Bruijnzeels 8543cb9639 Remove actix-web dependencies, add hyper. (work in progress) 2020-02-25 15:54:35 +01:00
Tim Bruijnzeels 2f5ba2ed13 Return error when CA does not hold resources for child. 2020-02-21 14:45:30 +01:00
Tim Bruijnzeels fd59327fa4 Accept ID certificates that are not self-signed, issue for 15 years. (fixes: #207) 2020-02-19 17:20:10 +01:00
Tim Bruijnzeels 3698cdee7d Fix status code for CA or other resource not found. (fixes: #203) 2020-02-17 16:56:21 +01:00
Tim Bruijnzeels 345493d805 Read pre-RFC8183 parent response when running under ARIN. (closes: 205) 2020-02-17 16:44:13 +01:00
Tim Bruijnzeels ee38cd74f9 Fix clippy warnings under rust 1.41 2020-02-14 15:58:30 +01:00
Tim Bruijnzeels fb46f45338 Allow user to specify trusted HTTPS certificates using env KRILL_HTTPS_ROOT_CERTS. (closes: #195) 2020-02-12 11:47:34 +01:00
Tim Bruijnzeels e6252333e8 Show server info (version and uptime) on API. (#201) 2020-02-11 12:12:01 +01:00
Tim Bruijnzeels 3f0668584a Let users add parent before configuring the repository (but do not request certificates) (closes #199) 2020-02-10 14:04:54 +01:00