]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
6 years agoAdjust tor_log.rs for 64-bit log domains.
Nick Mathewson [Fri, 19 Jul 2019 14:07:32 +0000 (10:07 -0400)] 
Adjust tor_log.rs for 64-bit log domains.

6 years agoAdjust log callback type to use log_domain_mask_t
Nick Mathewson [Mon, 8 Jul 2019 18:11:02 +0000 (14:11 -0400)] 
Adjust log callback type to use log_domain_mask_t

6 years agoAdd a compile-time assertion to prevent a recurrence of 31080.
Nick Mathewson [Mon, 8 Jul 2019 17:41:35 +0000 (13:41 -0400)] 
Add a compile-time assertion to prevent a recurrence of 31080.

6 years agoUse a 64-bit mask for log domains, and fix a conflict
Nick Mathewson [Mon, 8 Jul 2019 17:32:45 +0000 (13:32 -0400)] 
Use a 64-bit mask for log domains, and fix a conflict

When we added LD_MESG, we created a conflict with the LD_NO_MOCK
flag.  We now need 64 bits for log domains in order to fix this
issue.

Fixes bug 31080; bugfix on 0.4.1.1-alpha.

6 years agoMove declaration of LD_NO_MESG to make conflict more apparent.
Nick Mathewson [Mon, 8 Jul 2019 17:00:31 +0000 (13:00 -0400)] 
Move declaration of LD_NO_MESG to make conflict more apparent.

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.5
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.5

6 years agochanges: file for 28795
teor [Fri, 28 Jun 2019 11:37:37 +0000 (21:37 +1000)] 
changes: file for 28795

Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
in December 2018 (of which ~122 were still functional), with a
list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
in June 2019.

Closes ticket 28795.

Note that we created extra lists from DE and US, but they didn't add
any more fallbacks when we tried to merge them.

6 years agofallback: apply the second fallback list from 2019
teor [Fri, 28 Jun 2019 11:16:50 +0000 (21:16 +1000)] 
fallback: apply the second fallback list from 2019

Update the fallback directory mirrors by merging the current list with:
fallback_dirs_2019-06-28-08-58-39_AU_f0437a39ddbc8459.inc

Part of 28795, see that ticket for logs.

6 years agofallback: apply the first fallback list from 2019
teor [Fri, 28 Jun 2019 11:04:20 +0000 (21:04 +1000)] 
fallback: apply the first fallback list from 2019

Update the fallback directory mirrors by replacing the old list with:
fallback_dirs_2019-06-25-11-49-10_AU_a37adb956fbb5cd2.inc

Part of 28795, see that ticket for logs.

6 years agoMerge remote-tracking branch 'tor-github/pr/1101' into maint-0.4.1
Nick Mathewson [Wed, 26 Jun 2019 14:05:51 +0000 (10:05 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1101' into maint-0.4.1

6 years agoMerge remote-tracking branch 'tor-github/pr/1118' into maint-0.4.1
Nick Mathewson [Wed, 26 Jun 2019 13:49:40 +0000 (09:49 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1118' into maint-0.4.1

6 years agoMerge branch 'tor-github/pr/1114' into maint-0.4.1
George Kadianakis [Wed, 26 Jun 2019 07:51:12 +0000 (10:51 +0300)] 
Merge branch 'tor-github/pr/1114' into maint-0.4.1

6 years agobump to 0.4.1.3-alpha-dev
Nick Mathewson [Tue, 25 Jun 2019 15:55:53 +0000 (11:55 -0400)] 
bump to 0.4.1.3-alpha-dev

6 years agoMerge remote-tracking branch 'tor-github/pr/1130' into maint-0.4.1
Nick Mathewson [Mon, 24 Jun 2019 17:36:10 +0000 (13:36 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1130' into maint-0.4.1

6 years agobump to 0.4.1.3-alpha
Nick Mathewson [Mon, 24 Jun 2019 13:32:46 +0000 (09:32 -0400)] 
bump to 0.4.1.3-alpha

6 years agostats: Always publish pluggable transports in extra info documents
teor [Mon, 24 Jun 2019 09:44:24 +0000 (19:44 +1000)] 
stats: Always publish pluggable transports in extra info documents

Always publish bridge pluggable transport information in the extra info
descriptor, even if ExtraInfoStatistics is 0. This information is
needed by BridgeDB.

Fixes bug 30956; bugfix on 0.4.1.1-alpha.

6 years agoremove practracker from check-local (0.4.1 only)
Nick Mathewson [Wed, 19 Jun 2019 18:29:08 +0000 (14:29 -0400)] 
remove practracker from check-local (0.4.1 only)

6 years agoMake the great grand practracker happy...
David Goulet [Tue, 18 Jun 2019 17:33:10 +0000 (13:33 -0400)] 
Make the great grand practracker happy...

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoguard: Ignore marked for close circuit when changing state to open
David Goulet [Tue, 18 Jun 2019 17:32:45 +0000 (13:32 -0400)] 
guard: Ignore marked for close circuit when changing state to open

When we consider all circuits in "waiting for guard" state to be promoted to
an "open" state, we were considering all circuits, even the one marked for
close.

This ultiamtely triggers a "circuit_has_opened()" called on the circuit that
is marked for close which then leads to possible undesirable behaviors within
a subsystem.

For instance, the HS subsystem would be unable to find the authentication key
of the introduction point circuit leading to a BUG() warning and a duplicate
mark for close on the circuit.

This commit also adds a unit test to make sure we never select marked for
close circuits when upgrading its guard state from waiting for guard to open.

Fixes #30871

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoFix memleak when failing to parse a CSV_INTERVAL.
Nick Mathewson [Sat, 15 Jun 2019 20:47:16 +0000 (16:47 -0400)] 
Fix memleak when failing to parse a CSV_INTERVAL.

Fixes bug 30894; bugfix on 0.3.4.1-alpha

6 years agoMerge branch 'tor-github/pr/1050' into maint-0.4.1
David Goulet [Tue, 11 Jun 2019 15:29:46 +0000 (11:29 -0400)] 
Merge branch 'tor-github/pr/1050' into maint-0.4.1

6 years agoAdd a changes file for ticket 30686.
Nick Mathewson [Wed, 29 May 2019 13:23:13 +0000 (09:23 -0400)] 
Add a changes file for ticket 30686.

6 years agoGive a compile warning when we don't have any flags for minherit().
Nick Mathewson [Wed, 29 May 2019 13:22:18 +0000 (09:22 -0400)] 
Give a compile warning when we don't have any flags for minherit().

Part of ticket 30686.

6 years agoGive a more useful failure messgae when we fail to minherit().
Nick Mathewson [Wed, 29 May 2019 13:21:45 +0000 (09:21 -0400)] 
Give a more useful failure messgae when we fail to minherit().

Part of ticket 30686.

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Tue, 11 Jun 2019 14:17:18 +0000 (10:17 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Tue, 11 Jun 2019 14:17:18 +0000 (10:17 -0400)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.5
Nick Mathewson [Tue, 11 Jun 2019 14:17:17 +0000 (10:17 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.5

6 years agoUpdate geoip and geoip6 to the June 10 2019 database.
Karsten Loesing [Tue, 11 Jun 2019 14:12:50 +0000 (16:12 +0200)] 
Update geoip and geoip6 to the June 10 2019 database.

6 years agoMerge remote-tracking branch 'tor-github/pr/1082' into maint-0.4.1
Nick Mathewson [Tue, 11 Jun 2019 12:41:48 +0000 (08:41 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1082' into maint-0.4.1

6 years agocircpad: some more logging changes.
George Kadianakis [Tue, 11 Jun 2019 11:28:38 +0000 (14:28 +0300)] 
circpad: some more logging changes.

- Add an info log when receiving a STOP command.
- Keep warning if we receive padding from a wrong hop.

6 years agoMerge branch 'tor-github/pr/1065' into maint-0.4.1
George Kadianakis [Tue, 11 Jun 2019 10:48:10 +0000 (13:48 +0300)] 
Merge branch 'tor-github/pr/1065' into maint-0.4.1

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
teor [Tue, 11 Jun 2019 04:52:36 +0000 (14:52 +1000)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
teor [Tue, 11 Jun 2019 04:52:27 +0000 (14:52 +1000)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/1094' into maint-0.3.5
teor [Tue, 11 Jun 2019 04:51:46 +0000 (14:51 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1094' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/1091' into maint-0.3.5
teor [Tue, 11 Jun 2019 04:51:37 +0000 (14:51 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1091' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/990' into maint-0.3.5
teor [Tue, 11 Jun 2019 04:48:52 +0000 (14:48 +1000)] 
Merge remote-tracking branch 'tor-github/pr/990' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/971' into maint-0.3.5
teor [Tue, 11 Jun 2019 04:47:40 +0000 (14:47 +1000)] 
Merge remote-tracking branch 'tor-github/pr/971' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/924' into maint-0.3.5
teor [Tue, 11 Jun 2019 04:46:24 +0000 (14:46 +1000)] 
Merge remote-tracking branch 'tor-github/pr/924' into maint-0.3.5

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 10 Jun 2019 22:44:31 +0000 (18:44 -0400)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge remote-tracking branch 'tor-github/pr/1094' into maint-0.4.0
Nick Mathewson [Mon, 10 Jun 2019 22:44:20 +0000 (18:44 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1094' into maint-0.4.0

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Mon, 10 Jun 2019 22:33:26 +0000 (18:33 -0400)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge remote-tracking branch 'tor-github/pr/1097' into maint-0.4.1
Nick Mathewson [Mon, 10 Jun 2019 22:31:23 +0000 (18:31 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1097' into maint-0.4.1

6 years agoMerge remote-tracking branch 'tor-github/pr/1064' into maint-0.4.1
Nick Mathewson [Mon, 10 Jun 2019 13:37:17 +0000 (09:37 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1064' into maint-0.4.1

6 years agotest: fix a typo in test_rebind.sh
teor [Mon, 10 Jun 2019 10:56:40 +0000 (20:56 +1000)] 
test: fix a typo in test_rebind.sh

Closes 30821.

6 years agoMerge branch 'bug30713_035' into bug30713_040
teor [Mon, 10 Jun 2019 10:50:53 +0000 (20:50 +1000)] 
Merge branch 'bug30713_035' into bug30713_040

6 years agoTravis: Skip test_rebind on macOS builds
teor [Mon, 10 Jun 2019 08:59:02 +0000 (18:59 +1000)] 
Travis: Skip test_rebind on macOS builds

Skip test_rebind when the TOR_SKIP_TEST_REBIND environmental variable
is set.

Skip test_rebind on macOS in Travis builds, because it is unreliable
on macOS on Travis.

Fixes bug 30713; bugfix on 0.3.5.1-alpha.

6 years agoTravis: allow the test-stem job to fail
teor [Mon, 10 Jun 2019 09:18:35 +0000 (19:18 +1000)] 
Travis: allow the test-stem job to fail

Allow the test-stem job to fail in Travis, because it sometimes hangs.

Fixes bug 30744; bugfix on 0.3.5.4-alpha.

6 years agobump to 0.4.1.2-alpha-dev
Nick Mathewson [Thu, 6 Jun 2019 12:28:34 +0000 (08:28 -0400)] 
bump to 0.4.1.2-alpha-dev

6 years agopractracker: accept 3 extra lines in router_parse_entry_from_string()
teor [Thu, 6 Jun 2019 03:42:30 +0000 (13:42 +1000)] 
practracker: accept 3 extra lines in router_parse_entry_from_string()

practracker exception for bug 30781.

6 years agoMerge branch 'bug30781_040' into bug30781_master
teor [Wed, 5 Jun 2019 23:57:31 +0000 (09:57 +1000)] 
Merge branch 'bug30781_040' into bug30781_master

6 years agoMerge branch 'bug30781_035' into bug30781_040
teor [Wed, 5 Jun 2019 23:56:50 +0000 (09:56 +1000)] 
Merge branch 'bug30781_035' into bug30781_040

6 years agoMerge branch 'bug30781_034' into bug30781_035
teor [Wed, 5 Jun 2019 23:55:44 +0000 (09:55 +1000)] 
Merge branch 'bug30781_034' into bug30781_035

Moved fix from src/or/routerparse.c to src/feature/dirparse/routerparse.c.

6 years agoMerge branch 'bug30781_029' into bug30781_034
teor [Wed, 5 Jun 2019 23:53:02 +0000 (09:53 +1000)] 
Merge branch 'bug30781_029' into bug30781_034

6 years agodirparse: Stop crashing when parsing unknown descriptor purpose annotations
teor [Wed, 5 Jun 2019 23:12:14 +0000 (09:12 +1000)] 
dirparse: Stop crashing when parsing unknown descriptor purpose annotations

We think this bug can only be triggered by modifying a local file.

Fixes bug 30781; bugfix on 0.2.0.8-alpha.

6 years agoMerge branch 'maint-0.4.0' tor-0.4.1.2-alpha
Nick Mathewson [Wed, 5 Jun 2019 20:24:10 +0000 (16:24 -0400)] 
Merge branch 'maint-0.4.0'

6 years agoMerge remote-tracking branch 'tor-github/pr/988' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:22:52 +0000 (16:22 -0400)] 
Merge remote-tracking branch 'tor-github/pr/988' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/989' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:22:29 +0000 (16:22 -0400)] 
Merge remote-tracking branch 'tor-github/pr/989' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/952' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:16:34 +0000 (16:16 -0400)] 
Merge remote-tracking branch 'tor-github/pr/952' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/741' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:14:51 +0000 (16:14 -0400)] 
Merge remote-tracking branch 'tor-github/pr/741' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/1039' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:13:53 +0000 (16:13 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1039' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/971' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:12:07 +0000 (16:12 -0400)] 
Merge remote-tracking branch 'tor-github/pr/971' into maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/1020' into maint-0.4.0
Nick Mathewson [Wed, 5 Jun 2019 20:10:51 +0000 (16:10 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1020' into maint-0.4.0

6 years agopush release date to tomorrow: too many last minute surprises
Nick Mathewson [Wed, 5 Jun 2019 19:53:52 +0000 (15:53 -0400)] 
push release date to tomorrow: too many last minute surprises

6 years agochange some CI-substitute logic
Nick Mathewson [Wed, 5 Jun 2019 19:38:25 +0000 (15:38 -0400)] 
change some CI-substitute logic

6 years agoMerge remote-tracking branch 'tor-github/pr/1076'
Nick Mathewson [Wed, 5 Jun 2019 19:35:43 +0000 (15:35 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1076'

6 years agoMore LOG_PROTOCOL_WARN.
Mike Perry [Wed, 5 Jun 2019 19:33:39 +0000 (12:33 -0700)] 
More LOG_PROTOCOL_WARN.

Make origin-side messages about padding negotiation failure into
LOG_PROTOCOL_WARN.

I'm not sure I like this either.. But the negotiation refusal case might
happen naturally due to consensus drift, and is functionally no different than
a corrupted cell.

6 years agoBug 29034: Cleanup hs circuitmap when purpose changes.
Mike Perry [Wed, 5 Jun 2019 18:50:44 +0000 (11:50 -0700)] 
Bug 29034: Cleanup hs circuitmap when purpose changes.

Leave the other rend and hs_ident data around until circuit free, since code
may still try to inspect it after marking the circuit for close. The
circuitmap is the important thing to clean up, since repurposed
intropoints must be removed from this map to ensure validity.

6 years agoRevert "hs: Implement a helper to repurpose a circuit"
Mike Perry [Wed, 5 Jun 2019 18:38:01 +0000 (11:38 -0700)] 
Revert "hs: Implement a helper to repurpose a circuit"

This reverts commit 3789f22bcbfbc6de415a838e4c4bfb2555c7d6c3.

6 years agoRevert "test: Add test_hs_circ.c for HS circuit testing"
Mike Perry [Wed, 5 Jun 2019 18:37:32 +0000 (11:37 -0700)] 
Revert "test: Add test_hs_circ.c for HS circuit testing"

This reverts commit 41b94722e5c93ec06911f9c63296a65ce295c1ea.

6 years agoAdd missing newline after decode_intro_points() closing bracket
Neel Chauhan [Wed, 5 Jun 2019 16:50:01 +0000 (12:50 -0400)] 
Add missing newline after decode_intro_points() closing bracket

6 years agoDon't access rend data after a circuit has been marked for close.
George Kadianakis [Wed, 5 Jun 2019 15:19:23 +0000 (18:19 +0300)] 
Don't access rend data after a circuit has been marked for close.

This can cause issues if the circuit was repurposed into a padding circuit
instead of closing, since in that case we will wipe off the rend_data.

6 years agominor changelog edits
Nick Mathewson [Wed, 5 Jun 2019 13:43:43 +0000 (09:43 -0400)] 
minor changelog edits

6 years agoReplace a missing end-of-comment string
Nick Mathewson [Wed, 5 Jun 2019 13:35:45 +0000 (09:35 -0400)] 
Replace a missing end-of-comment string

This happened when I went to fix long lines after running "make
autostyle".

6 years agoRegenerate practracker excpetions file
Nick Mathewson [Wed, 5 Jun 2019 13:34:14 +0000 (09:34 -0400)] 
Regenerate practracker excpetions file

6 years agoRun "make autostyle."
Nick Mathewson [Wed, 5 Jun 2019 13:33:35 +0000 (09:33 -0400)] 
Run "make autostyle."

6 years agoBump to 0.4.1.2-alpha
Nick Mathewson [Wed, 5 Jun 2019 13:25:21 +0000 (09:25 -0400)] 
Bump to 0.4.1.2-alpha

6 years agoRewrap the changelog
Nick Mathewson [Wed, 5 Jun 2019 13:24:42 +0000 (09:24 -0400)] 
Rewrap the changelog

6 years agoStart a changelog for 0.4.1.2-alpha
Nick Mathewson [Wed, 5 Jun 2019 13:24:18 +0000 (09:24 -0400)] 
Start a changelog for 0.4.1.2-alpha

6 years agopractracker update
Nick Mathewson [Wed, 5 Jun 2019 13:06:43 +0000 (09:06 -0400)] 
practracker update

6 years agoMerge remote-tracking branch 'tor-github/pr/1053'
Nick Mathewson [Wed, 5 Jun 2019 13:04:09 +0000 (09:04 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1053'

6 years agoMerge branch 'bug30286_2_squashed'
Nick Mathewson [Wed, 5 Jun 2019 12:32:39 +0000 (08:32 -0400)] 
Merge branch 'bug30286_2_squashed'

6 years agoDocument TOR_UPSTREAM_REMOTE_NAME env variable
rl1987 [Fri, 17 May 2019 16:24:26 +0000 (19:24 +0300)] 
Document TOR_UPSTREAM_REMOTE_NAME env variable

6 years agoFix typo in #29670 changes file.
George Kadianakis [Wed, 5 Jun 2019 11:56:28 +0000 (14:56 +0300)] 
Fix typo in #29670 changes file.

6 years agoMerge branch 'tor-github/pr/1072'
George Kadianakis [Wed, 5 Jun 2019 11:40:38 +0000 (14:40 +0300)] 
Merge branch 'tor-github/pr/1072'

6 years agoMerge branch 'tor-github/pr/1067'
David Goulet [Tue, 4 Jun 2019 13:57:03 +0000 (09:57 -0400)] 
Merge branch 'tor-github/pr/1067'

6 years agoupdate practracker
Nick Mathewson [Tue, 4 Jun 2019 12:29:43 +0000 (08:29 -0400)] 
update practracker

6 years agoMerge branch 'bug29670_035' into bug29670_041
Nick Mathewson [Tue, 4 Jun 2019 12:29:05 +0000 (08:29 -0400)] 
Merge branch 'bug29670_035' into bug29670_041

6 years agosendme: Do not decrement window in a log_debug()
David Goulet [Mon, 3 Jun 2019 18:31:51 +0000 (14:31 -0400)] 
sendme: Do not decrement window in a log_debug()

If "Log debug ..." is not set, the decrement never happens. This lead to the
package/deliver window to be out of sync at the stream level and thus breaking
the connection after 50+ cells.

Fixes #30628

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agofix some simple typos
Roger Dingledine [Sat, 1 Jun 2019 19:37:51 +0000 (15:37 -0400)] 
fix some simple typos

6 years agoPractracker excpetions.
Nick Mathewson [Fri, 31 May 2019 16:41:44 +0000 (12:41 -0400)] 
Practracker excpetions.

6 years agoMerge branch 'bug29875_035' into bug29875_master
Nick Mathewson [Fri, 31 May 2019 16:40:43 +0000 (12:40 -0400)] 
Merge branch 'bug29875_035' into bug29875_master

6 years agochanges file for bug 29875.
Nick Mathewson [Fri, 31 May 2019 16:39:52 +0000 (12:39 -0400)] 
changes file for bug 29875.

6 years agonum_bridges_usable(): only count configured bridges.
Nick Mathewson [Fri, 31 May 2019 16:19:29 +0000 (12:19 -0400)] 
num_bridges_usable(): only count configured bridges.

When this function was implemented, it counted all the entry guards
in the bridge set.  But this included previously configured bridges,
as well as currently configured ones!  Instead, only count the
_filtered_ bridges (ones that are configured and possibly reachable)
as maybe usable.

Fixes bug 29875; bugfix on 0.3.0.1-alpha.

6 years agoConsider dir info to have changed when the bridges change
Nick Mathewson [Fri, 31 May 2019 15:46:58 +0000 (11:46 -0400)] 
Consider dir info to have changed when the bridges change

Otherwise, we won't realize that we haven't got enough bridge
information to build circuits.  Part of a fix for ticket 29875.

6 years agotest: Add test_hs_circ.c for HS circuit testing
David Goulet [Fri, 31 May 2019 14:43:01 +0000 (10:43 -0400)] 
test: Add test_hs_circ.c for HS circuit testing

For now, only tests HS circuit repurpose function.

Part of #29034

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoFix some tests for CL_PORT_NO_STREAM_OPTIONS
Nick Mathewson [Fri, 31 May 2019 13:03:16 +0000 (09:03 -0400)] 
Fix some tests for CL_PORT_NO_STREAM_OPTIONS

The comment in the tests was correct: this option _was_ inverted wrt
SessionGroup=.

6 years agoFix a logic error in deciding whether to accept SessionGroup=
Nick Mathewson [Fri, 31 May 2019 12:26:10 +0000 (08:26 -0400)] 
Fix a logic error in deciding whether to accept SessionGroup=

Fixes bug 22619; bugfix on 0.2.7.2-alpha

6 years agoMention Travis/Appveyor/Jenkins URLs in ReleasingTor.md
rl1987 [Fri, 31 May 2019 06:35:19 +0000 (09:35 +0300)] 
Mention Travis/Appveyor/Jenkins URLs in ReleasingTor.md