]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoStop putting unsupported ed25519 link auth in v3 onion service descs
teor [Tue, 24 Jul 2018 08:22:41 +0000 (18:22 +1000)] 
Stop putting unsupported ed25519 link auth in v3 onion service descs

Stop putting ed25519 link specifiers in v3 onion service descriptors,
when the intro point doesn't support ed25519 link authentication.

Fixes bug 26627; bugfix on 0.3.2.4-alpha.

7 years agoStop sending unsupported ed25519 link specifiers in v3 introduce cells
teor [Fri, 6 Jul 2018 06:06:44 +0000 (16:06 +1000)] 
Stop sending unsupported ed25519 link specifiers in v3 introduce cells

Stop sending ed25519 link specifiers in v3 onion service introduce
cells, when the rendezvous point doesn't support ed25519 link
authentication.

Fixes bug 26627; bugfix on 0.3.2.4-alpha.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 20 Jul 2018 14:42:29 +0000 (10:42 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'ticket26647_032' into maint-0.3.2
Nick Mathewson [Fri, 20 Jul 2018 14:42:23 +0000 (10:42 -0400)] 
Merge branch 'ticket26647_032' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 19 Jul 2018 12:31:07 +0000 (08:31 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge remote-tracking branch 'teor/bug26853_032' into maint-0.3.2
Nick Mathewson [Thu, 19 Jul 2018 12:30:59 +0000 (08:30 -0400)] 
Merge remote-tracking branch 'teor/bug26853_032' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 18 Jul 2018 20:39:25 +0000 (16:39 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 18 Jul 2018 20:39:25 +0000 (16:39 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoChanges file for bug 26787
Nick Mathewson [Wed, 18 Jul 2018 20:39:22 +0000 (16:39 -0400)] 
Changes file for bug 26787

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 18 Jul 2018 20:39:10 +0000 (16:39 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 18 Jul 2018 20:39:10 +0000 (16:39 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoTry putting ulimit -c 0 in test_bt.sh to see if it fixes bug 26787
Nick Mathewson [Mon, 16 Jul 2018 11:53:43 +0000 (07:53 -0400)] 
Try putting ulimit -c 0 in test_bt.sh to see if it fixes bug 26787

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 18 Jul 2018 19:04:14 +0000 (15:04 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 18 Jul 2018 19:03:27 +0000 (15:03 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'bug26485_029_squashed' into maint-0.2.9
Nick Mathewson [Wed, 18 Jul 2018 19:01:03 +0000 (15:01 -0400)] 
Merge branch 'bug26485_029_squashed' into maint-0.2.9

7 years agoAdd a test for format_recommended_version_list.
Nick Mathewson [Tue, 17 Jul 2018 19:39:31 +0000 (15:39 -0400)] 
Add a test for format_recommended_version_list.

7 years agoWarn when an authority has voted for a version with a space in it.
Nick Mathewson [Wed, 11 Jul 2018 15:24:55 +0000 (11:24 -0400)] 
Warn when an authority has voted for a version with a space in it.

Another way to try to prevent a recurrence of 26485.

7 years agoWarn the directory authority operator if their versions list is bogus
Nick Mathewson [Wed, 11 Jul 2018 15:14:48 +0000 (11:14 -0400)] 
Warn the directory authority operator if their versions list is bogus

Prevents bug 26485; bugfix on 0.1.1.6-alpha.

7 years agoSKIP test_key_expiration.sh on Windows until the underlying issue is resolved
teor [Wed, 18 Jul 2018 02:37:12 +0000 (12:37 +1000)] 
SKIP test_key_expiration.sh on Windows until the underlying issue is resolved

Skip an unreliable key expiration test on Windows, until the underlying
issue in bug 26076 is resolved.

Fixes bug 26853; bugfix on 0.3.2.1-alpha.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 17 Jul 2018 18:56:52 +0000 (14:56 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 17 Jul 2018 18:56:52 +0000 (14:56 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoSKIP test_keygen.sh on Windows until the underlying issue is resolved
teor [Tue, 17 Jul 2018 01:24:02 +0000 (11:24 +1000)] 
SKIP test_keygen.sh on Windows until the underlying issue is resolved

Skip an unreliable key generation test on Windows, until the underlying
issue in bug 26076 is resolved.

Fixes bug 26830; bugfix on 0.2.7.3-rc.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 12 Jul 2018 18:32:16 +0000 (14:32 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Thu, 12 Jul 2018 18:32:16 +0000 (14:32 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoput new bridge auth Serge into place
Roger Dingledine [Thu, 12 Jul 2018 18:12:13 +0000 (14:12 -0400)] 
put new bridge auth Serge into place

The "Bifroest" bridge authority has been retired; the new bridge authority
is "Serge", and it is operated by George from the TorBSD project.

Closes ticket 26771.

7 years agoAdd controller support for listing ExtORPort and HTTPTunnelPorts
Nick Mathewson [Tue, 10 Jul 2018 14:50:43 +0000 (10:50 -0400)] 
Add controller support for listing ExtORPort and HTTPTunnelPorts

Closes ticket 26647.

7 years agoBump to 0.3.3.8-dev.
Nick Mathewson [Mon, 9 Jul 2018 19:17:16 +0000 (15:17 -0400)] 
Bump to 0.3.3.8-dev.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 14:17:20 +0000 (10:17 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge remote-tracking branch 'github/bug26269_031' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 14:17:17 +0000 (10:17 -0400)] 
Merge remote-tracking branch 'github/bug26269_031' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 14:14:43 +0000 (10:14 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 14:14:43 +0000 (10:14 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'bug26269_029' into maint-0.2.9
Nick Mathewson [Mon, 9 Jul 2018 14:14:39 +0000 (10:14 -0400)] 
Merge branch 'bug26269_029' into maint-0.2.9

7 years agoBump to 0.3.3.8
Nick Mathewson [Mon, 9 Jul 2018 13:24:07 +0000 (09:24 -0400)] 
Bump to 0.3.3.8

7 years agoClear all control.c flags on control_free_all()
Nick Mathewson [Fri, 23 Mar 2018 15:31:56 +0000 (11:31 -0400)] 
Clear all control.c flags on control_free_all()

Fixes bug 25512.

(Cherry-picked from 3519d0c8086ede

7 years agoMerge remote-tracking branch 'catalyst-github/bug26455_033' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:13:58 +0000 (09:13 -0400)] 
Merge remote-tracking branch 'catalyst-github/bug26455_033' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Mon, 9 Jul 2018 13:11:41 +0000 (09:11 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:11:41 +0000 (09:11 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge remote-tracking branch 'mikeperry/bug25705_v3_033' into maint-0.3.3
Nick Mathewson [Mon, 9 Jul 2018 13:08:58 +0000 (09:08 -0400)] 
Merge remote-tracking branch 'mikeperry/bug25705_v3_033' into maint-0.3.3

7 years agoUpdate geoip and geoip6 to the July 3 2018 database.
Karsten Loesing [Fri, 6 Jul 2018 18:54:03 +0000 (20:54 +0200)] 
Update geoip and geoip6 to the July 3 2018 database.

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 3 Jul 2018 13:48:03 +0000 (09:48 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'bug26535_032' into maint-0.3.2
Nick Mathewson [Tue, 3 Jul 2018 13:48:00 +0000 (09:48 -0400)] 
Merge branch 'bug26535_032' into maint-0.3.2

7 years agoMerge branch 'bug26535_029' into maint-0.2.9
Nick Mathewson [Tue, 3 Jul 2018 13:47:41 +0000 (09:47 -0400)] 
Merge branch 'bug26535_029' into maint-0.2.9

7 years agohs_ntor_ref.py: pass only strings to subprocess.Popen
Nick Mathewson [Mon, 2 Jul 2018 18:04:46 +0000 (14:04 -0400)] 
hs_ntor_ref.py: pass only strings to subprocess.Popen

Recent Python3 versions seem to require this on Windows.

Fixes bug 26535; bug copied from ntor_ref.py on 0.3.1.1-alpha.

7 years agontor_ref.py: pass only strings to subprocess.Popen
Nick Mathewson [Mon, 2 Jul 2018 18:04:46 +0000 (14:04 -0400)] 
ntor_ref.py: pass only strings to subprocess.Popen

Recent Python3 versions seem to require this on Windows.

Fixes bug 26535; bug introduced in f4be34f70d6f277a0f3f73e, which
was apparently intended itself as a Python3 workaround.

7 years agoMerge remote-tracking branch 'dgoulet/bug26523_033_01' into maint-0.3.3
Nick Mathewson [Sun, 1 Jul 2018 14:22:18 +0000 (10:22 -0400)] 
Merge remote-tracking branch 'dgoulet/bug26523_033_01' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Sat, 30 Jun 2018 03:12:03 +0000 (23:12 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1 maint-0.3.1
Nick Mathewson [Sat, 30 Jun 2018 03:11:47 +0000 (23:11 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoFinally remove our EOL@EOF check.
Nick Mathewson [Mon, 18 Jun 2018 20:10:47 +0000 (16:10 -0400)] 
Finally remove our EOL@EOF check.

This check was added by mistake long ago.  It will be nice to see
these EOLs disappear from our code over time.

(backport from master)

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:49:43 +0000 (13:49 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoFix a memory error in test_shared_random
Nick Mathewson [Fri, 29 Jun 2018 17:49:02 +0000 (13:49 -0400)] 
Fix a memory error in test_shared_random

Bug not in any released Tor.

7 years agoFix some memory errors in the recent coverity fixes.
Nick Mathewson [Fri, 29 Jun 2018 17:48:36 +0000 (13:48 -0400)] 
Fix some memory errors in the recent coverity fixes.

Found by asan on travis :/

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:07:13 +0000 (13:07 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.2' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:07:07 +0000 (13:07 -0400)] 
Merge remote-tracking branch 'ahf-github/maint-0.3.2' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:06:15 +0000 (13:06 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:11 +0000 (13:06 -0400)] 
Merge remote-tracking branch 'ahf-github/maint-0.3.0' into maint-0.3.1

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:06:08 +0000 (13:06 -0400)] 
Merge remote-tracking branch 'ahf-github/maint-0.3.1' into maint-0.3.1

7 years agoChanges file for 26467
Nick Mathewson [Fri, 29 Jun 2018 17:04:29 +0000 (13:04 -0400)] 
Changes file for 26467

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 29 Jun 2018 17:00:56 +0000 (13:00 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9
Nick Mathewson [Fri, 29 Jun 2018 17:00:52 +0000 (13:00 -0400)] 
Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9

7 years agocontrol: Make HSPOST properly parse HSADDRESS= param
David Goulet [Wed, 27 Jun 2018 16:20:39 +0000 (12:20 -0400)] 
control: Make HSPOST properly parse HSADDRESS= param

For HSv3, the HSADDRESS= wasn't properly parsed for the HSPOST command. It now
correctly use it and furthermore sends back a "200 OK" in case the command is
successful for a v3 descriptor.

Fixes #26523

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 26 Jun 2018 13:21:59 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'feature26372_029' into maint-0.2.9
Nick Mathewson [Tue, 26 Jun 2018 13:21:55 +0000 (09:21 -0400)] 
Merge branch 'feature26372_029' into maint-0.2.9

7 years agoFix memory leak in test_sr_setup_commits().
Alexander Færøy [Sat, 23 Jun 2018 09:31:59 +0000 (11:31 +0200)] 
Fix memory leak in test_sr_setup_commits().

This patch fixes a memory leak in test_sr_setup_commits() where the
place_holder is allocated, but never freed again.

See: Coverity CID 1437440.

7 years agoFix memory leak in disk_state_parse_commits().
Alexander Færøy [Sat, 23 Jun 2018 09:28:00 +0000 (11:28 +0200)] 
Fix memory leak in disk_state_parse_commits().

This patch fixes a memory leak in disk_state_parse_commits() where if
commit is NULL, we continue the internal loop, but without ever freeing
the args variable.

See: Coverity CID 1437441.

7 years agoFix memory leak in frac_nodes_with_descriptors().
Alexander Færøy [Sat, 23 Jun 2018 01:24:10 +0000 (03:24 +0200)] 
Fix memory leak in frac_nodes_with_descriptors().

This patch fixes a memory leak in frac_nodes_with_descriptors() where
we might return without free'ing the bandwidths variable.

See: Coverity CID 1437451.

7 years agoFix memory leak in helper_add_hsdir_to_networkstatus().
Alexander Færøy [Sat, 23 Jun 2018 11:05:41 +0000 (13:05 +0200)] 
Fix memory leak in helper_add_hsdir_to_networkstatus().

This patch fixes a memory leak in helper_add_hsdir_to_networkstatus()
where the rs object might not get properly freed.

See: Coverity CID 1437427.

7 years agoFix memory leak in new_establish_intro_cell().
Alexander Færøy [Sat, 23 Jun 2018 08:48:42 +0000 (10:48 +0200)] 
Fix memory leak in new_establish_intro_cell().

This patch fixes a memory leak in new_establish_intro_cell() that could
happen if a test assertion fails and the *cell_out value isn't properly
free'd.

See: Coverity CID 1437445

7 years agoFix memory leak in test_channelpadding_consensus().
Alexander Færøy [Sat, 23 Jun 2018 10:52:04 +0000 (12:52 +0200)] 
Fix memory leak in test_channelpadding_consensus().

The relay variable is always allocated, but might not be freed before we
return from this function.

See: Coverity CID 1437431

7 years agoFix memory link in test_link_specifier().
Alexander Færøy [Sat, 23 Jun 2018 10:39:20 +0000 (12:39 +0200)] 
Fix memory link in test_link_specifier().

This patch fixes a memory leak in test_link_specifier() where ls might
not get freed in case one of the test macros fails.

See: Coverity CID 1437434.

7 years agoFix memory leak in decode_link_specifiers().
Alexander Færøy [Sat, 23 Jun 2018 09:54:36 +0000 (11:54 +0200)] 
Fix memory leak in decode_link_specifiers().

This patch fixes a memory leak in decode_link_specifiers() where the
hs_spec variable might leak if the default label is taken in the
switch/case expression.

See: Coverity CID 1437437.

7 years agoFix memory leak in client_likes_consensus().
Alexander Færøy [Sat, 23 Jun 2018 08:33:40 +0000 (10:33 +0200)] 
Fix memory leak in client_likes_consensus().

This patches fixes a memory leak in client_likes_consensus() where if
consensus_cache_entry_get_voter_id_digests() would fail we would return
without having free'd the voters list.

See: Coverity CID 1437447

7 years agoFix potential memory leak in hs_helper_build_hs_desc_impl().
Alexander Færøy [Sat, 23 Jun 2018 08:27:10 +0000 (10:27 +0200)] 
Fix potential memory leak in hs_helper_build_hs_desc_impl().

This patch fixes a memory leak in hs_helper_build_hs_desc_impl() where
if a test assertion would fail we would leak the storage that `desc`
points to.

See: Coverity CID 1437448

7 years agoFix memory leak in pick_hsdir_v3().
Alexander Færøy [Sat, 23 Jun 2018 01:40:32 +0000 (03:40 +0200)] 
Fix memory leak in pick_hsdir_v3().

This patch fixes a memory leak in pick_hsdir_v3() where we might return
early, but forgot to free the responsible_hsdirs variable. We solve this
by not allocating storage for responsible_hsdirs until it's actually
needed.

See: Coverity CID 1437449

7 years agoFix potential memory leak in test_hs_auth_cookies().
Alexander Færøy [Sat, 23 Jun 2018 01:17:09 +0000 (03:17 +0200)] 
Fix potential memory leak in test_hs_auth_cookies().

This patch fixes a potential memory leak in test_hs_auth_cookies() if a
test-case fails and we goto the done label where no memory clean up is
done.

See: Coverity CID 1437453

7 years agoFix potential memory leak in hs_helper_build_intro_point().
Alexander Færøy [Fri, 22 Jun 2018 22:44:33 +0000 (00:44 +0200)] 
Fix potential memory leak in hs_helper_build_intro_point().

This patch fixes a potential memory leak in
hs_helper_build_intro_point() where a `goto done` is called before the
`intro_point` variable have been assigned to the value of the `ip`
variable.

See: Coverity CID 1437460
See: Coverity CID 1437456

7 years agoUse correct CARGO_HOME in test_rust.sh
Taylor Yu [Thu, 21 Jun 2018 23:20:03 +0000 (18:20 -0500)] 
Use correct CARGO_HOME in test_rust.sh

Out-of-tree builds could fail to run the rust tests if built in
offline mode.  cargo expects CARGO_HOME to point to the .cargo
directory, not the directory containing .cargo.

Fixes bug 26455; bug not in any released tor.

7 years agoPrefer recent Python 3 in autoconf.
Nick Mathewson [Thu, 21 Jun 2018 13:28:50 +0000 (09:28 -0400)] 
Prefer recent Python 3 in autoconf.

Closes ticket 26372.

7 years agoFix changes file for memory leak.
Nick Mathewson [Thu, 21 Jun 2018 12:53:37 +0000 (08:53 -0400)] 
Fix changes file for memory leak.

7 years agofix memory leak in protover.c
Roger Dingledine [Wed, 20 Jun 2018 23:43:58 +0000 (19:43 -0400)] 
fix memory leak in protover.c

Fix a memory leak where directory authorities would leak a chunk of
memory for every router descriptor every time they considered voting.

This bug was taking down directory authorities in the live network due
to out-of-memory issues.

Fixes bug 26435; bugfix on 0.3.3.6.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sun, 17 Jun 2018 23:24:48 +0000 (19:24 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Sun, 17 Jun 2018 23:24:48 +0000 (19:24 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Sun, 17 Jun 2018 23:24:48 +0000 (19:24 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoAdd .editorconfig to follow coding standards style
juga0 [Sun, 3 Jun 2018 10:44:02 +0000 (10:44 +0000)] 
Add .editorconfig to follow coding standards style

7 years agoFix a bug in my fix for #26258
Nick Mathewson [Sat, 16 Jun 2018 17:08:40 +0000 (13:08 -0400)] 
Fix a bug in my fix for #26258

The fix here is use a different bourne shell subsitution for
CARGO_ONLINE, so that an empty string counts as set.

7 years agoMerge remote-tracking branch 'public/bug26258_033' into maint-0.3.3
Nick Mathewson [Thu, 14 Jun 2018 16:47:09 +0000 (12:47 -0400)] 
Merge remote-tracking branch 'public/bug26258_033' into maint-0.3.3

7 years agosquash! Make sure that the test_rust.sh script fails when a test fails
Nick Mathewson [Wed, 13 Jun 2018 16:21:25 +0000 (12:21 -0400)] 
squash! Make sure that the test_rust.sh script fails when a test fails

Also make sure that we're actually running the test from within the right
cwd, like we do when we're building.  This seems necessary to avoid
an error when running offline.

Amusingly, it appears that we had this bug before: we just weren't
noticing it, because of bug 26258.

7 years agotest_entrynodes: fix a GCC warning
Nick Mathewson [Wed, 13 Jun 2018 14:45:15 +0000 (10:45 -0400)] 
test_entrynodes: fix a GCC warning

Some versions of GCC complain that the bfn_mock_node_get_by_id
function might return NULL, but we're assuming that it won't.
(We're assuming it won't return NULL because we know in the tests
that we're passing it valid IDs.)

To make GCC happy, tt_assert() that each node_t is set before using
it.

Fixes a second case of bug26269; bugfix on 0.3.0.1-alpha.

7 years agoFix a GCC "potential null dereference" warning.
Nick Mathewson [Wed, 13 Jun 2018 14:34:53 +0000 (10:34 -0400)] 
Fix a GCC "potential null dereference" warning.

Fixes bug 26269; bugfix on c30be5a82d47328 in 0.2.8.2-alpha

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 13 Jun 2018 13:59:28 +0000 (09:59 -0400)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 13 Jun 2018 13:59:28 +0000 (09:59 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3