Commit Graph

22064 Commits

Author SHA1 Message Date
Nick Mathewson
a839ed5cc1 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-21 08:54:39 -04:00
George Kadianakis
f038e9cb00 Fix bug when disabling heartbeats.
Callbacks can't return 0.
2016-06-21 08:54:30 -04:00
Nick Mathewson
b673f7e174 Remove "bugfix on 0.2.8.x" from 0.2.8 release notes 2016-06-15 16:45:44 -04:00
Nick Mathewson
eb27988a01 Start work on the release notes for the actual 028 release. 2016-06-15 16:43:24 -04:00
Nick Mathewson
61d795f856 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-15 12:55:26 -04:00
Nick Mathewson
e718a582af Bump to 0.2.8.4-rc-dev 2016-06-15 12:55:17 -04:00
Nick Mathewson
fa6a228ce8 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-14 20:36:40 -04:00
Nick Mathewson
3a0d42fbf9 bump version to 0.2.8.4-rc 2016-06-14 20:36:35 -04:00
Nick Mathewson
1cdb839108 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-14 20:21:32 -04:00
Nick Mathewson
d6b01211b9 Resolve the remaining openssl "-Wredundant-decls" warnings.
Another part of 19406
2016-06-14 20:14:53 -04:00
Nick Mathewson
299f892815 One more changelog entry. 2016-06-14 13:42:48 -04:00
Nick Mathewson
b74ce86830 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-14 12:23:00 -04:00
Nick Mathewson
71aacbe427 Suppress the Wredundant-decls warning in another set of openssl headers 2016-06-14 12:17:02 -04:00
Yawning Angel
b217e4ac65 Bug 19406: Add a changes file. 2016-06-14 12:13:09 -04:00
Yawning Angel
c5e2f7b944 Bug 19406: Fix the unit tests to work with OpenSSL 1.1.x
Just as it says on the tin.  Don't need to fully disable any tests and
reduce coverage either.  Yay me.
2016-06-14 12:13:09 -04:00
Yawning Angel
6ddef1f7e0 Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0.
This is a logging onlu change, we were suppressing the severity down to
INFO when it occured (treating it as "Mostly harmless").  Now it is no
more.
2016-06-14 12:13:09 -04:00
Yawning Angel
b563a3a09d Bug 19406: OpenSSL made RSA and DH opaque in 1.1.0.
There's accessors to get at things, but it ends up being rather
cumbersome.  The only place where behavior should change is that the
code will fail instead of attempting to generate a new DH key if our
internal sanity check fails.

Like the previous commit, this probably breaks snapshots prior to pre5.
2016-06-14 12:13:09 -04:00
Yawning Angel
86f0b80681 Bug 19406: OpenSSL changed the Thread API in 1.1.0 again.
Instead of `ERR_remove_thread_state()` having a modified prototype, it
now has the old prototype and a deprecation annotation.  Since it's
pointless to add extra complexity just to remain compatible with an old
OpenSSL development snapshot, update the code to work with 1.1.0pre5
and later.
2016-06-14 12:13:09 -04:00
Nick Mathewson
1dbb5aac89 Start an 0.2.8.4-rc changelog 2016-06-13 14:21:39 -04:00
Nick Mathewson
8760325550 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-13 13:57:09 -04:00
Nick Mathewson
60b8aaefa1 lintChanges fixes 2016-06-13 13:57:03 -04:00
Nick Mathewson
ef87106583 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-13 10:49:15 -04:00
Nick Mathewson
2ee3dbe801 Merge branch 'maint-0.2.7' into maint-0.2.8 2016-06-13 10:49:05 -04:00
Nick Mathewson
80089c9e7c Merge branch 'maint-0.2.6' into maint-0.2.7 2016-06-13 10:48:56 -04:00
Nick Mathewson
b4bb88606e Merge branch 'maint-0.2.5' into maint-0.2.6 2016-06-13 10:48:48 -04:00
Nick Mathewson
f25f7b759c Merge branch 'maint-0.2.4' into maint-0.2.5 2016-06-13 10:48:35 -04:00
Karsten Loesing
c14c662758 Update geoip and geoip6 to the June 7 2016 database. 2016-06-12 11:35:50 +02:00
Nick Mathewson
2728a12232 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-11 10:16:36 -04:00
Nick Mathewson
ada5668c5e Merge remote-tracking branch 'public/bug19203_027' into maint-0.2.8 2016-06-11 10:16:00 -04:00
Nick Mathewson
399eebea54 Merge branch 'maint-0.2.8' into release-0.2.8 2016-06-06 10:17:57 -04:00
Nick Mathewson
6eeedc02d8 Use directory_must_use_begindir to predict we'll surely use begindir
Previously, we used !directory_fetches_from_authorities() to predict
that we would tunnel connections.  But the rules have changed
somewhat over the course of 0.2.8
2016-06-02 10:40:39 -04:00
Nick Mathewson
a32ca313c4 Merge branch 'maint-0.2.7' into maint-0.2.8 2016-06-02 10:12:56 -04:00
Nick Mathewson
5854b19816 Use tor_sscanf, not sscanf, in test_util.c.
Fixes the 0.2.7 case of bug #19213, which prevented mingw64 from
working.
2016-06-02 10:11:29 -04:00
Nick Mathewson
bdc59e33c1 Fix a warning on unnamed nodes in node_get_by_nickname().
There was a > that should have been an ==, and a missing !.  These
together prevented us from issuing a warning in the case that a
nickname matched an Unnamed node only.

Fixes bug 19203; bugfix on 0.2.3.1-alpha.
2016-05-30 12:03:03 -04:00
Nick Mathewson
dc624a7db1 Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-26 21:09:09 -04:00
Nick Mathewson
f25806409d Bump to 0.2.8.3-alpha-dev 2016-05-26 21:09:01 -04:00
Nick Mathewson
d7b843c5ed Add empty section to changelog. 2016-05-26 21:06:19 -04:00
Nick Mathewson
c90f808ebc Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-26 12:29:51 -04:00
Nick Mathewson
0a74346fe4 Bump to 0.2.8.3-alpha 2016-05-26 12:29:45 -04:00
Nick Mathewson
fc4a3b30c8 Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-26 12:12:41 -04:00
Nick Mathewson
cd12ee6740 Bump to 0.2.8.3-alpha 2016-05-26 12:12:38 -04:00
Nick Mathewson
a873ba8edd Fix two long lines 2016-05-26 12:11:57 -04:00
Nick Mathewson
b28acba3c3 Fold one more item into 0.2.8 changelog; hope it will be today? 2016-05-26 12:10:26 -04:00
Nick Mathewson
3e2d061397 Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-25 16:58:58 -04:00
Nick Mathewson
36b2b48308 Merge branch 'bug18668_028' into maint-0.2.8 2016-05-25 16:58:43 -04:00
Nick Mathewson
e32281b000 Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-25 16:12:10 -04:00
Nick Mathewson
f2d614c3d9 Merge branch 'bug19175_028_v2' into maint-0.2.8 2016-05-25 16:12:01 -04:00
Nick Mathewson
9cf6af76eb Fix a double-free bug in routerlist_reparse_old
I introduced this bug when I moved signing_key_cert into
signed_descriptor_t. Bug not in any released Tor.  Fixes bug 19175, and
another case of 19128.

Just like signed_descriptor_from_routerinfo(), routerlist_reparse_old()
copies the fields from one signed_descriptor_t to another, and then
clears the fields from the original that would have been double-freed by
freeing the original.  But when I fixed the s_d_f_r() bug [#19128] in
50cbf22099, I missed the fact that the code was duplicated in
r_p_o().

Duplicated code strikes again!

For a longer-term solution here, I am not only adding the missing fix to
r_p_o(): I am also extracting the duplicated code into a new function.

Many thanks to toralf for patiently sending me stack traces until
one made sense.
2016-05-25 16:11:35 -04:00
Nick Mathewson
693e48a5a4 Fold new entries into 0.2.8.3-alpha changelog. 2016-05-25 10:29:15 -04:00
Nick Mathewson
9d199893fe Merge branch 'maint-0.2.8' into release-0.2.8 2016-05-25 10:21:04 -04:00