Commit Graph
114 Commits
Author SHA1 Message Date
Alex BandandGitHub d21ffdc79c typos and readability 2019-01-07 14:33:46 +01:00
Tim BruijnzeelsandGitHub 6b683e265d Update README.md 2019-01-07 14:10:50 +01:00
Tim Bruijnzeels 06a0fa8845 Updated Readme 2019-01-07 14:09:29 +01:00
Tim BruijnzeelsandGitHub 1d81df1b29 Update README.md 2019-01-04 16:52:06 +01:00
Tim Bruijnzeels 8f7850bb53 Have defaults for everything and update README to show how to configure and run. 2019-01-04 16:45:21 +01:00
Tim BruijnzeelsandGitHub 52e96ebd0a Update README.md 2019-01-04 15:54:33 +01:00
Tim Bruijnzeels 5efc9ccfb7 Updating readme with links to the GitHub resources. 2019-01-04 15:47:31 +01:00
Tim Bruijnzeels 850623d52f Naming the project 'Krill', and restructuring things somewhat in anticipation of the CA components. 2019-01-04 15:38:10 +01:00
Tim Bruijnzeels 68b74fb004 Introducing authorisation on the API (issue #8) 2019-01-03 17:03:30 +01:00
Tim Bruijnzeels c551235f6f Changing https config to have three options: "no", "yes" and "test" - only generate self-signed cert for "test". Fixes #32 2019-01-03 11:18:11 +01:00
Tim Bruijnzeels e122e59242 Changing default to NOT use HTTPS. Fixes #32 2019-01-02 16:51:06 +01:00
Tim Bruijnzeels cedd1e2c20 Fix README.md 2019-01-02 16:38:08 +01:00
Tim Bruijnzeels f958ba17b2 Changing path to response.xml rather than response-xml, seems more fitting for a file. Resolves #4. 2019-01-02 16:32:57 +01:00
Tim Bruijnzeels cfdff770b4 Some more restructuring of the basic API. Closing #4 now, but surely this will still be refactored as more methods are added to the API. 2019-01-02 16:19:41 +01:00
Tim Bruijnzeels 3f613b800f Updated API documentation and path structure - work in progress on #4 2019-01-02 12:34:12 +01:00
Tim Bruijnzeels 83f2185229 Cleanup 2019-01-02 09:51:23 +01:00
Tim Bruijnzeels 2e833fd397 Add pubserver.log to .gitignore 2019-01-02 09:50:48 +01:00
Tim Bruijnzeels 914ef314de Adding support for HTTPS, resolves #32 2018-12-31 12:57:01 +01:00
Tim Bruijnzeels 26230ab8d8 Some documentation. 2018-12-21 13:34:14 +01:00
Tim Bruijnzeels 9ee5a17e88 Adding some cache control headers to static content. 2018-12-21 12:35:54 +01:00
Tim Bruijnzeels 04a8abe761 Adding some support for logging about publication protocol messages. 2018-12-20 16:20:21 +01:00
Tim Bruijnzeels 0bde805445 Merge branch 'master' of github.com:NLnetLabs/tranquility-base 2018-12-20 16:19:58 +01:00
Tim Bruijnzeels cf0b95fff3 Added logging, some fixes to config, and removed a lot of string cloning. 2018-12-20 15:58:55 +01:00
Martin Hoffmann e20d89ca3f Import remote from rpki-rs. 2018-12-19 16:55:02 +01:00
Tim Bruijnzeels 301a8f0302 Adding logging framework and config to pubd. 2018-12-19 15:22:02 +01:00
Tim Bruijnzeels b95268c460 Support interacting with the pubd through the pubc CLI, and serve RRDP files.
Note:
- Serving the files still needs some improvement with regard to memory (stream rather), and headers for caching.
- Syncing 108MB RIPE NCC repo takes 1m30s initially, and about 2m30s subsequently when there is no update to send.
- Performance could be better, but seems more than good enough for the target use.
2018-12-12 16:54:52 +01:00
Tim Bruijnzeels 7b3f9df0bf Ignore tmp so it can be used for local testing. 2018-12-12 16:54:21 +01:00
Tim Bruijnzeels 2ac5f9703f Fix private key ser-de. 2018-12-12 11:08:16 +01:00
Tim Bruijnzeels 61b294d84c Merge branch 'master' of github.com:NLnetLabs/tranquility-base 2018-12-11 16:43:07 +01:00
Tim Bruijnzeels e9806b2e90 Some code cleanup, and now testing that the correct notification file and delta references are written. 2018-12-11 16:41:50 +01:00
Tim BruijnzeelsandGitHub 1375ce355f Update README.md for front-end contributor 2018-12-11 11:22:13 +01:00
Tim Bruijnzeels 27906b623e Work in progress - write notification, snapshot and delta files when publishing. 2018-12-11 11:07:21 +01:00
Tim Bruijnzeels f23bc90b4a Publishing at the server, from the client, integration test working. 2018-12-05 17:04:01 +01:00
Tim Bruijnzeels 09189d54df Perform a list query, and parse the reply. 2018-12-04 16:14:53 +01:00
Tim Bruijnzeels 77c0346612 Expose http handler for receiving list and publish requests. Note this will be tested in the integration test once the client side is implemented. 2018-12-03 15:35:47 +01:00
Tim Bruijnzeels 7817e27e93 Using reqwest instead of hyper, because synchronous requests are all we need here, both in testing and for the publication client 2018-12-03 11:31:46 +01:00
Tim Bruijnzeels 93bba5c985 Replacing Hyper with Actix Web for the server. 2018-11-30 16:39:07 +01:00
Tim Bruijnzeels d59c4e7c4e Moving file handling code into a separate module for easy re-use by both pubc and pubd. 2018-11-29 16:46:15 +01:00
Tim Bruijnzeels be539482a3 Merge branch 'master' of gitlab.nlnetlabs.nl:opennetlabs/rpki-publication-server 2018-11-28 16:09:03 +01:00
Tim Bruijnzeels 1f0ee5855b Handle publish/list requests. Still to do: integration testing, and exposing this in the http handler. 2018-11-28 16:07:14 +01:00
Martin Hoffmann c4a37d657b Point to the right rpki-rs branch. 2018-11-28 13:53:12 +01:00
Tim Bruijnzeels ea7143ef37 Reorganised code somewhat to separate concerns better. Let the PubServer orchestrate between 'Responder', 'PublisherStore' and 'Repository'. 2018-11-27 10:36:41 +01:00
Tim Bruijnzeels 579c44464b Some clean-up. 2018-11-26 15:47:54 +01:00
Tim Bruijnzeels 00275d852d Moving PublisherStore into the provisioning module, rather than repo. 2018-11-26 15:08:27 +01:00
Tim Bruijnzeels b527dbb643 Combining PublisherStore and FileStore in a single Repository. Also passing config options by reference as much as possible. 2018-11-26 14:58:15 +01:00
Tim Bruijnzeels f247f5ede5 Disallow publish/update/withdraw outside of base uri. 2018-11-23 11:14:29 +01:00
Tim Bruijnzeels ec8e0bb215 Support processing a publish query (containing publish/update/withdraw elements) in the Repository and RepoPublisher. 2018-11-22 16:56:57 +01:00
Tim Bruijnzeels 5ca20044c1 Adding/removing RepoPublishers to the Repository, and some code clean up here and there. 2018-11-22 11:03:03 +01:00
Tim Bruijnzeels 747e2f8943 Fixing default URI paths 2018-11-21 15:01:51 +01:00
Tim Bruijnzeels ec59845ec0 Show repository response xml for a known publisher 2018-11-21 14:55:02 +01:00