aboutsummaryrefslogtreecommitdiff
path: root/rp
AgeCommit message (Collapse)Author
2015-12-07Move validation callback to Python.Rob Austein
svn path=/branches/tk705/; revision=6210
2015-12-06Fix rcynicng directory rotation code. Checkpoint along the way toRob Austein
cleanup of POW.c RPKI conformance checking code. svn path=/branches/tk705/; revision=6208
2015-11-29Fix confused handling of staleness flags.Rob Austein
svn path=/branches/tk705/; revision=6207
2015-11-29Simplify main object checking loop by moving loop over objectRob Austein
generations inside the loop over manifest entries. svn path=/branches/tk705/; revision=6206
2015-11-29Move more trivial tests from C to Python.Rob Austein
svn path=/branches/tk705/; revision=6205
2015-11-29rcynicng caught a bug in rpkid! Router certificates are forbiddenRob Austein
from having SIA extensions, unlike all other RPKI certificates which are required to have them. Start moving RPKI conformance checks which can be performed in Python out of POW.c, tag a bunch more for consideration. svn path=/branches/tk705/; revision=6204
2015-11-28yield when putting to task queue even though we expect the future toRob Austein
resolve immediately, just in case something throws an exception. Don't try to be clever about when to yield in main object checking loop: just trusting Tornado's scheduler to do the right thing seems to give better rsync throughput. svn path=/branches/tk705/; revision=6203
2015-11-28Clean up CheckTALTask.Rob Austein
svn path=/branches/tk705/; revision=6202
2015-11-28Handle staleness and staleness-tainting checks in Python.Rob Austein
svn path=/branches/tk705/; revision=6201
2015-11-28Record staleness tainting.Rob Austein
svn path=/branches/tk705/; revision=6200
2015-11-27Simplify manifest walking code: we don't need to walk both current andRob Austein
backup manifests, we just need to walk the best manifest we can find, twice. svn path=/branches/tk705/; revision=6198
2015-11-27Tweaks to bring rcynicng more into line with rcynic's behavior.Rob Austein
svn path=/branches/tk705/; revision=6196
2015-11-26Oops, RRDP now mandates HTTPS instead of HTTP.Rob Austein
svn path=/branches/tk705/; revision=6195
2015-11-25Starting to look like a validator. Still gets different somewhatRob Austein
results from the original rcynic, still some loose ends and unfinished bits, and no support for RRDP yet (which was sort of the ultimate point of the exercise), but approaching the point of being usable, and about an order of magnitude shorter than the C original. svn path=/branches/tk705/; revision=6194
2015-11-24Add stack forking. At this point the basic tasking structure looks complete.Rob Austein
svn path=/branches/tk705/; revision=6191
2015-11-23first pass on XML output. Incomplete, but enough to get a usefulRob Austein
summary from rcynic-text. svn path=/branches/tk705/; revision=6187
2015-11-23Sort out swamp of multiple generations of manifests and picking best CRL.Rob Austein
svn path=/branches/tk705/; revision=6186
2015-11-22Convert certificate tree walking code to use new tasking model.Rob Austein
Get full rsync code working, history cache and all. svn path=/branches/tk705/; revision=6184
2015-11-20Checkpoint. Not useful yet, but starting to come together. Tornado is awesome.Rob Austein
svn path=/branches/tk705/; revision=6182
2015-11-18Move StatusCode out of POW.c. New API still needs work, but thisRob Austein
makes the C code considerably simpler. svn path=/branches/tk705/; revision=6180
2015-11-18First test of new validation code. No major surprises. Much testingRob Austein
left to do, still need to add in stuff that we pushed out to Python rather than trying to do in C (eg, a lot of the URI tests), but basics seem to work. Checkpointing before attempting a major simplification of the StatusCode mechanism. svn path=/branches/tk705/; revision=6179
2015-11-17First baby steps towards testing new rpki.POW extended validation code.Rob Austein
svn path=/branches/tk705/; revision=6178
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-07-21More relatively straightforward merges.Rob Austein
svn path=/branches/tk705/; revision=6083
2014-11-16Now working against Tim's RRDP repository (really, was working a fewRob Austein
days ago, but forgot to check in changes at the time). svn path=/branches/tk705/; revision=6024
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-06-02Insert blank line after URI in all TALs, in case RFC 6480 bis becomes a ↵Rob Austein
standard. svn path=/trunk/; revision=5859
2014-05-31Still more PyLint.Rob Austein
svn path=/trunk/; revision=5856
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845
2014-05-29New find_roa is picker about prefix syntax than the old version. NotRob Austein
really sure whether this is a feature or a bug, but hack test cases to be prefixes on the assumption that it's a feature. svn path=/trunk/; revision=5841
2014-05-21Flush old rpki-rtr implementation.Rob Austein
svn path=/trunk/; revision=5833
2014-05-20Doh, wrong API.Rob Austein
svn path=/trunk/; revision=5831
2014-05-09Clean up old utility code we don't need anymore.Rob Austein
svn path=/trunk/; revision=5826
2014-05-02Switch all rp/utils/ programs to use the Python script versionsRob Austein
instead of the nasty old C versions. C code retained in source tree for the moment, but will go away soon. svn path=/trunk/; revision=5825
2014-05-01s/rpki.rpki_rtr/rpki.rtr/gRob Austein
svn path=/trunk/; revision=5819
2014-05-01Switch to refactored rpki-rtr implementation.Rob Austein
svn path=/trunk/; revision=5818
2014-04-26Refactor rpki-rtr code.Rob Austein
svn path=/trunk/; revision=5817
2014-04-26Cleanup.Rob Austein
svn path=/trunk/; revision=5816
2014-04-18Add support for multiple versions of rpki-rtr protocol, along withRob Austein
rudimentary use of the new End Of Data timing parameters in the rpki-rtr test client. cronjob mode now generates a separate parallel database for each protocol version; server supports both current versions and picks which one to use for a particular session based on the initial client request. test client doesn't yet handle version fallback or make proper use of retry or expire parameters, but does now use refresh parameter. svn path=/trunk/; revision=5812
2014-04-17Convert all use of ipaddr and derived classes to rpki.POW.IPAddress,Rob Austein
since we directly parsed ROAs use the latter in any case. svn path=/trunk/; revision=5811
2014-04-17Use class decorator to construct PDU dispatch list (preparation forRob Austein
supporting multiple protocol versions). Start dragging coding standard up to something a little more recent. svn path=/trunk/; revision=5810
2014-04-17Use rpki.POW to scan rcynic data directly, while retaining the abilityRob Austein
to test with external programs when needed. svn path=/trunk/; revision=5807
2014-04-16Python version of scan_roas.Rob Austein
svn path=/trunk/; revision=5804
2014-04-15Python version of uri utility.Rob Austein
svn path=/trunk/; revision=5803
2014-04-15Python version of print_rpki_manifest.Rob Austein
svn path=/trunk/; revision=5802
2014-04-15Add print_roa.py.Rob Austein
svn path=/trunk/; revision=5801
2014-04-15Add inception dates; add --all to scan entire tree without prefix matching.Rob Austein
svn path=/trunk/; revision=5800
2014-04-15Replacing awful old C programs with tiny Python programs: documentRob Austein
find-roa.py, add hashdir.py. svn path=/trunk/; revision=5799