aboutsummaryrefslogtreecommitdiff
path: root/rpki/rootd.py
AgeCommit message (Collapse)Author
2018-12-13Typo (os.pat.join -> os.path.join).HEADmasterRob Austein
2016-05-07Oops, TeX-style "--" numeric ranges in copyright comments are bad fitRob Austein
for XML. Apparently we were carefully changing just the XML files to use a single "-" to work around this. Enough already, just convert all copyright year ranges to single "-" and have done with this. svn path=/branches/tk705/; revision=6427
2016-05-07More copyright notices, what fun.Rob Austein
svn path=/branches/tk705/; revision=6426
2016-04-26Further consolidation of config file parsing, command line parsing,Rob Austein
and logging setup. Most programs now use the unified mechanism, although there are still a few holdouts: the GUI, which is a special case because it has no command line, and the rpki-rtr program, which, for historical reasons has its own implementation of the logging setup infrastructure. svn path=/branches/tk705/; revision=6390
2016-04-23Internal root sort of working, but only sort of. It's skipping theRob Austein
worker CA and going straight from the root to certifying children, which is wrong. However...this is far enough along that we can now remove all the rootd glorp, which is a worthwhile simplification in its own right, so checkpoint here, remove rootd glorp, then figure out what's wrong with the internal certificate hierarchy. rcynic does validate the current output, given a manually constructed TAL, even if the current output isn't quite what it should be. So we should also be able to sort out the new TAL generation code now. Yes, checking in a version that works for the wrong reasons is weird, but the current sort-of-broken state lets us confirm that the lower levels of the tree are still correct as we go, which would be much harder if the poor thing just sat there and whimpered until we had the new internal CA code completely finished. svn path=/branches/tk705/; revision=6376
2015-11-11Configure pylint to use the pylint-django plugin, which (mostly)Rob Austein
understands Django's exotic metaclasses, which in turn allows us to re-enable a number of pylint checks we had disabled. While we were at this, stripped out a bunch of old pylint pragmas, then added back the subset that were really needed. As usual with pylint, this turned up a few real bugs along with an awful lot of noise. svn path=/branches/tk705/; revision=6162
2015-10-26"Any programmer who fails to comply with the standard naming, formatting,Rob Austein
or commenting conventions should be shot. If it so happens that it is inconvenient to shoot him, then he is to be politely requested to recode his program in adherence to the above standard." -- Michael Spier, Digital Equipment Corporation svn path=/branches/tk705/; revision=6152
2015-10-16PyLint. As usual, a lot of noise and a handful of real, albeit minor, bugs.Rob Austein
svn path=/branches/tk705/; revision=6123
2015-10-16Replace RRDP wired-in-URL kludge with proper support in OOB andRob Austein
left-right protocol and irdb and rpkidb models. Not fully working yet, RRDP URI isn't yet showing up everywhere it should, but this is probably more an indication that the previous hack was incomplete than that the replacement broke something. svn path=/branches/tk705/; revision=6120
2015-10-10Merge what's left of rpki.xml_utils into what's left ofRob Austein
rpki.left_right and start pruning the result down to figure out how much really needs to be ported over to the new models. svn path=/branches/tk705/; revision=6108
2015-10-09Baby steps towards using new rpkidb models. Now that SAX is gone,Rob Austein
clean up some of the corresponding mess. svn path=/branches/tk705/; revision=6105
2015-07-21Code to support multiple HTTP content types didn't quite work withRob Austein
rpki.http_simple. svn path=/branches/tk705/; revision=6085
2015-07-21Last batch of catch-up merges. Still need to test, but this is aRob Austein
development branch, so committing the merge before testing shouldn't break anything. svn path=/branches/tk705/; revision=6084
2014-11-12Initial (awful kludge) version of adding RRDP URIs to SIA extension.Rob Austein
This needs rewriting, but doing it properly requires a minor database schema change, and I'm trying to get a test case running by tomorrow morning. svn path=/branches/tk705/; revision=6015
2014-09-25Convert remaining rpkid up-down code from SAX to etree.Rob Austein
svn path=/branches/tk705/; revision=5970
2014-09-21Add CMS goo to simple CMS client, remove need for async HTTP in Zookeeper.Rob Austein
svn path=/branches/tk705/; revision=5966
2014-09-21Move synchronous HTTP client code to library.Rob Austein
svn path=/branches/tk705/; revision=5965
2014-09-21Convert rest of rootd away from SAX and async I/O.Rob Austein
svn path=/branches/tk705/; revision=5964
2014-09-20Remove gratuitous use of async HTTP where rootd is calling pubd.Rob Austein
svn path=/branches/tk705/; revision=5963
2014-09-17Clean out last vestiges of SAX-based publication protocol code.Rob Austein
svn path=/branches/tk705/; revision=5960
2014-09-16At this point I'm pretty sure that removing the --config options fromRob Austein
daemons was pointless, so back that out before removing branches/tk713. svn path=/branches/tk705/; revision=5958
2014-09-16Merge changes from branches/tk713 into branches/tk705. See #705, #713.Rob Austein
svn path=/branches/tk705/; revision=5956
2014-09-14Remove --config arguments from all daemons, as part of simplifyingRob Austein
startup procedure. This may be temporary, as processing --help without a configuration file may require deferring all Django imports until late enough that --config would work too. Defer for now. svn path=/branches/tk713/; revision=5953
2014-09-13Groundwork for Django ORM world conquest: sort out settings.py mess.Rob Austein
svn path=/branches/tk713/; revision=5948
2014-08-06Sort out BPKI mess with rootd talking to pubd. Underlying problem isRob Austein
that smoketest.py uses an obsolete BPKI model which requires different configuration than modern code. Real fix is several different major refactoring jobs (merging rootd into rpkid, merging all three YAML-based test tools...). As usual, not today. svn path=/branches/tk705/; revision=5914
2014-08-06rootd with publciation protocol mostly working with modern IRDB.Rob Austein
svn path=/branches/tk705/; revision=5913
2014-08-05Debug publication protocol <list/> command. Check pubd for existingRob Austein
objects when rootd doesn't think it knows what's already published. svn path=/branches/tk705/; revision=5912
2014-08-04rootd now uses publication protocol. Not yet usable outside smoketestRob Austein
harness: still need to work out what BPKI configuration looks like with modern IRDB, and rootd doesn't yet handle restart correctly (will fail if any of its outputs already exist in pubd's database). svn path=/branches/tk705/; revision=5911
2014-08-02Checkpoint. Does not run at the moment because rootd is partly butRob Austein
not yet completely converted to use pubd. svn path=/branches/tk705/; revision=5910
2014-07-07Checkpoint of SQL-based publish and withdraw processing. Doesn'tRob Austein
handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29Provide our own logging Formatter class rather than straining toRob Austein
subclass the stock one. Replace all uses of rpki.log.traceback() with logging package .exception() calls. Use LoggingAdapter for all the whacky per-stream logging code in rpki.http. Fix default logging priority for non-daemon programs like rpkic. svn path=/trunk/; revision=5843
2014-05-28Update all uses of rpki.log.traceback() for use with logging module.Rob Austein
svn path=/trunk/; revision=5838
2014-05-28Whack all logging calls to use per-module logger objects.Rob Austein
svn path=/trunk/; revision=5837
2014-05-28Rework logging initialization code.Rob Austein
svn path=/trunk/; revision=5836
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757