summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-03-26Merge remote-tracking branch 'tor-github/pr/852' into maint-0.4.0teor
2019-03-26dircache: fix identation and remove unneded gotojuga0
2019-03-26bwauth: remove declaring args, they are now in usejuga0
2019-03-26test: check that .../bandwidth.z is compressedjuga0
2019-03-26test: Check bw file cache lifetimejuga0
2019-03-26bwauth: increment bw file cache lifetimejuga0
Increment bw file cache lifetime when serving it by HTTP. And add a constant to define that lifetime.
2019-03-26bwauth: check and use compression serving bw filejuga0
2019-03-26bwauth: check if a bw file could be readjuga0
Before serving it by HTTP.
2019-03-26bwauth: use flag to do not warn when file is missingjuga0
Use flag to do not warn when the bandwidth file is missing trying to serve it by http. Also remove double space in the assignement.
2019-03-26Serve bandwidth file used in the next votejuga0
When a directory authority is using a bandwidth file to obtain the bandwidth values that will be included in the next vote, serve this bandwidth file at /tor/status-vote/next/bandwidth.z.
2019-03-26Merge remote-tracking branch 'tor-github/pr/848' into maint-0.4.0teor
2019-03-26Fix CID 1444119rl1987
Let's use the same function exit point for BUG() codepath that we're using for every other exit condition. That way, we're not forgetting to clean up the memarea.
2019-03-23Bump to 0.4.0.3-alpha-devNick Mathewson
2019-03-22Merge branch 'bug29693_040_radical_squashed' into maint-0.4.0Nick Mathewson
2019-03-22prob-distr: Decrease false positive rate of stochastic tests.George Kadianakis
2019-03-21Bump version to 0.4.0.3-alphaNick Mathewson
2019-03-20Merge branch 'maint-0.3.4' into maint-0.3.5teor
2019-03-20Merge remote-tracking branch 'tor-github/pr/798' into maint-0.3.5teor
2019-03-19Merge remote-tracking branch 'tor-github/pr/727' into maint-0.3.5teor
2019-03-18Merge branch 'bug29706_035_minimal_merge' into bug29706_040_minimal_mergeteor
Comment merge.
2019-03-18Merge branch 'bug29706_034_minimal_merge' into bug29706_035_minimal_mergeteor
2019-03-18test/sr: update sr_state_free() to sr_state_free_all() in a commentteor
2019-03-18Merge branch 'bug29706_029_minimal' into bug29706_034_minimal_mergeteor
2019-03-18test/sr: Clear SRVs after init, and before setupteor
Already merged to 0.4.0 and later in tor-github/pr/776. Backported to 0.2.9 and later with minor comment changes. Part of 29706.
2019-03-15Merge branch 'bug28656_035_squashed' into maint-0.4.0Nick Mathewson
2019-03-15Stop logging a BUG() warning when tor is waiting for exit descriptorsteor
Fixes bug 28656; bugfix on 0.3.5.1-alpha.
2019-03-15Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0Nick Mathewson
2019-03-15Merge remote-tracking branch 'tor-github/pr/791' into maint-0.4.0Nick Mathewson
2019-03-14relays shouldn't close idle rend circuitsRoger Dingledine
Allow connections to single onion services to remain idle without being disconnected. Relays acting as rendezvous points for single onion services were mistakenly closing idle established rendezvous circuits after 60 seconds, thinking that they are unused directory-fetching circuits that had served their purpose. Fixes bug 29665; bugfix on 0.2.1.26.
2019-03-14Merge remote-tracking branch 'tor-github/pr/795' into maint-0.3.4teor
2019-03-14Merge remote-tracking branch 'tor-github/pr/794' into maint-0.3.4teor
2019-03-14Merge branch 'bug28096-029-squashed' into bug28096-034-squashedteor
Merge the new code, and preserve the #else macro comment from 0.3.4.
2019-03-14Merge remote-tracking branch 'nickm/bug27073_029' into bug27073_034teor
Replace == with OP_EQ in test macros.
2019-03-14Merge remote-tracking branch 'tor-github/pr/771' into maint-0.3.4teor
2019-03-13test/sr: Clear SRVs after init, and before setupteor
Part of 29706.
2019-03-12Merge branch 'tor-github/pr/763' into maint-0.4.0George Kadianakis
2019-03-12Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0Nick Mathewson
2019-03-12test/sr: update sr_state_free() to sr_state_free_all()teor
The function name changed between 0.2.9 and 0.3.4.
2019-03-12Merge branch bug29706_029_refactor into bug29706_034_refactorteor
2019-03-12sr: BUG() on NULL sr_state before doing a state_query_*()teor
Part of #29706.
2019-03-12sr: Check for replacing a SRV pointer with the same pointerteor
Check if the new pointer is the same as the old one: if it is, it's probably a bug: * the caller may have confused current and previous, or * they may have forgotten to sr_srv_dup(). Putting NULL multiple times is allowed. Part of 29706.
2019-03-11Merge remote-tracking branch 'tor-github/pr/756' into maint-0.4.0Nick Mathewson
2019-03-09sr: rename srv_dup() to sr_srv_dup()teor
2019-03-09sr: Free SRVs before replacing them in state_query_put_()teor
Refactor the shared random state's memory management so that it actually takes ownership of the shared random value pointers. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
2019-03-09test/sr: Free SRVs before replacing them in test_sr_setup_srv()teor
Stop leaking parts of the shared random state in the shared-random unit tests. The previous fix in 29599 was incomplete. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
2019-03-08Merge branch 'pr_719_squashed_040' into maint-0.4.0Nick Mathewson
2019-03-08Bug 29204: Inspect circuit queues before sending padding.Mike Perry
Mitigates OOM conditions at relays.
2019-03-08Merge branch 'bug23512-v4-029-fixes-keep-typedef' into bug23512-v4-034-fixesteor
2019-03-08Merge remote-tracking branch 'bug28525_029' into maint-0.3.5teor
2019-03-08Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) awareNeel Chauhan
Fixes 28525.