Commit Graph
284 Commits
Author SHA1 Message Date
Tim Bruijnzeels b056eb1ebd Reset session if publication server needed to recover. (#339) 2020-11-09 15:46:52 +01:00
Tim Bruijnzeels e966991e2c Fix tests. 2020-11-09 12:31:05 +01:00
Tim Bruijnzeels 3bb70bdbe3 Allow creating redundant ROAs (#341) 2020-11-05 16:15:49 +01:00
Tim Bruijnzeels 3c85407c1e Allow overlapping AS0 ROAs, suggest to remove redundant AS0 ROAs. (#342) 2020-11-04 10:45:19 +01:00
Tim Bruijnzeels db0d34e23f Give a clear error in case Krill cannot bind to server address and port (#337) 2020-10-27 09:33:24 +01:00
Tim Bruijnzeels 7686072c01 Always use testbed mode for testing. 2020-10-26 16:09:42 +01:00
Tim Bruijnzeels 506b6a9d05 Add option to force 'recover' on startup (#333) 2020-10-19 14:00:55 +02:00
Tim Bruijnzeels 0cd409cf00 Fix timing issue in functional test. 2020-10-15 16:42:26 +02:00
Tim Bruijnzeels 0cea717326 Don't archive old commands on start up as it takes too long. (#326) 2020-10-09 11:50:47 +02:00
Tim Bruijnzeels 6692efa446 Update KeyStoreVersion to have 0.8.0-rc1. 2020-10-09 11:00:41 +02:00
Tim Bruijnzeels 5f21de171a Also check aggregated ROA changes when publishing!!! (fixes: #327) 2020-10-09 10:18:27 +02:00
Tim Bruijnzeels fb85f21122 Fix clippy for Rust 1.47 warnings. 2020-10-08 16:46:04 +02:00
Tim Bruijnzeels e9d01c6b08 Reject parent XML if it is already in use. (#325) 2020-10-08 15:37:47 +02:00
Tim Bruijnzeels 2a59646a2d Don't expect 'rtas' to be present. Don't include it if it's empty. 2020-10-06 21:25:36 +02:00
Tim Bruijnzeels 2788373048 Archive old commands at startup, just before stopping if KRILL_UPGRADE_ONLY is set. 2020-10-06 20:23:16 +02:00
Tim Bruijnzeels ce978dc2e2 Silence tracing::span under trace logging. 2020-10-06 16:02:12 +02:00
Tim Bruijnzeels ad8dddaf41 Use signed RTA (not just its content) when co-signing an RTA. 2020-10-06 14:58:49 +02:00
Tim Bruijnzeels 7a5919f3e4 Simplify AggregateStore and have simple KeyValueStore for storage concerns only. (#324) 2020-10-06 12:15:36 +02:00
Tim Bruijnzeels 61374949e5 Let StatusStore use simple Key Value store. (#324) 2020-10-02 14:40:26 +02:00
Tim Bruijnzeels 6f9c1b8d89 Remove trait layer for AggregateStore (#324) 2020-10-02 10:20:16 +02:00
Tim Bruijnzeels 7bc6e9eb1c Fix clippy warning. 2020-10-02 09:53:44 +02:00
Tim Bruijnzeels ce8ded8cea Remove old snapshots and dirs after they have become unreferenced for 10 minutes. (#320) 2020-09-30 16:13:21 +02:00
Tim Bruijnzeels 5934882982 Let Krill crash if it can't save its state. (#322) 2020-09-29 11:15:01 +02:00
Tim Bruijnzeels 2217b00a2c Optionally archive old events (#307) 2020-09-29 09:05:46 +02:00
Tim Bruijnzeels e0be452789 Recover state in case cache warmup fails (#314) 2020-09-24 14:16:36 +02:00
Tim Bruijnzeels 46f4ba946f Fix clippy warnings / errors. 2020-09-18 13:35:31 +02:00
Tim Bruijnzeels 156a7d473d Warmup aggregate caches on startup (fail early in case of issues) (#315) 2020-09-17 15:29:47 +02:00
Tim Bruijnzeels 73866376da Resync CAs with their parents and repository (#295) 2020-09-17 14:37:13 +02:00
Tim Bruijnzeels 9e5c2f397b Disallow bare IP addresses in URIs when not using testmode (#319) 2020-09-17 13:30:48 +02:00
Tim Bruijnzeels 31394d3ba0 Cosign RTA (#284) 2020-09-16 16:08:13 +02:00
ximon18andGitHub 203ba20c8e Add testbed mode (#308)
Adds support for a new testbed_enabled boolean flag to configure Krill to permit child/parent CA/repo RFC-8183 relationships to be established by anonymous clients with a CA called testbed and enables a /#/testbed UI page for doing so visually ala other RPKI testbeds such as the APNIC RPKI testbed. Depends on latest Lagosta master/suggestions branches which have the testbed-poc branch already merged in.
2020-09-15 16:30:13 +02:00
Tim Bruijnzeels cba2bb852d Add prep multi-sign RTA to CLI (#284) 2020-09-14 15:36:34 +02:00
Tim Bruijnzeels acd189c486 Prepare keys for multisigned RTA (#284) 2020-09-14 15:08:20 +02:00
Tim Bruijnzeels bc19fb7987 Remember and show (oneoff) RTA. (#284) 2020-09-14 15:08:20 +02:00
Tim Bruijnzeels ef7274bd73 Remove async_trait (#314) 2020-09-07 16:54:57 +02:00
Tim Bruijnzeels 7ec21fb539 Make Signer an explicit enum rather than generic. (#314) 2020-09-07 16:13:15 +02:00
Tim Bruijnzeels ac66275d23 Remove 'async' from Aggregate (#314) 2020-09-04 11:23:20 +02:00
Tim Bruijnzeels f7c611b272 Fix clippy 1.46 warnings. 2020-09-03 14:33:44 +02:00
Tim Bruijnzeels 0b86b86ede Use message digest for RTA. 2020-09-03 09:40:59 +02:00
Tim Bruijnzeels ee0bf66133 Skip BGP analysis for ta and testbed when getting stats. 2020-08-27 15:58:35 +02:00
Tim Bruijnzeels 857aaa3641 Add rejections for wrong AS0 additions 2020-08-27 09:22:37 +02:00
Tim Bruijnzeels 727eeadcb0 Show full entitlements for parent status. (#250) 2020-08-24 14:59:41 +02:00
Tim Bruijnzeels 17588d727a Clean up old repo state code. (#250) 2020-08-20 14:01:15 +02:00
Tim Bruijnzeels 9b46f5ab60 Use tokio::sync::RwLocks everywhere. Fix the message queue consumption. Use async in traits.. 2020-08-19 17:30:54 +02:00
Tim Bruijnzeels abd218a81b Use asynchronous locks to secure write access to CAs and status. (#250) 2020-08-18 11:53:02 +02:00
Tim Bruijnzeels 604fa5d8fb Clean up potentially unsafe unwrap() statements. 2020-08-12 14:20:30 +02:00
Tim Bruijnzeels 3e22e97abc Use persistent storage for tracking the CA to parents and repo status (#250) 2020-08-12 14:20:16 +02:00
Tim Bruijnzeels fe2a8ac8fb Fix typo 2020-08-11 10:54:32 +02:00
Tim Bruijnzeels 6adfe7821e Get repository status through CLI. (#250) 2020-08-11 10:30:02 +02:00
Tim Bruijnzeels 5cbbe2e6ca Get repository status through API. (#250) 2020-08-10 15:21:26 +02:00