Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-26 | Move consdiffmgr_rescan() into a mainloop event. | Nick Mathewson | |
The change here was very simple, since there is a flag set whenever we want to schedule this event. Closes ticket 25391. m | |||
2018-01-31 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-31 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-01-31 | But in most Earth cultures, there are 60s in a minute. | Nick Mathewson | |
2018-01-31 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-31 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-01-31 | add a rate-limit. | Nick Mathewson | |
2018-01-31 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2018-01-31 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-01-26 | If out-of-disk when saving a consensus cache entry, don't BUG. | Nick Mathewson | |
Just warn instead. Fixes bug 24859. | |||
2017-12-08 | Merge branch 'macro_free_v2_squashed' | Nick Mathewson | |
2017-12-08 | Convert remaining function (mostly static) to new free style | Nick Mathewson | |
2017-11-21 | Merge branches 'bug24099_031' and 'bug24086_031' into maint-0.3.2 | Nick Mathewson | |
2017-11-20 | Add another assertion to check for 24086 root causes | Nick Mathewson | |
In cdm_diff_ht_set_status(), we shouldn't have been allowing the status CDM_DIFF_PRESENT to be set if there wasn't actually a handle. | |||
2017-11-20 | Correctly handle partial success in consensus diff calculation. | Nick Mathewson | |
Previously, if store_multiple() reported a partial success, we would store all the handles it gave us as if they had succeeded. But it's possible for the diff to be only partially successful -- for example, if LZMA failed but the other compressors succeeded. Fixes bug 24086; bugfix on 0.3.1.1-alpha. | |||
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-08-29 | On windows, allow many entries in conscache directories | Nick Mathewson | |
Since we can't be sure that we can unlink enough files on windows here, let's let the number of permitted entries grow huge if it really must. We do this by letting the storagedir hold lots of entries, but still trying to keep the number of entries under the configured limit. We also have to tell consdiffmgr not to freak out if it can't actually remove enough entries. Part of a fix for bug 22752 | |||
2017-08-08 | Fix a memory leak in consdiffmgr.c | Nick Mathewson | |
Fixes bug 23139; bugfix on 0.3.1.1-alpha. | |||
2017-07-27 | Merge branch 'multi-priority_squashed' into maint-0.3.1 | Nick Mathewson | |
2017-07-27 | Queue consensus diffs at LOW priority. | Nick Mathewson | |
Fixes bug 22883. | |||
2017-07-12 | New configuration option MaxConsensusAgeForDiffs | Nick Mathewson | |
Relay operators (especially bridge operators) can use this to lower or raise the number of consensuses that they're willing to hold for diff generation purposes. This enables a workaround for bug 22883. | |||
2017-06-28 | Replace crash on missing handle in consdiffmgr with nonfatal assert | Nick Mathewson | |
Attempts to mitigate 22752. | |||
2017-06-27 | Set published_out for consensus cache entries in ↵ | Alexander Færøy | |
spooled_resource_estimate_size(). This patch ensures that the published_out output parameter is set to the current consensus cache entry's "valid after" field. See: https://bugs.torproject.org/22702 | |||
2017-05-16 | Fix resource leak in parse_consensus_request() | Nick Mathewson | |
We were allocating diff_hash_in_url on some URLs, but not freeing it. Fixes CID 1409669. Bug not in any released Tor. | |||
2017-05-16 | Report deleted consensuses as NOT_FOUND rather than AVAILABLE | Nick Mathewson | |
This bug happened because of a bogus pointer check in consdiffmgr_find_consensus(), not in any released Tor. Fixes CID 1409670. Good catch, Coverity! | |||
2017-05-15 | fix a memory leak | Nick Mathewson | |
2017-05-15 | Merge remote-tracking branch 'public/prop140_aftermath_cfg' | Nick Mathewson | |
2017-05-15 | Copy valid/fresh-until and signatories values into diffs. | Nick Mathewson | |
2017-05-15 | Store fresh/valid-until and signatories values on all consensus objects. | Nick Mathewson | |
2017-05-15 | Implement functions to expose valid/fresh-until and voters | Nick Mathewson | |
These still won't do anything till I get the values to be filled in. Also, I changed the API a little (with corresponding changes in directory.c) to match things that it's easier to store. | |||
2017-05-15 | Move stub accessor functions a level higher, to consdiffmgr | Nick Mathewson | |
2017-05-12 | Fix tautological constant out-of-range comparison warnings. | Alexander Færøy | |
2017-05-12 | Fix DoubleNL warning from `make check-spaces`. | Alexander Færøy | |
2017-05-12 | Test fix: expect old consensuses to be deleted if not deflate-compressed | Nick Mathewson | |
2017-05-12 | consdiffmgr: Reload latest consensus entries on start. | Nick Mathewson | |
2017-05-12 | consdiffmgr: expose cached consensuses | Nick Mathewson | |
2017-05-12 | Cleanup logic: only retain zlib-compressed consensuses | Nick Mathewson | |
Now that we're making a bunch of these with consdiffmgr, we should throw out all but one when we get a newer consensus. | |||
2017-05-12 | consdiffmgr: compress incoming consensuses in the background | Nick Mathewson | |
Also, compress them in several ways. This breaks the unit tests; subsequent commits will make them pass again. | |||
2017-05-12 | consdiffmgr: Extract the code for compressing and storing | Nick Mathewson | |
We're going to use this for consensuses too. | |||
2017-05-05 | Turn consdiffmgr.cache_max_age_hours into a parameter | Nick Mathewson | |
2017-05-04 | Do not BUG on missing sha3-as-signed field | Nick Mathewson | |
This can happen if you've been running an earlier alpha on your relay. Instead, just ignore the entry. | |||
2017-05-04 | bug#22143/prop#140: in consdiffmgr, store and use digest-as-signed | Nick Mathewson | |
We need to index diffs by the digest-as-signed of their source consensus, so that we can find them even from consensuses whose signatures are encoded differently. | |||
2017-05-02 | Remove special-casing for NO_METHOD in consdiffmgr.c | Nick Mathewson | |
2017-04-28 | Fix a brazen memleak in consdiffmgr_add_consensus() | Nick Mathewson | |
2017-04-27 | Merge branches 'consdiffmgr_orig_squashed' and 'actually_compute_diffs_squashed' | Nick Mathewson | |
2017-04-27 | Pre-compress consensus diffs with supported consensus methods. | Nick Mathewson | |
2017-04-27 | Store archived consensuses compressed on disk. | Nick Mathewson | |
I'm just using gzip compression now, for performance. | |||
2017-04-27 | Functionality to ensure there is space to add files to cache. | Nick Mathewson | |
2017-04-27 | New force-delete option on consensus_cache_delete_pending() | Nick Mathewson | |
If we're out of file space in the storage directory, we'll need to get rid of old files fast. | |||
2017-04-27 | Lower the file limit in consdiffmgr, to support seccomp2 | Nick Mathewson | |