summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-14Add a BUG macro for usage in if checks.Nick Mathewson
2016-04-14Add new tor_assert_nonfatal*() macros.Nick Mathewson
Unlike tor_assert(), these macros don't abort the process. They're good for checking conditions we want to warn about, but which don't warrant a full crash. This commit also changes the default implementation for tor_fragile_assert() to tor_assert_nonfatal_unreached_once(). Closes ticket 18613.
2016-04-04Move tor_assert implementation into its own header/module.Nick Mathewson
2016-04-01Merge branch 'incoming_queue_symbol_fix'Nick Mathewson
2016-04-01Merge branch 'maint-0.2.8'Nick Mathewson
2016-04-01Merge branch 'bug18133_027' into maint-0.2.8Nick Mathewson
2016-04-01fix indentationNick Mathewson
2016-04-01Merge branch 'maint-0.2.8'Nick Mathewson
2016-04-01Merge remote-tracking branch 'karsten/task-18460-2' into maint-0.2.8Nick Mathewson
2016-03-29Don't declare "incoming_queue" in every file including channel.hNick Mathewson
Found with my wacky symbol-usage-enforcer.
2016-03-29fix typo in commentRoger Dingledine
2016-03-29Merge remote-tracking branch 'arma/feature18624'Nick Mathewson
2016-03-28Merge branch 'maint-0.2.8'Nick Mathewson
2016-03-28Fix my dumb unreleased bug in 18673Nick Mathewson
2016-03-28Rename tor_dup_addr to tor_addr_to_str_dup.Nick Mathewson
Patch from icanhasaccount; closes 18462.
2016-03-28Merge branch 'maint-0.2.8'Nick Mathewson
2016-03-28Begin an 0.2.9 branchtor-0.2.9.0-rootNick Mathewson
2016-03-28and NOW the version is 0.2.8.2-alpha-devNick Mathewson
2016-03-28Bump version correctly this timeNick Mathewson
2016-03-28Fix memory leak in TestingEnableCellStatsEventNick Mathewson
Only when we were actually flushing the cell stats to a controller would we free them. Thus, they could stay in RAM even after the circuit was freed (eg if we didn't have any controllers). Fixes bug 18673; bugfix on 0.2.5.1-alpha.
2016-03-28Fix memory leaks that stopped chutney working with asanNick Mathewson
2016-03-28Fix a memory leak in tor-gencert.Nick Mathewson
This way I can run chutney under asan. Fixes part of 18672.
2016-03-28Bump the version numberNick Mathewson
2016-03-28One more test that didnt pass on windows. See #18665.Nick Mathewson
2016-03-28Fix memory-counting error in rephist.c. Bug 18651. (Now with actual patch)Nick Mathewson
2016-03-26Do not treat "DOCDOC" as doxygen.Nick Mathewson
2016-03-26add a little documentation to memarea. (I have been testing a tool.)Nick Mathewson
2016-03-26Whitespace fixesNick Mathewson
2016-03-26Fix all doxygen warnings (other than missing docs)Nick Mathewson
2016-03-26Merge branch 'bug18649_squashed'Nick Mathewson
2016-03-26Clarify excess consensus connection cleanup by adding commentsteor (Tim Wilson-Brown)
Comment-only change
2016-03-25Disable failing broken time format case for windows.Nick Mathewson
2016-03-25Merge remote-tracking branch 'arma/bug18625'Nick Mathewson
2016-03-25Only check in-boundsness of seconds when time_t is smaller than i64Nick Mathewson
Otherwise coverity complains that we're checking an whether an int64 is less than INT64_MIN, which of course it isn't. Fixes CID 1357176. Not in any released Tor.
2016-03-25Include IPv6 consensus downloads in dirreq stats.Karsten Loesing
Fixes #18460.
2016-03-24use a clearer argument for connection_ap_make_link()Roger Dingledine
that function calls it argument "want_onehop", so it makes more sense to pass that boolean into it.
2016-03-24remove the extraneous dir_port variableRoger Dingledine
we already are using "port" to describe the place we're going to ask to connect to.
2016-03-24remove a redundant check about whether dirport is 0Roger Dingledine
2016-03-24revert the or_connection and dir_connection flagsRoger Dingledine
They incorrectly summarized what the function was planning to do, leading to wrong behavior like making an http request to an orport, or making a begindir request to a dirport. This change backs out some of the changes made in commit e72cbf7a, and most of the changes made in commit ba6509e9. This patch resolves bug 18625. There more changes I want to make after this one, for code clarity.
2016-03-24Merge remote-tracking branch 'dgoulet/bug18623_028_01'Nick Mathewson
2016-03-24dir auths only give Guard if they're giving StableRoger Dingledine
This change allows us to simplify path selection for clients, and it should have minimal effect in practice since >99% of Guards already have the Stable flag. Implements ticket 18624.
2016-03-24Fix broken directory request to the DirPortDavid Goulet
Commit e72cbf7a4 introduced a change to directory_initiate_command_rend() that made tor use the ORPort when making a directory request to the DirPort. The primary consequence was that a relay couldn't selftest its DirPort thus failing to work and join the network properly. The main issue was we were always considering an anonymized connection to be an OR connection which is not true. Fixes #18623 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2016-03-24try to fix a test failure for sizeof(time_t)==4.Nick Mathewson
2016-03-24Merge branch 'timegm_overflow_squashed'Nick Mathewson
2016-03-24Add a missing UL on a long in a unit testteor (Tim Wilson-Brown)
2016-03-24Add unit tests with dates from 2035 to 2039teor (Tim Wilson-Brown)
Platforms with 32-bit time_t sometimes give different results. They don't always indicate failure on overflow, #18480 should fix these.
2016-03-24Avoid overflow in tor_timegm on 32 bit platforms due to year 2038teor (Tim Wilson-Brown)
2016-03-24Merge branch 'bug18517_squashed'Nick Mathewson
2016-03-24Always allow OR connections to bridges on private addressesteor (Tim Wilson-Brown)
Regardless of the setting of ExtendAllowPrivateAddresses. This fixes a bug with pluggable transports that ignore the (potentially private) address in their bridge line. Fixes bug 18517; bugfix on 23b088907f in tor-0.2.8.1-alpha.
2016-03-24Merge remote-tracking branch 'teor/bug18351'Nick Mathewson