aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Check for new IP addr after circuit liveliness returnsMatthew Finkel2014-04-08
| | | | | | When we successfully create a usable circuit after it previously timed out for a certain amount of time, we should make sure that our public IP address hasn't changed and update our descriptor.
* Merge remote-tracking branch 'public/bug11232'Nick Mathewson2014-04-01
|\
| * changes file for bug11232Nick Mathewson2014-03-18
| |
| * Fix a ubsan warning in addr_mask_get_bitsNick Mathewson2014-03-18
| | | | | | | | | | | | ubsan doesn't like us to do (1u<<32) when 32 is wider than unsigned. Fortunately, we already special-case addr_mask_get_bits(0), so we can just change the loop bounds.
| * Fix a ubsan warning in our ctypes replacementsNick Mathewson2014-03-18
| | | | | | | | | | ubsan doesn't like 1<<31, since that's an undefined integer overflow. Instead, we should do 1u<<31.
| * csiphash: don't attempt unaligned accessNick Mathewson2014-03-18
| | | | | | | | | | | | | | In digestmap_set/get benchmarks, doing unaligned access on x86 doesn't save more than a percent or so in the fast case. In the slow case (where we cross a cache line), it could be pretty expensive. It also makes ubsan unhappy.
| * memarea.c: use flexible array member for memNick Mathewson2014-03-18
| | | | | | | | | | | | | | | | | | | | | | | | This make clang's memory sanitizer happier that we aren't reading off the end of a char[1]. We hadn't replaced the char[1] with a char[FLEXIBLE_ARRAY_MEMBER] before because we were doing a union trick to force alignment. Now we use __attribute__(aligned) where available, and we do the union trick elsewhere. Most of this patch is just replacing accesses to (x)->u.mem with (x)->U_MEM, where U_MEM is defined as "u.mem" or "mem" depending on our implementation.
| * Fix a use-after-free in test_circuitlist.cNick Mathewson2014-03-18
| | | | | | | | Found by clang-3.4 analyzers.
* | Merge branch 'bug8787_squashed'Nick Mathewson2014-03-31
|\ \
| * | changes file for bug8787Nick Mathewson2014-03-31
| | |
| * | Munmap the right pointers in routerlist_free()Nick Mathewson2014-03-31
| | |
| * | NULL out all mappings after tor_munmap_file()Nick Mathewson2014-03-31
| | |
| * | Check return values for tor_munmap_file() in unit testsNick Mathewson2014-03-31
| | |
| * | Handle tor_munmap_file(NULL) consistentlyNick Mathewson2014-03-31
| | |
| * | Check strftime() return in tortls.cAndrea Shepard2014-03-31
| | |
| * | Eliminate lseek() with unchecked return in tor_mmap_file()Andrea Shepard2014-03-31
| | |
| * | Always check returns from unlink()Andrea Shepard2014-03-31
| | |
| * | Always check returns from tor_munmap_file() in microdesc.cAndrea Shepard2014-03-31
| | |
| * | Always check returns from tor_munmap_file() in routerlist.cAndrea Shepard2014-03-31
| | |
| * | Add return value and assert for null parameter to tor_munmap_file()Andrea Shepard2014-03-31
| | |
* | | Merge remote-tracking branch 'public/build_torrify_manpage_again'Nick Mathewson2014-03-31
|\ \ \
| * | | Fix build of torify.1Nick Mathewson2014-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build was broken by changes in f8c45339f72525c68, but we didn't notice, since that commit also made torify.1 only get built when tor-fw-helper was turned on. Fixes bug 11321; bugfix on Tor 0.2.5.1-alpha.
* | | | Merge remote-tracking branch 'public/bug11342'Nick Mathewson2014-03-31
|\ \ \ \
| * | | | Make dump_desc() use binary modeNick Mathewson2014-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, it could mung the thing that came over the net on windows, which would defeat the purpose of recording the unparseable thing. Fixes bug 11342; bugfix on 0.2.2.1-alpha.
* | | | | Fix a clang compilation warningNick Mathewson2014-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subtracting two time_t values was yielding something that maybe can't be fit in an int. Bugfix on 0389d4aa; bug not in any released Tor.
* | | | | Merge branch 'bug9658_refactor'Nick Mathewson2014-03-27
|\ \ \ \ \
| * | | | | Renamed "onionskins_completed" to "onionskins_assigned"Nick Mathewson2014-03-27
| | | | | | | | | | | | | | | | | | | | | | | | This improves the accuracy of the function/variable names.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-03-27
|\ \ \ \ \ \
| * | | | | | whitespace fixNick Mathewson2014-03-27
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'bug7164_diagnose_harder_v2'Nick Mathewson2014-03-27
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | More logs to try to diagnose bug 7164Nick Mathewson2014-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This time, check in microdesc_cache_clean() to see what could be going wrong with an attempt to clean a microdesc that's held by a node.
* | | | | | Fix version number in changes/bug11296Nick Mathewson2014-03-26
| |_|/ / / |/| | | |
* | | | | Merge remote-tracking branch 'public/bug11296'Nick Mathewson2014-03-26
|\ \ \ \ \
| * | | | | Add missing -Isrc/ext to tor-fw-helper/include.amNick Mathewson2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need this now that tor-fw-helper will pull in siphash.h Fixes bug 11296; bugfix on 0.2.5.4-alpha where siphash.h was introduced.
* | | | | | Turn off testing code for #9683.Nick Mathewson2014-03-26
| | | | | | | | | | | | | | | | | | | | | | | | (This wasn't supposed to get committed turned-on.)
* | | | | | Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warnNick Mathewson2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 11279
* | | | | | Fix warnings from doxygenNick Mathewson2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these are simple. The only nontrivial part is that our pattern for using ENUM_BF was confusing doxygen by making declarations that didn't look like declarations.
* | | | | | Make the redox script sorta work again.Nick Mathewson2014-03-25
|/ / / / /
* | | | | Merge remote-tracking branch 'public/bug11061_024'Nick Mathewson2014-03-25
|\ \ \ \ \
| * | | | | Fix SOCKSPort documentation layoutNick Mathewson2014-03-25
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the end this required a slightly nasty hack using a dummy anchor as an option heading in order to make the "Other recognized __flags__" line indent properly. Fixes bug 11061; Bugfix on 61d740ed.
* | | | | quiet the debug message in circuit_build_times_disabled()Roger Dingledine2014-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | something recently made it get called once per second, which will clutter up your debug log file.
* | | | | Changes file for bug 11276.Nick Mathewson2014-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crypto_early_init() function could only be called at most twice, and both of those were during startup. AFAICT leaking the first set of locks was the only non-idempotent thing.
* | | | | Merge remote-tracking branch 'arma/bug11276'Nick Mathewson2014-03-23
|\ \ \ \ \
| * | | | | Never run crypto_early_init() more than onceRoger Dingledine2014-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we had set up all the infrastructure to avoid calling it after the first time, but didn't actually use it.
* | | | | | Merge remote-tracking branch 'public/bug11275_024'Nick Mathewson2014-03-23
|\ \ \ \ \ \
| * | | | | | changes file for bug 11275Nick Mathewson2014-03-23
| | | | | | |
| * | | | | | Stop leaking 'sig' at each call of router_append_dirobj_signature()Roger Dingledine2014-03-23
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | The refactoring in commit cb75519b (tor 0.2.4.13-alpha) introduced this leak.
* | | | | | Be more lenient in our fix for bug 11149Roger Dingledine2014-03-23
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | There are still quite a few 0.2.3.2x relays running for x<5, and while I agree they should upgrade, I don't think cutting them out of the network is a net win on either side.
* | | | | Remove the unused circuit_dump_by_chan().Nick Mathewson2014-03-23
| | | | | | | | | | | | | | | | | | | | Also remove its helper function.
* | | | | Merge remote-tracking branch 'public/bug9683_rebased'Nick Mathewson2014-03-23
|\ \ \ \ \ | | |_|_|/ | |/| | |