summaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2017-08-29Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-28hs: Fix the intro circuit max retryDavid Goulet
Some parentheses were missing making the rend_max_intro_circs_per_period() return a lower value than it was suppose to. The calculation is that a service at most will open a number of intro points that it wants which is 3 by default or HiddenServiceNumIntroductionPoints. Two extra are launched for performance reason. Finally, this can happen twice for two descriptors for the current and next time period. From: 2 * n_intro_wanted + 2 ...which resulted in 8 for 3 intro points, this commit fixes it to: (n_intro_wanted + 2) * 2 ... resulting in 12 possible intro point circuit which is the correct maximum intro circuit allowed per period. Last, this commit rate limits the the log message if we ever go above that limit else over a INTRO_CIRC_RETRY_PERIOD, we can print it often! Fixes #22159 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-08-28Merge branch 'ticket22348_031' into maint-0.3.1Nick Mathewson
2017-08-28Merge branch 'ticket22348_031'Nick Mathewson
2017-08-28Merge branch 'bug22802_squashed'Nick Mathewson
2017-08-28Don't use "0" as a "base" argument to tor_parse_*().Nick Mathewson
Telling these functions to autodetect the numeric base has lead to trouble in the past. Fixes bug 22469. Bugfix on 0.2.2.various.
2017-08-25Restore documentation for approved-routersNick Mathewson
We removed this documentation in 607724c696a6e, when we removed Naming Authoritative Directories, but actually this file is still used by authorities to indicate rejected and invalid fingerprints. Closes ticket 21148.
2017-08-25Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-25Merge branch 'bug19418_029' into maint-0.3.1Nick Mathewson
2017-08-24Changes file for 22497Nick Mathewson
2017-08-24Merge branch 'bug23106_032'Nick Mathewson
2017-08-24Merge branch 'bug19281_025'Nick Mathewson
2017-08-24Merge branch 'feature22976_squashed'Nick Mathewson
2017-08-24Also disable spawning on Sandbox.Nick Mathewson
This isn't a functional change, but it makes our logic more clear, and catches bugs earlier.
2017-08-24Merge branch 'bug22779_031'Nick Mathewson
2017-08-24Merge branch 'bug22677'Nick Mathewson
2017-08-21Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-21Merge branch 'bug23291_028' into maint-0.3.1Nick Mathewson
2017-08-21changes file for bug 23291Nick Mathewson
2017-08-21Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-21Fix triggerable BUG() when decoding hsv3 descriptors.George Kadianakis
Also improve the unittest to make sure it catches the right error.
2017-08-11Raise MIN_DL_PER_REQUEST to 32Nick Mathewson
This change should improve overhead for downloading small numbers of descriptors and microdescriptors by improving compression performance and lowering directory request overhead. Closes ticket 23220.
2017-08-11Merge branch 'bug18982'Nick Mathewson
2017-08-11Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-11Merge remote-tracking branch 'dgoulet/bug23091_032_01'Nick Mathewson
2017-08-09Document all the arguments of PublishServerDescriptor.Nick Mathewson
Implements 15645.
2017-08-09Add a 'NoExec' option that causes tor_spawn_background() to failNick Mathewson
Core of an implementation for 22976.
2017-08-09Clarify that "sandbox 1" requires linux and seccomp2Nick Mathewson
Closes 22677.
2017-08-09Make sure we always wind up checking i2d_*'s output.Nick Mathewson
The biggest offender here was sometimes not checking the output of crypto_pk_get_digest. Fixes bug 19418. Reported by Guido Vranken.
2017-08-09Make write_escaped_data more robust to large inputs.Nick Mathewson
The old implementation would fail with super-long inputs. We never gave it any, but still, it's nicer to dtrt here. Reported by Guido Vranken. Fixes bug 19281.
2017-08-08Use a single free-and-exit strategy in config_process_include.Nick Mathewson
This avoids a double-free when a pointer already freed with tor_free(config_line) is freed again in the cleanup-and-exit code. Fixes bug 23155.
2017-08-08Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-08Merge branch 'bug23139' into maint-0.3.1Nick Mathewson
2017-08-08Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-08chages file on 22286Nick Mathewson
2017-08-08Fix a memory leak in consdiffmgr.cNick Mathewson
Fixes bug 23139; bugfix on 0.3.1.1-alpha.
2017-08-04Remove usage of the PATH_MAX variablecypherpunks
GNU Hurd does not define the PATH_MAX variable. Using the variable on this platform results in compilation errors. Closes #23098.
2017-08-04Fix ntohs() that should have been htons()Nick Mathewson
Fixes bug 23106; bugfix on 0.2.4.8-alpha. Fortunately, we only support big-endian and little-endian platforms, and on both of those, hton*() and ntoh*() behave the same. And if we did start to support middle endian systems (haha, no), most of _those_ have hton*(x) == ntoh*(x) too.
2017-08-03routerkeys: Add cmdline option for learning signing key expiration.Isis Lovecruft
* CLOSES #17639. * ADDS new --key-expiration commandline option which prints when the signing key expires.
2017-08-03Merge branch 'bug20152'Nick Mathewson
2017-08-03Merge branch 'bug22885_squashed'Nick Mathewson
2017-08-03Don't send missing X-Desc-Gen-Reason on startupNick Mathewson
Since we start with desc_clean_since = 0, we should have been starting with non-null desc_dirty_reason. Fixes bug 22884; bugfix on 0.2.3.4-alpha when X-Desc-Gen-Reason was added.
2017-08-03Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-03Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-03Merge remote-tracking branch 'dgoulet/bug23078_030_01' into maint-0.3.0Nick Mathewson
2017-08-03Merge branch 'maint-0.3.1'Nick Mathewson
2017-08-03Merge branch 'bug23081_025' into maint-0.3.1Nick Mathewson
2017-08-03In ntmain, call set_main_thread() before running the loop.Nick Mathewson
Patch from Vort; fixes bug 23081; bugfix on fd992deeea76972 in 0.2.1.16-rc when set_main_thread() was introduced. See the changes file for a list of all the symptoms this bug has been causing when running Tor as a Windows Service.
2017-08-03add changes file for STRUCT_OFFSET removeal (22521)Nick Mathewson
2017-08-03Merge branch 'maint-0.3.1'Nick Mathewson