aboutsummaryrefslogtreecommitdiff
path: root/rpki/publication.py
AgeCommit message (Collapse)Author
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
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-22First cut at replacing rpkid's HTTP and I/O system with Tornado. NotRob Austein
quite working perfectly yet (cron is a bit wonky) but manages to produce an initial set of ROAs without thowing any exceptions, and code is already much cleaner than the old callback-based horror. svn path=/branches/tk705/; revision=6139
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-10-06Cleanup getting this old development branch running again with DjangoRob Austein
1.6...which is old, and needs to be upgraded (current is 1.9 or thereabouts), but that particular yak can wait its turn for a shave. svn path=/branches/tk705/; revision=6092
2014-11-12Fix first round of RRDP SIA URI bugs.Rob Austein
svn path=/branches/tk705/; revision=6019
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-21Convert rest of rootd away from SAX and async I/O.Rob Austein
svn path=/branches/tk705/; revision=5964
2014-09-19Convert pubd to use Django ORM and lxml.etree.Rob Austein
smoketest temporarily broken as it doesn't know anything about Django. svn path=/branches/tk705/; revision=5961
2014-09-17Clean out last vestiges of SAX-based publication protocol code.Rob Austein
svn path=/branches/tk705/; revision=5960
2014-08-26More SAX cleanup.Rob Austein
svn path=/branches/tk705/; revision=5935
2014-08-21Generate rsync updates from RRDP delta we just committed to SQL.Rob Austein
Start moving publication protocol away from using SAX. svn path=/branches/tk705/; revision=5932
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-07-21Checkpoint. More cleanup of publication code.Rob Austein
svn path=/branches/tk705/; revision=5904
2014-07-18Pull changes from trunk.Rob Austein
svn path=/branches/tk705/; revision=5903
2014-07-18Pull XML namespaces and so forth from schemas where possible.Rob Austein
svn path=/trunk/; revision=5902
2014-07-17Publication code mostly just deals with DER and Base64, so defer ASN.1Rob Austein
decode until something asks to look at the object. svn path=/branches/tk705/; revision=5901
2014-07-17Start unwinding the twisty maze of method calls in the old publication code.Rob Austein
svn path=/branches/tk705/; revision=5898
2014-07-16Snapshot before reworking pubd SQL.Rob Austein
svn path=/branches/tk705/; revision=5897
2014-07-15Checkpoint. Merge changes from trunk. Add hash-based withdrawalRob Austein
checks and <list/> command to publication protocol. svn path=/branches/tk705/; revision=5896
2014-07-09Add withdrawal hashes to publication and rrdp.Rob Austein
svn path=/branches/tk705/; revision=5888
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-07-03Convert to current IETF I-D version of publication protocol. See #705.Rob Austein
svn path=/branches/tk705/; revision=5881
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29Python style police: instantiate exceptions before raising themRob Austein
(convert two-expression form of "raise" to one-expression form). svn path=/trunk/; revision=5844
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-20Clean up ancient singleton arguments to .execute(); MySQLdb used toRob Austein
tolerate these, but seems not to like them anymore, at least not on MacOSX Mavericks with Homebrew's version of MySQL and MySQLdb. svn path=/trunk/; revision=5830
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757