Nick Mathewson
68a27dad43
Merge branch 'maint-0.2.9'
2016-10-31 16:33:12 -04:00
Nick Mathewson
e712b5d784
Merge branch 'bug19968_029' into maint-0.2.9
2016-10-31 16:33:03 -04:00
Nick Mathewson
59a78187cd
Merge branch 'maint-0.2.9'
2016-10-31 15:20:45 -04:00
Nick Mathewson
24b7b922ae
Actually free the worker_state_t object when we do an update with it
...
Previously we freed the old "keys" object, but leaked the
worker_state_t that we had taken it from.
Fixes bug 20401; bugfix on 0.2.6.3-alpha.
2016-10-31 15:20:25 -04:00
Nick Mathewson
becc957839
Actually clamp the number of detected CPUs to 16.
...
Previously we said we did, but didn't.
Fixes #19968 ; bugfix on 0.2.3.1-alpha.
2016-10-31 14:19:39 -04:00
overcaffeinated
b8b8b6b70e
Add implementation of smartlist_add_strdup
...
Add smartlist_add_strdup(sl, string) - replaces the use of
smartlist_add(sl, tor_strdup(string)). Fixes bug 20048.
2016-10-27 10:12:28 +01:00
Matt Traudt
6629c5c3fe
Add historic bwweight tests, comments, line len fixes
2016-10-26 16:37:16 -04:00
Matt Traudt
7ba0ae9426
Add consensus weight calculation tests
2016-10-26 16:37:16 -04:00
Matt Traudt
909ee0e55f
Fix default bw weights with new consensus method
...
See #14881
2016-10-26 16:33:54 -04:00
Nick Mathewson
39375db3dc
Merge remote-tracking branch 'pastly/ticket20459'
2016-10-26 16:22:06 -04:00
Nick Mathewson
5a1779b7ff
Merge branch 'maint-0.2.9'
2016-10-26 14:17:21 -04:00
Nick Mathewson
d288704023
Avoid tor_fragile_assert() failure with DNSPort on RESOLVED_TYPE_ERROR
...
The tor_fragile_assert() bug has existed here since c8a5e2d588
in tor-0.2.1.7-alpha forever, but tor_fragile_assert() was mostly a
no-op until 0.2.9.1-alpha.
Fixes bug 19869.
2016-10-26 14:16:40 -04:00
Matt Traudt
c09993fdf6
Fix ewma_cmp_cmux never considering policies different
2016-10-25 10:07:05 -04:00
Nick Mathewson
01482e30ad
Merge remote-tracking branch 'pastly/ticket20273'
2016-10-24 12:47:29 -04:00
David Goulet
59247314d5
man: Fix default value of AuthDirGuardBWGuarantee to 2MB
...
Closes #20435
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-10-23 10:59:55 -04:00
Nick Mathewson
7010e85939
changes file for 20389
2016-10-19 18:07:02 -04:00
Nick Mathewson
df387b94e8
Merge remote-tracking branch 'chelseakomlo/master'
2016-10-19 17:17:12 -04:00
Nick Mathewson
12cf73c451
Merge remote-tracking branch 'andrea/ticket19858_v2'
...
Conflict in entrynodes.c: any_bridge_supports_microdescriptors was
removed in master, and modified in 19858_v2
2016-10-19 17:11:47 -04:00
Nick Mathewson
ec4142abdf
Unify code in channel_write_*cell()
...
Patch from pingl; patch for 13827.
2016-10-19 17:07:23 -04:00
Nick Mathewson
87e4b9259a
Merge remote-tracking branch 'arma/bug6769'
2016-10-19 17:04:44 -04:00
Chelsea H. Komlo
471b0c5175
Refactor purpose_needs_anonymity to use switch statement
2016-10-19 12:25:50 -05:00
Chelsea H. Komlo
195ccce94e
Refactor to use purpose_needs_anonymity and remove is_sensitive_dir_purpose
2016-10-18 18:40:50 -05:00
Nick Mathewson
9a3adb07c4
changes file for module docs
2016-10-18 19:35:10 -04:00
Nick Mathewson
52b2b2c82f
Fold 20384 into changelog
2016-10-17 14:55:05 -04:00
Nick Mathewson
1a74881063
Merge branch 'maint-0.2.8'
2016-10-17 14:51:45 -04:00
Nick Mathewson
1df114330e
Merge branch 'buf_sentinel_026_v2' into maint-0.2.8
2016-10-17 14:51:06 -04:00
Nick Mathewson
3cea86eb2f
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
...
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
It also closes TROVE-2016-10-001 (aka bug 20384).
2016-10-17 14:49:54 -04:00
Nick Mathewson
20e9220d3d
Start on an 0.2.9.4-alpha changelog
2016-10-17 10:57:50 -04:00
Nick Mathewson
efe6fc8b03
changes file for module docs
2016-10-17 10:18:45 -04:00
Nick Mathewson
af70e43131
Merge remote-tracking branch 'public/spaces_in_unix_addrs'
2016-10-14 10:21:41 -04:00
Nick Mathewson
d2ab58c48d
Merge branch 'bug18357_v2'
2016-10-14 09:10:34 -04:00
Nick Mathewson
d25fed5174
Merge remote-tracking branch 'yawning-schwanenlied/bug20261'
2016-10-11 11:08:20 -04:00
paolo.ingls@gmail.com
ab78a4df93
torrc parsing b0rks on carriage-return
...
(Specifically, carriage return after a quoted value in a config
line. Fixes bug 19167; bugfix on 0.2.0.16-alpha when we introduced
support for quoted values. Unit tests, changes file, and this
parenthetical by nickm.)
2016-10-11 09:25:22 -04:00
Nick Mathewson
3328658728
Merge remote-tracking branch 'asn/bug19223'
2016-10-11 08:48:39 -04:00
George Kadianakis
e59f0d4cb9
Fix non-triggerable heap corruption at do_getpass().
2016-10-10 12:03:39 -04:00
Nick Mathewson
850ec1e282
Stop implying that we support openssl 1.0.0; we don't.
...
Closes ticket 20303.
The LIBRESSL_VERSION_NUMBER check is needed because if our openssl
is really libressl, it will have an openssl version number we can't
really believe.
2016-10-06 12:58:49 -04:00
Nick Mathewson
7410adb330
Merge branch 'maint-0.2.8'
2016-10-06 09:59:49 -04:00
Nick Mathewson
ab98c4387e
Merge branch 'maint-0.2.7' into maint-0.2.8
2016-10-06 09:59:42 -04:00
Nick Mathewson
ec718aa839
Merge branch 'maint-0.2.6' into maint-0.2.7
2016-10-06 09:59:18 -04:00
Nick Mathewson
12a7298376
Merge branch 'maint-0.2.5' into maint-0.2.6
2016-10-06 09:59:03 -04:00
Nick Mathewson
304d8f3bbb
Merge branch 'maint-0.2.4' into maint-0.2.5
2016-10-06 09:58:54 -04:00
Nick Mathewson
6055bba8cc
Only use -levent when checking functions if we will use it to link.
...
Fixes 19904; bugfix on b62abf9f21499ab; patch from Rubiate.
2016-10-06 09:16:21 -04:00
Nick Mathewson
785176e975
Clean up and fix exit policy check in connection_exit_connect().
...
Previously, we would reject even rendezvous connections to IPv6
addresses when IPv6Exit was false. But that doesn't make sense; we
don't count that as "exit"ing. I've corrected the logic and tried
to make it a lottle more clear.
Fixes bug 18357; this code has been wrong since 9016d9e829
in
0.2.4.7-alpha.
2016-10-05 12:44:53 -04:00
Karsten Loesing
1b4984f196
Update geoip and geoip6 to the October 6 2016 database.
2016-10-05 16:35:14 +02:00
Nick Mathewson
05aed5b635
Allow a unix: address to contain a C-style quoted string.
...
Feature 18753 -- all this to allow spaces.
2016-10-04 15:43:20 -04:00
Matt Traudt
5503eec3aa
Change some dirvote.c comments to reflect reality
2016-10-03 20:43:50 -04:00
Nick Mathewson
a49fb1e2e5
Teach 'make tags' about MOCK_IMPL.
...
Patch from nherring; closes ticket 16869
2016-10-03 13:58:09 -04:00
cypherpunks
3b2f012e28
Avoid reordering IPv6 interface addresses
...
When deleting unsuitable addresses in get_interface_address6_list(), to
avoid reordering IPv6 interface addresses and keep the order returned by
the OS, use SMARTLIST_DEL_CURRENT_KEEPORDER() instead of
SMARTLIST_DEL_CURRENT().
This issue was reported by René Mayrhofer.
[Closes ticket 20163; changes file written by teor. This paragraph
added by nickm]
2016-10-03 13:50:27 -04:00
Paolo Inglese
ae4077916c
Fix parse_virtual_addr_network minimum network size
2016-10-03 12:18:51 +01:00
Roger Dingledine
782b6ec288
Bridges and relays now use microdescriptors
...
(like clients do) rather than old-style router descriptors. Now bridges
will blend in with clients in terms of the circuits they build.
Fixes bug 6769; bugfix on 0.2.3.2-alpha.
2016-10-02 01:12:27 -04:00