aboutsummaryrefslogtreecommitdiff
path: root/rpki/pubd.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
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-24Add exception handler of last resort to servers, in an attempt to getRob Austein
startup error messages logged properly if at all possible. See #806. svn path=/branches/tk705/; revision=6387
2016-04-03Move more programs to integrated config+argparse framework.Rob Austein
svn path=/branches/tk705/; revision=6346
2016-02-21Be a bit more frugal with memory: serialize XML directly to disk, and,Rob Austein
in the case of snapshot files, serialize incrementally. svn path=/branches/tk705/; revision=6279
2016-02-21Don't really need delta XML in SQL either, just need the hash.Rob Austein
svn path=/branches/tk705/; revision=6278
2016-02-21We don't really need to store the full XML snapshot in SQL. We don'tRob Austein
really need to store the delta XML either, but that code's a bit more complicated, so leave it alone for the moment. svn path=/branches/tk705/; revision=6277
2016-02-20Don't traceback on synchronization errors.Rob Austein
svn path=/branches/tk705/; revision=6274
2016-01-23Add multiple-URI TAL support to rcynicng.Rob Austein
Whack CA tools with a club until rcynicng works with our CA RRDP implementation. Add makemigrations target to top-level Makefile; this is a bit of a kludge, but sure beats doing this by hand. svn path=/branches/tk705/; revision=6230
2015-11-12More useful log messages on PDU handling exceptions.Rob Austein
Tweak publication callback mechanism to use uri instead of tag. svn path=/branches/tk705/; revision=6169
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-25Tweak binary field types to get SQLite3 working as a Django ORMRob Austein
backend. Switch yamltest's default database configuration to sqlite3. MySQL still has character set issues, which are almost certainly to do with the communication channel rather than the database tables. It's possible that one of the newer DB API drivers for MySQL fixes this, might be worth trying one of them at some point (see the "MySQL notes" discussion of MySQL DB API drivers in the Django documentation). svn path=/branches/tk705/; revision=6149
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-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-08Upgrade to new way of doing WSGI. Silence ten zillion deprecationRob Austein
warnings: Django 1.8 has a really obscure way of saying "Please don't import your models into your apps' __init__.py files, thanks." svn path=/branches/tk705/; revision=6101
2015-10-08Initial sorta-mostly-working with Django 1.8. Incredibly noisy due toRob Austein
incomprehensible advance depreciation warnings for Django 1.9. svn path=/branches/tk705/; revision=6100
2015-10-07Discard Django router in favor of separate settings files tailored toRob Austein
particular programs (see #713). svn path=/branches/tk705/; revision=6098
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-09-19Convert irdbd from SAX to lxml.etree.Rob Austein
svn path=/branches/tk705/; revision=5962
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-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-28Expire old RRDP deltas from SQL, delete unneded files from RRDP publication ↵Rob Austein
tree. svn path=/branches/tk705/; revision=5944
2014-08-28Rewrite pubd error handling code.Rob Austein
svn path=/branches/tk705/; revision=5943
2014-08-28New stricter publication algorithm requires us to salvage hash valuesRob Austein
from PDUs we optimize out of the publication queue. svn path=/branches/tk705/; revision=5940
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-19First cut at proper transactions for new pubd SQL code.Rob Austein
svn path=/branches/tk705/; revision=5922
2014-08-18Start unwinding unnecessary uses of asynch I/O.Rob Austein
svn path=/branches/tk705/; revision=5920
2014-08-12HTTP publication of RRDP.Rob Austein
svn path=/branches/tk705/; revision=5918
2014-08-07NotesRob Austein
svn path=/branches/tk705/; revision=5916
2014-08-07Rework RRDP filename scheme to simplify Apache configuration.Rob Austein
svn path=/branches/tk705/; revision=5915
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-07-23Finish first cut at RRDP test unpacking tool, shake a few bugs out ofRob Austein
RRDP publication code. svn path=/branches/tk705/; revision=5907
2014-07-21Prototype RRDP unpacker.Rob Austein
svn path=/branches/tk705/; revision=5905
2014-07-21Checkpoint. More cleanup of publication code.Rob Austein
svn path=/branches/tk705/; revision=5904
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-17Apparently we only need to set nsmap in root elements.Rob Austein
svn path=/branches/tk705/; revision=5900
2014-07-17RRDP working, mostly. Doens't clean up old files yet, doesn't useRob Austein
explicit command and rollback yet, a lot of other cleanup to do, but does generate vaguely plausible XML files. svn path=/branches/tk705/; revision=5899
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-04Snapshot before trying something weird with the new pubd SQL.Rob Austein
svn path=/branches/tk705/; revision=5884
2014-07-03Get rid of the <config/> element of the publication-control protocol, it's a ↵Rob Austein
historical relic. Update example PDUs for publication and publication-control protocols. svn path=/branches/tk705/; revision=5883