summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-05-17Merge remote-tracking branch 'arma/bug18616-v4' into maint-0.2.8Nick Mathewson
2016-05-16touchups and refactorings on bug 18616 branchRoger Dingledine
no behavior changes
2016-05-12Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-05-12Merge branch 'bug18977_026_v2' into maint-0.2.7Nick Mathewson
2016-05-12Merge branch 'bug18977_024_v2' into bug18977_026_v2Nick Mathewson
Had conflicts related to other correct_tm bugs in 0.2.6. Added wday for another case.
2016-05-12Have correct_tm set tm_wday as well.Nick Mathewson
The tm_wday field had been left uninitialized, which was causing some assertions to fail on Windows unit tests. Fixes bug 18977.
2016-05-12Merge remote-tracking branch 'arma/bug19003-try2' into maint-0.2.8Nick Mathewson
2016-05-11Merge branch 'maint-0.2.7' into maint-0.2.8Roger Dingledine
2016-05-11unbreak the build (when warnings are enabled)Roger Dingledine
2016-05-11Merge remote-tracking branch 'teor/bug18816_simplify' into maint-0.2.8Nick Mathewson
2016-05-11Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-05-11Fix out-of-bounds write during voting with duplicate ed25519 keysJohn Brooks
In dirserv_compute_performance_thresholds, we allocate arrays based on the length of 'routers', a list of routerinfo_t, but loop over the nodelist. The 'routers' list may be shorter when relays were filtered by routers_make_ed_keys_unique, leading to an out-of-bounds write on directory authorities. This bug was originally introduced in 26e89742, but it doesn't look possible to trigger until routers_make_ed_keys_unique was introduced in 13a31e72. Fixes bug 19032; bugfix on tor 0.2.8.2-alpha.
2016-05-11Confim we want certificates from fallbacksteor (Tim Wilson-Brown)
Comment-only change
2016-05-11Revert "Switch between fallback and authority when auth cert fetch fails"teor (Tim Wilson-Brown)
This reverts commit 92d7ee08b8c51b4b29f68c6d00ca4aa91ea5a66b.
2016-05-11refactor the #19003 patchesRoger Dingledine
fix the logic in one of the comments
2016-05-11Merge branch 'bug18761_028_squashed' into maint-0.2.8Nick Mathewson
2016-05-11Log find_rp_for_intro_() failures at LOG_PROTOCOL_WARN.Nick Mathewson
Closes ticket 18761. Also fix a whitespace issue.
2016-05-10Switch between fallback and authority when auth cert fetch failsteor (Tim Wilson-Brown)
2016-05-10Use the consensus download schedule for authority certificatesteor (Tim Wilson-Brown)
Previously, we were using the generic schedule for some downloads, and the consensus schedule for others. Resolves ticket 18816; fix on fddb814fe in 0.2.4.13-alpha.
2016-05-09Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson
2016-05-09Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-05-09Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-05-09Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-05-09Allow directories in small networks to bootstrapteor (Tim Wilson-Brown)
Skip DirPort checks when the consensus has no exits. Resolves #19003, bugfix on #18050 in 0.2.8.1-alpha.
2016-05-09Add a comment to have_enough_path_info()teor (Tim Wilson-Brown)
Comment only change
2016-05-09Update geoip and geoip6 to the May 4 2016 database.Karsten Loesing
2016-05-05Refactor router_pick_directory_server_impl to use node functionsteor (Tim Wilson-Brown)
No behavioural change This makes the use of the node explicit in the function, rather than hiding the node lookup in fascist_firewall_allows_rs.
2016-05-05Comment-only change to clarify routerstatus_t IPv4 byte orderteor (Tim Wilson-Brown)
2016-05-05Rename skip_or and skip_dir to avoid confusionteor (Tim Wilson-Brown)
Variable rename only
2016-05-05Merge branch 'feature18483-028-v2-squashed' into maint-0.2.8Nick Mathewson
2016-05-05Only choose directory DirPorts on relaysteor (Tim Wilson-Brown)
2016-05-05Make clients only select directories with reachable ORPortsteor (Tim Wilson-Brown)
This makes sure clients will only select relays which support begindir over ORPort.
2016-05-05Make clients always use begindir for directory requeststeor (Tim Wilson-Brown)
This improves client anonymity and avoids directory header tampering. The extra load on the authorities should be offset by the fallback directories feature. This also simplifies the fixes to #18809.
2016-05-05Make directory node selection more reliableteor (Tim Wilson-Brown)
Delete an unnecessary check for non-preferred IP versions. Allows clients which can't reach any directories of their preferred IP address version to get directory documents. Patch on #17840 in 0.2.8.1-alpha.
2016-05-04Merge branch 'bug18921_squashed' into maint-0.2.8Nick Mathewson
2016-05-04Choose the correct address for one-hop connectionsteor (Tim Wilson-Brown)
After #17840 in 0.2.8.1-alpha, we incorrectly chose an IPv4 address for all DIRIND_ONEHOP directory connections, even if the routerstatus didn't have an IPv4 address. This likely affected bridge clients with IPv6 bridges. Resolves #18921.
2016-05-04Merge branch 'bug18686_025' into maint-0.2.8Nick Mathewson
2016-05-04Report success when not terminating an already terminated process.Nick Mathewson
Also, document the actual behavior and return values of tor_terminate_process. Fixes bug18686; bugfix on 0.2.3.9-alpha.
2016-05-04Merge branch 'bug18710_025' into maint-0.2.8Nick Mathewson
2016-05-04Fix dnsserv.c assertion when no supported questions are requested.Scott Dial
The problem is that "q" is always set on the first iteration even if the question is not a supported question. This set of "q" is not necessary, and will be handled after exiting the loop if there if a supported q->type was found. [Changes file by nickm] lease enter the commit message for your changes. Lines starting
2016-05-03Fix keccak-tiny portability on `exotic` platforms.Yawning Angel
* SHA-3/SHAKE use little endian for certain things, so byteswap as needed. * The code was written under the assumption that unaligned access to quadwords is allowed, which isn't true particularly on non-Intel.
2016-05-02(cherry-picked by nickm, with changes file from isis.)s0rlxmh0
2016-04-28Refactor DirPort & begindir descriptor checksteor (Tim Wilson-Brown)
No actual behaviour changes
2016-04-28Remove redundant descriptor checks for OR/Dir reachabilityteor (Tim Wilson-Brown)
The ORPort and DirPort must be reachable, or we won't publish a descriptor.
2016-04-28Refactor common code out of reachability checksteor (Tim Wilson-Brown)
No actual changes in behavior
2016-04-28Avoid checking ORPort reachability when the network is disabledteor (Tim Wilson-Brown)
This is consistent with existing DirPort reachability checks.
2016-04-28Make mock function static to prevent future clashesteor (Tim Wilson-Brown)
2016-04-28Descriptors depend on more config options now they list begindir supportteor (Tim Wilson-Brown)
Bugfix on #12538 in 0.2.8.1-alpha.
2016-04-28Decide to advertise begindir support like we decide to advertise DirPortteor (Tim Wilson-Brown)
Decide to advertise begindir support in a similar way to how we decide to advertise DirPort. Fix up the associated descriptor-building unit tests. Resolves #18616, bugfix on 0c8e042c30946faa in #12538 in 0.2.8.1-alpha.
2016-04-26April 2016 fallbacks for 0.2.8-rcteor (Tim Wilson-Brown)