Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-16 | Prop210: Close excess connections once a consensus is downloading | teor (Tim Wilson-Brown) | |
Once tor is downloading a usable consensus, any other connection attempts are not needed. Choose a connection to keep, favouring: * fallback directories over authorities, * connections initiated earlier over later connections Close all other connections downloading a consensus. | |||
2015-12-16 | Prop210: Add schedules for simultaneous client consensus downloads | teor (Tim Wilson-Brown) | |
Prop210: Add attempt-based connection schedules Existing tor schedules increment the schedule position on failure, then retry the connection after the scheduled time. To make multiple simultaneous connections, we need to increment the schedule position when making each attempt, then retry a (potentially simultaneous) connection after the scheduled time. (Also change find_dl_schedule_and_len to find_dl_schedule, as it no longer takes or returns len.) Prop210: Add multiple simultaneous consensus downloads for clients Make connections on TestingClientBootstrapConsensus*DownloadSchedule, incrementing the schedule each time the client attempts to connect. Check if the number of downloads is less than TestingClientBootstrapConsensusMaxInProgressTries before trying any more connections. | |||
2015-12-16 | Prop210: Add want_authority to directory_get_from_dirserver | teor (Tim Wilson-Brown) | |
2015-12-16 | Prop210: Refactor connection_get_* to produce lists and counts | teor (Tim Wilson-Brown) | |
2015-12-11 | Fix a pair of dead assignments | Nick Mathewson | |
2015-12-10 | Whitespace fix | Nick Mathewson | |
2015-12-10 | Fix wide line; log why chmod failed. | Nick Mathewson | |
2015-12-10 | Simplify cpd_opts usage. | Nick Mathewson | |
2015-12-10 | Defer creation of Unix socket until after setuid | Jamie Nguyen | |
2015-12-10 | Introduce DataDirectoryGroupReadable boolean | Jamie Nguyen | |
2015-12-10 | Permit filesystem group to be root | Jamie Nguyen | |
2015-12-10 | Refactor clock skew warning code to avoid duplication | Arlo Breault | |
2015-12-10 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-12-10 | bump to 0.2.7.6-dev | Nick Mathewson | |
2015-12-10 | forward-port changelog and releasenotes | Nick Mathewson | |
2015-12-10 | make stack-protector happy | Nick Mathewson | |
2015-12-10 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-12-10 | bump maint version to 0.2.7.6 | Nick Mathewson | |
2015-12-10 | Remove already-merged changes files. | Nick Mathewson | |
2015-12-10 | add a static | Nick Mathewson | |
2015-12-10 | improve a comment in memwipe | Nick Mathewson | |
2015-12-10 | Merge remote-tracking branch 'public/feature17694_strongest_027' | Nick Mathewson | |
2015-12-10 | Assert when the TLS contexts fail to initialize | cypherpunks | |
2015-12-09 | Merge remote-tracking branch 'teor/fix-exitpolicy-leak' | Nick Mathewson | |
2015-12-09 | Mark a couple more arguments as unused. | Nick Mathewson | |
2015-12-09 | Try to fix windows build more. | Nick Mathewson | |
patch from rubiate on #16651 | |||
2015-12-09 | Assert that memory held by rephist is freed | cypherpunks | |
The internal memory allocation and history object counters of the reputation code can be used to verify the correctness of (part of) the code. Using these counters revealed an issue where the memory allocation counter is not decreased when the bandwidth arrays are freed. A new function ensures the memory allocation counter is decreased when a bandwidth array is freed. This commit also removes an unnecessary cast which was found while working on the code. | |||
2015-12-09 | Merge branch 'refactor-effective-entry' | Nick Mathewson | |
2015-12-09 | Tweak policies_log_first_redundant_entry even more | Nick Mathewson | |
* Use smartlist_foreach_begin/end instead of a plain for loop. * constify the pointers. | |||
2015-12-09 | Tweak policies_log_first_redundant_entry more. | Nick Mathewson | |
* Since the variable is no longer modified, it should be called 'policy' instead of 'dest'. ("Dest" is short for "destination".) * Fixed the space issue that dgoulet found on the ticket. * Fixed the comment a little. (We use the imperative for function documentation.) | |||
2015-12-09 | Merge remote-tracking branch 'teor/first-hop-no-private' | Nick Mathewson | |
2015-12-09 | changes file for bug17791 | Nick Mathewson | |
2015-12-09 | Fix formatting typo in manpage. | Andrew Kvalheim | |
2015-12-09 | Merge branch 'bug17776' | Nick Mathewson | |
2015-12-09 | Assert that the directory server digest is given | cypherpunks | |
This prevents a possible crash when memory is copied from a pointer to NULL. | |||
2015-12-09 | Mention the expected length of the digests | cypherpunks | |
Some functions that use digest maps did not mention that the digests are expected to have DIGEST_LEN bytes. This lead to buffer over-reads in the past. | |||
2015-12-09 | Add changes file for 17776 | cypherpunks | |
2015-12-09 | Remove unnecessary casting | cypherpunks | |
2015-12-09 | Fix buffer over-reads in the rendcache tests | cypherpunks | |
The hidden service descriptor cache (rendcache) tests use digest maps which expect keys to have a length of DIGEST_LEN. Because the tests use key strings with a length lower than DIGEST_LEN, the internal copy operation reads outside the key strings which leads to buffer over-reads. The issue is resolved by using character arrays with a size of DIGEST_LEN. Patch on ade5005853c17b3ae5923c194680442e0f86db4d. | |||
2015-12-09 | Fix buffer over-reads in the directory tests | cypherpunks | |
The tests pass empty digest strings to the dir_server_new function which copies it into a directory server structure. The copy operation expects the digest strings to be DIGEST_LEN characters long. Because the length of the empty digest strings are lower than DIGEST_LEN, the copy operation reads outside the digest strings which leads to buffer over-reads. The issue is resolved by using character arrays with a size of DIGEST_LEN. Patch on 4ff08bb5811ddfe554e597d129ec48a774364480. | |||
2015-12-09 | Small cleanups and comment fixes to rng functions. | Nick Mathewson | |
2015-12-09 | Try to fix windows build | Nick Mathewson | |
patch from rubiate on #16651 | |||
2015-12-09 | try a little harder with getrandom types to avoid warnings | Nick Mathewson | |
2015-12-08 | mark a variable unused. | Nick Mathewson | |
2015-12-08 | Fix comment switcheroo. Spotted by skruffy | Nick Mathewson | |
2015-12-08 | Fix spaces. | Nick Mathewson | |
2015-12-08 | Merge branch 'feature13696_squashed' | Nick Mathewson | |
2015-12-08 | Add support for getrandom() and getentropy() when available | Yawning Angel | |
Implements feature #13696. | |||
2015-12-08 | Always hash crypto_strongest_rand() along with some prng | Nick Mathewson | |
(before using it for anything besides feeding the PRNG) Part of #17694 | |||
2015-12-08 | Merge branch 'maint-0.2.7' | Nick Mathewson | |