Commit Graph
141 Commits
Author SHA1 Message Date
Tim Bruijnzeels b2173f88f6 Move show stale publishers to /api/v1. (#177) 2020-01-21 11:29:18 +01:00
Tim Bruijnzeels 14025c566f Add endpoints for seeing issues with all, or specific, cas. (#175) 2020-01-21 09:53:38 +01:00
Tim Bruijnzeels a0c6ab8404 Improve prometheus stats and provide CLI option. (#176) 2020-01-17 17:32:19 +01:00
Tim Bruijnzeels 22dcad036a Add API endpoint and CLI option for listing publishers stale for X seconds. (closes: #177) 2020-01-17 15:16:26 +01:00
Tim Bruijnzeels dcccd3c304 Add prometheus stats for the CAs. (#176) 2020-01-16 16:46:13 +01:00
Tim Bruijnzeels a03761fef6 Add prometheus stats for the embedded repository. (#176) 2020-01-14 11:34:59 +01:00
Tim Bruijnzeels 31d43190ab Remove unsafe unwraps in argument parsing of CLI. (fixes #178) 2020-01-10 14:47:28 +01:00
Tim Bruijnzeels 96431f3779 Improve config file issue reporting, hint that --config should be used. (closes: #123) 2020-01-10 09:50:48 +01:00
Tim Bruijnzeels 14ed737b4e Let users generate a config file using 'krillc config'. (Fixes: #167) 2020-01-09 16:10:14 +01:00
Tim Bruijnzeels 5a220b28aa Only log significant RFC 6492 and RFC 8181 exchanges. (fixes: #172) 2020-01-07 16:58:01 +01:00
Tim Bruijnzeels be0d5994de Allow localhost in TEST only. (closes: #171) 2020-01-07 14:33:12 +01:00
Tim Bruijnzeels 22cb098094 Disable repository by default. (#170) 2020-01-07 13:49:23 +01:00
Tim Bruijnzeels 1758506b59 Check that parent can be reached before adding or updating it. (#163) 2019-12-18 15:00:04 +01:00
Tim Bruijnzeels 454e648b44 Return proper error when view the repository config or state. 2019-12-18 12:47:11 +01:00
Tim Bruijnzeels 41763d68b8 Adding configurable limits for RFC 8181 and RFC 6492. (#158) 2019-12-18 12:20:12 +01:00
Tim Bruijnzeels 2f5b9f9c64 Add post size limit to api json (#158) 2019-12-18 11:23:54 +01:00
Tim Bruijnzeels f52ae43e91 Remove logins and cookies as they are not required by Lagosta. 2019-12-18 11:23:54 +01:00
ximon18andGitHub bcf4031fe1 Quick PoC hack to support uploading more children resources. 2019-12-17 17:02:18 +01:00
Tim Bruijnzeels 593bf7a35d Let user specify a repository before adding a parent #160 2019-12-17 16:56:19 +01:00
Tim Bruijnzeels 456d6aa01d Only allow valid max length values when adding roas. (fixes: #153) 2019-12-12 15:07:16 -03:00
Tim Bruijnzeels 8442211754 Use rpki-rs branch with resource-set fixes. (#152) 2019-12-12 08:54:17 -03:00
Tim Bruijnzeels 128e5038b9 Temporary workaround: do not check whether child resources are contained by parent. (#152) 2019-12-11 21:08:31 -03:00
Tim Bruijnzeels 0ac3f9d6bf Also report full set of child resources (not intersection) on entitlements, as a workaround (#152) 2019-12-11 20:56:14 -03:00
Tim Bruijnzeels 7ecf8d6912 Temporary workaround for ResourceSet::intersection, only works for single parent CAs. (#152) 2019-12-11 20:33:03 -03:00
Tim Bruijnzeels 33feafe807 Use new repo URI on manifests when changing to a new repository. (#150) 2019-12-02 12:05:12 +01:00
Tim Bruijnzeels a6e43c5c03 Add ID cert PEM and hash to CertAuthInfo (closes #149) 2019-11-29 14:14:22 +01:00
Tim Bruijnzeels a3c77d098b Save commands with effects (events or errors). (Closes #142) 2019-11-29 12:43:56 +01:00
Tim Bruijnzeels 28252aa6ba Log RFC 8181 messages received by the repository and their replies. (#143) 2019-11-28 21:04:37 +01:00
Tim Bruijnzeels fab91b64e1 Log RFC 6492 and 8181 messages sent by CAs and their replies. (#143) 2019-11-28 21:04:37 +01:00
Tim Bruijnzeels 59285be05e Log received RFC6492 messages and replies. (#143) 2019-11-28 21:04:37 +01:00
Tim Bruijnzeels 32e3cdb2f5 Log info about which config file was used, after initialising logging. 2019-11-28 13:45:27 +01:00
Tim Bruijnzeels b895dda6cb Rename use_ssl to https_mode. (fixes: 94) 2019-11-28 13:36:41 +01:00
Tim Bruijnzeels 491fdb9a4f Re-introduce option to use syslog for logging. (#121) 2019-11-28 13:13:32 +01:00
Tim Bruijnzeels b24ac3d806 Rename /api/v1/health to /api/v1/authorized which reflects more appropriately what it does. (#141) 2019-11-28 11:11:37 +01:00
Tim Bruijnzeels 1e0b2e64e5 Add end-point for getting the RFC8183 Parent Response as XML and json. (#141) 2019-11-28 10:04:08 +01:00
Tim Bruijnzeels 8f7e6d4fcc Add end-point for getting the RFC8183 Publisher Request as XML. (#141) 2019-11-27 16:43:29 +01:00
Tim Bruijnzeels da889f29e9 Add end-point for getting the RFC8183 Child Request as json. (#141) 2019-11-27 16:30:49 +01:00
Tim Bruijnzeels ff6267b9cc Add end-point for getting the RFC8183 Repository Response as json. (#141) 2019-11-27 16:30:07 +01:00
Tim Bruijnzeels da451ccbeb Return repository response as json when adding a publisher. (#141) 2019-11-27 14:26:13 +01:00
Tim Bruijnzeels 93c6cb5b81 Separate repo config and state endpoints. (#141) 2019-11-27 10:53:00 +01:00
Tim Bruijnzeels a2b2a811e7 Use explicit .xml for child_request xml end point. (#141) 2019-11-27 09:16:12 +01:00
Tim Bruijnzeels d163a85815 Add config option to override RRDP uri. (closes: #147) 2019-11-26 21:43:27 +01:00
Tim Bruijnzeels 65b61f5485 Show names of key states in CertAuthInfo json. (#141) 2019-11-26 16:11:55 +01:00
Tim Bruijnzeels 1ffb01b554 Fix inconsistency in path routing. (#141) 2019-11-26 15:12:18 +01:00
Tim Bruijnzeels e82a9b98f2 Use "externally tagged" (default) and "snake_case" for all enum serializations. (#141) 2019-11-26 15:08:09 +01:00
Tim Bruijnzeels 8f63797e80 Better error reporting when trying to show info for unknown child (#141) 2019-11-25 16:58:00 +01:00
Tim Bruijnzeels 53ac8cd0ed Return error when trying to remove unknown parent. (#141) 2019-11-25 16:45:07 +01:00
Tim Bruijnzeels 9bdc3f2dfa Better error reporting for showing parent contact. (#141) 2019-11-25 16:30:50 +01:00
Tim Bruijnzeels 1d2f4aa38d Better error reporting when updating a repository for a CA. (#141) 2019-11-25 16:13:53 +01:00
Tim Bruijnzeels 9ec9283af0 Show specific error when showing info for unknown CA. (#141) 2019-11-25 15:12:23 +01:00