Commit Graph

31603 Commits

Author SHA1 Message Date
teor 1cd59525cc Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-26 19:16:02 +10:00
teor 4258728d56 Merge remote-tracking branch 'tor-github/pr/852' into maint-0.4.0 2019-03-26 19:15:46 +10:00
juga0 6ecf9590ea changes: add file for #21377 2019-03-26 17:41:21 +10:00
juga0 da7a8d7624 dircache: fix identation and remove unneded goto 2019-03-26 17:41:17 +10:00
juga0 892b918b66 bwauth: remove declaring args, they are now in use 2019-03-26 17:41:13 +10:00
juga0 a4bf3be8bc test: check that .../bandwidth.z is compressed 2019-03-26 17:41:09 +10:00
juga0 fb4a40c32c test: Check bw file cache lifetime 2019-03-26 17:41:06 +10:00
juga0 7627134743 bwauth: increment bw file cache lifetime
Increment bw file cache lifetime when serving it by HTTP.
And add a constant to define that lifetime.
2019-03-26 17:41:02 +10:00
juga0 4d3502e45b bwauth: check and use compression serving bw file 2019-03-26 17:40:58 +10:00
juga0 b75e2539f9 bwauth: check if a bw file could be read
Before serving it by HTTP.
2019-03-26 17:40:54 +10:00
juga0 ee09e5d7ea bwauth: use flag to do not warn when file is missing
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-26 17:40:50 +10:00
juga0 3eacae42b2 Serve bandwidth file used in the next vote
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-26 17:40:45 +10:00
teor 08c4792413 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-26 16:56:59 +10:00
teor 828033001b Merge remote-tracking branch 'tor-github/pr/848' into maint-0.4.0 2019-03-26 16:56:45 +10:00
rl1987 669ec64325 Fix CID 1444119
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-26 12:24:45 +10:00
Nick Mathewson 9c12558af5 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-23 08:45:07 -04:00
Nick Mathewson 8bc3ac6a84 Bump to 0.4.0.3-alpha-dev 2019-03-23 08:44:36 -04:00
Nick Mathewson eaa34dd6b9 Fold 29693 into changelog tor-0.4.0.3-alpha 2019-03-22 11:18:17 -04:00
Nick Mathewson 63b7cc92a7 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-22 11:17:10 -04:00
Nick Mathewson 4b79b43e3e Merge branch 'bug29693_040_radical_squashed' into maint-0.4.0 2019-03-22 11:17:01 -04:00
George Kadianakis a5df9402b6 prob-distr: Decrease false positive rate of stochastic tests. 2019-03-22 11:16:30 -04:00
Nick Mathewson 2cdb691034 Light editing on the 0.4.0.3-alpha changelog 2019-03-22 08:46:07 -04:00
Nick Mathewson 2ee184bacc Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-21 09:36:55 -04:00
Nick Mathewson ebc7556dd0 Bump version to 0.4.0.3-alpha 2019-03-21 09:36:19 -04:00
Nick Mathewson 744ba41ed0 Start a changelog for 0.4.0.3-alpha 2019-03-21 09:33:57 -04:00
teor 53f204bfe0 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-20 09:48:17 +10:00
teor 3871fb732d Merge branch 'maint-0.3.5' into maint-0.4.0 2019-03-20 09:48:12 +10:00
teor 41cd05562f Merge branch 'maint-0.3.4' into maint-0.3.5 2019-03-20 09:48:03 +10:00
teor d7a5fdcb74 Merge branch 'maint-0.2.9' into maint-0.3.4 2019-03-20 09:47:55 +10:00
teor 6bf9078ceb Merge remote-tracking branch 'tor-github/pr/798' into maint-0.3.5 2019-03-20 09:47:31 +10:00
teor db2ac3b9fe Merge remote-tracking branch 'tor-github/pr/774' into maint-0.2.9 2019-03-20 09:46:10 +10:00
Nick Mathewson 544a613556 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-19 09:32:24 -04:00
Nick Mathewson de5ab1ef49 Merge remote-tracking branch 'tor-github/pr/802' into maint-0.4.0 2019-03-19 09:32:05 -04:00
teor fcf8c1143b Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-19 15:43:38 +10:00
teor b4483edce0 Merge branch 'maint-0.3.5' into maint-0.4.0 2019-03-19 15:43:33 +10:00
teor 17e3eea685 Merge remote-tracking branch 'tor-github/pr/727' into maint-0.3.5 2019-03-19 15:43:05 +10:00
teor af21d126e6 Merge branch 'bug29706_035_minimal_merge' into bug29706_040_minimal_merge
Comment merge.
2019-03-18 11:30:37 +10:00
teor 55865a2c9c Merge branch 'bug29706_034_minimal_merge' into bug29706_035_minimal_merge 2019-03-18 11:29:20 +10:00
teor aec6ee201b test/sr: update sr_state_free() to sr_state_free_all() in a comment 2019-03-18 11:28:34 +10:00
teor 1d0146e2a2 Merge branch 'bug29706_029_minimal' into bug29706_034_minimal_merge 2019-03-18 11:27:59 +10:00
teor c44ad396f8 test/sr: Clear SRVs after init, and before setup
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-18 11:12:25 +10:00
Nick Mathewson dfb8f0feeb Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-15 08:59:30 -04:00
Nick Mathewson 1547fd99a6 Merge branch 'bug28656_035_squashed' into maint-0.4.0 2019-03-15 08:59:19 -04:00
teor 532f4c9103 Stop logging a BUG() warning when tor is waiting for exit descriptors
Fixes bug 28656; bugfix on 0.3.5.1-alpha.
2019-03-15 08:57:28 -04:00
Nick Mathewson aed893798f Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-15 08:54:39 -04:00
Nick Mathewson 560ba98dd7 Merge remote-tracking branch 'tor-github/pr/776' into maint-0.4.0 2019-03-15 08:54:30 -04:00
Nick Mathewson 0fced1949a Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-15 08:53:03 -04:00
Nick Mathewson 94523bffdc Merge remote-tracking branch 'tor-github/pr/791' into maint-0.4.0 2019-03-15 08:52:50 -04:00
Roger Dingledine a3bc950e42 relays shouldn't close idle rend circuits
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-14 12:54:16 +02:00
teor 609b72fde3 Merge branch 'maint-0.4.0' into release-0.4.0 2019-03-14 07:00:47 +10:00