aboutsummaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
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-25Merge branch 'bug19418_029' into maint-0.3.1Nick Mathewson
2017-08-21Merge branch 'bug23291_028' into maint-0.3.1Nick Mathewson
2017-08-21changes file for bug 23291Nick 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-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-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 'bug23139' into maint-0.3.1Nick 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-03Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-03Merge remote-tracking branch 'dgoulet/bug23078_030_01' into maint-0.3.0Nick 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-03Merge branch 'maint-0.2.5' into maint-0.2.8Nick Mathewson
2017-08-03Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-08-03Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-03Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-03Update geoip and geoip6 to the August 3 2017 database.Karsten Loesing
2017-08-02Merge branch 'bug23071_031' into maint-0.3.1Nick Mathewson
2017-08-01hs: Cleanup logging statement in hs_intropoint.cDavid Goulet
One log statement was a warning and has been forgotten. It is triggered for a successful attempt at introducting from a client. It has been reported here: https://lists.torproject.org/pipermail/tor-relays/2017-August/012689.html Three other log_warn() statement changed to protocol warning because they are errors that basically can come from the network and thus triggered by anyone. Fixes #23078. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-08-01Merge remote-tracking branch 'public/bug19769_19025_029' into maint-0.2.9Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug20059_024_v2' into maint-0.2.9Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug20270_029' into maint-0.3.0Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug22245_024' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge remote-tracking branch 'public/bug18100_029' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-08-01Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-08-01Merge branch 'maint-0.2.7-redux' into maint-0.2.8Nick Mathewson
2017-08-01Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-08-01Merge branch 'maint-0.2.6' into maint-0.2.7-reduxmaint-0.2.7-reduxNick Mathewson
2017-08-01Merge branch 'maint-0.2.5' into maint-0.2.6maint-0.2.6Nick Mathewson
2017-08-01Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2017-08-01Merge remote-tracking branch 'karsten/geoip-jul2017' into maint-0.2.4maint-0.2.4Nick Mathewson
2017-07-31Improve the keypin failure messageNick Mathewson
Closes the human-factors part of ticket 22348.
2017-07-31Fix the hs_ntor integration tests to work with the pysha3 moduleNick Mathewson
The sha3 module should still work. Fixes bug 23071; bugfix on 0.3.1.1-alpha.
2017-07-28Merge branch 'bug23053_029' into maint-0.3.1Nick Mathewson
2017-07-28Fix a small memory leak when parsing unix: ports twiceNick Mathewson
Fixes bug 23053; CID 1415725.
2017-07-27Merge branch 'multi-priority_squashed' into maint-0.3.1Nick Mathewson
2017-07-27Always start with one additional worker threadNick Mathewson
Now that half the threads are permissive and half are strict, we need to make sure we have at least two threads, so that we'll have at least one of each kind.
2017-07-27Queue consensus diffs at LOW priority.Nick Mathewson
Fixes bug 22883.
2017-07-27Add support for multi-priority workqueuesNick Mathewson
Each piece of queued work now has an associated priority value; each priority goes on a separate queue. With probability (N-1)/N, the workers will take work from the highest priority nonempty queue. Otherwise, they'll look for work in a queue of lower priority. This behavior is meant to prevent starvation for lower-priority tasks.
2017-07-27Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-07-27Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-07-27Merge remote-tracking branch 'public/bug20247_029' into maint-0.2.9Nick Mathewson
2017-07-26Merge remote-tracking branch 'isis/bug22636_0.3.1_squashed' into maint-0.3.1Nick Mathewson
2017-07-26Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson