]>
git.ipfire.org Git - thirdparty/tor.git/log
George Kadianakis [Tue, 2 Jul 2019 10:19:40 +0000 (13:19 +0300)]
Merge remote-tracking branch 'dgoulet/ticket31008_035_01'
Nick Mathewson [Mon, 1 Jul 2019 18:25:13 +0000 (14:25 -0400)]
Merge branch '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
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)]
Merge 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.2.9' into maint-0.3.5
Roger Dingledine [Sun, 30 Jun 2019 02:26:00 +0000 (22:26 -0400)]
get rid of accidental second space
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.
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.
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.
David Goulet [Thu, 27 Jun 2019 18:47:11 +0000 (14:47 -0400)]
man: Fix -help typo to --help
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Thu, 27 Jun 2019 14:19:45 +0000 (10:19 -0400)]
Merge branch 'tor-github/pr/1129'
teor [Mon, 24 Jun 2019 03:50:26 +0000 (13:50 +1000)]
doc: update the man page entries for DirAuthority and FallbackDir
Improve the documentation for the DirAuthority and FallbackDir torrc
options.
Closes ticket 30955.
David Goulet [Wed, 26 Jun 2019 15:39:33 +0000 (11:39 -0400)]
Merge branch 'tor-github/pr/1140'
Nick Mathewson [Wed, 26 Jun 2019 14:06:02 +0000 (10:06 -0400)]
Merge branch '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
Nick Mathewson [Wed, 26 Jun 2019 13:57:20 +0000 (09:57 -0400)]
Merge branch 'bug30721_squashed'
teor [Fri, 14 Jun 2019 01:06:21 +0000 (11:06 +1000)]
test/addr: test that tor_addr_port_lookup() handles IP addresses and ports
And that it does something sensible with host and host:port.
Also reorder the tests into valid, invalid, and ambiguous.
And add some missing cases.
Note: tor_addr_port_lookup() handles ip, ip:port, host, and host:port.
Tests for 30721.
teor [Thu, 13 Jun 2019 14:49:45 +0000 (00:49 +1000)]
test/addr: test that tor_addr_lookup() handles IP addresses
And that it fails on IP:port and host:port, and does something sensible with
host.
Tests for 30721.
teor [Thu, 13 Jun 2019 14:00:05 +0000 (00:00 +1000)]
test/addr: test that tor_lookup_hostname() handles IPv4 addresses
And that it fails on IPv6 and host:port, and does something sensible with
host.
Tests for 30721.
teor [Thu, 13 Jun 2019 13:15:52 +0000 (23:15 +1000)]
test/addr: Add some ambiguous IPv6 cases to test_addr_parse()
Test some strings which could be parsed as IPv6 addresses,
or as IPv6:port strings.
Additional tests for 30721.
teor [Thu, 13 Jun 2019 13:14:16 +0000 (23:14 +1000)]
test/addr: Increase coverage in test_addr_parse()
Do as many tests as possible for each input string.
Then remove some redundant test cases.
Cleanup after 30721.
teor [Thu, 13 Jun 2019 12:30:03 +0000 (22:30 +1000)]
test/addr: Stop repeating so much code in test_addr_parse()
Cleanup after 30721.
teor [Thu, 13 Jun 2019 11:22:27 +0000 (21:22 +1000)]
test/addr: Add unit tests for the fixes in 30721
teor [Thu, 13 Jun 2019 11:21:19 +0000 (21:21 +1000)]
address/resolve: Require square brackets on IPv6 address:ports
When parsing addreses via Tor's internal address:port parsing and
DNS lookup APIs, require IPv6 addresses with ports to have square
brackets.
But allow IPv6 addresses without ports, whether or not they have
square brackets.
Fixes bug 30721; bugfix on 0.2.1.5-alpha.
teor [Thu, 13 Jun 2019 11:14:36 +0000 (21:14 +1000)]
address/resolve: try harder to avoid returning uninitialised data
Cleanup after 30721.
teor [Sun, 2 Jun 2019 08:42:01 +0000 (18:42 +1000)]
resolve: split sub-functions out of tor_addr_lookup()
And remove the practracker exception for tor_addr_lookup().
Cleanup after 30721.
teor [Sun, 2 Jun 2019 08:20:25 +0000 (18:20 +1000)]
resolve: refactor address family logic in tor_addr_lookup()
Cleanup after 30721.
teor [Sun, 2 Jun 2019 07:46:58 +0000 (17:46 +1000)]
resolve: consistently parse IP addresses in square brackets
When parsing addreses via Tor's internal DNS lookup API:
* reject IPv4 addresses in square brackets (with or without a port),
* accept IPv6 addresses in square brackets (with or without a port), and
* accept IPv6 addresses without square brackets, as long as they have no port.
This change completes the work started in 23082, making address parsing
consistent between tor's internal DNS lookup and address parsing APIs.
Fixes bug 30721; bugfix on 0.2.1.5-alpha.
Nick Mathewson [Wed, 26 Jun 2019 13:50:12 +0000 (09:50 -0400)]
Merge branch 'maint-0.4.1'
"ours" to avoid the 0.4.1 version of #30871.
Nick Mathewson [Wed, 26 Jun 2019 13:50:00 +0000 (09:50 -0400)]
Merge remote-tracking branch 'tor-github/pr/1119'
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
Nick Mathewson [Wed, 26 Jun 2019 13:40:01 +0000 (09:40 -0400)]
Merge remote-tracking branch 'tor-github/pr/1127'
George Kadianakis [Wed, 26 Jun 2019 07:57:24 +0000 (10:57 +0300)]
Merge branch 'tor-github/pr/1142'
George Kadianakis [Wed, 26 Jun 2019 07:56:08 +0000 (10:56 +0300)]
Merge branch 'tor-github/pr/1109'
George Kadianakis [Wed, 26 Jun 2019 07:55:05 +0000 (10:55 +0300)]
Merge branch 'tor-github/pr/1139'
George Kadianakis [Wed, 26 Jun 2019 07:53:34 +0000 (10:53 +0300)]
Merge branch 'tor-github/pr/1128'
George Kadianakis [Wed, 26 Jun 2019 07:51:50 +0000 (10:51 +0300)]
Merge branch '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
Taylor Yu [Tue, 25 Jun 2019 16:38:36 +0000 (11:38 -0500)]
Changes file for ticket 30889
Taylor Yu [Tue, 25 Jun 2019 15:34:53 +0000 (10:34 -0500)]
Fix some onion helpers
Fix add_onion_helper_clientauth() and add_onion_helper_keyarg() to
explicitly call the appropriate control reply abstractions instead of
allocating a string to pass to their callers.
Part of ticket 30889.
Taylor Yu [Tue, 25 Jun 2019 14:54:50 +0000 (09:54 -0500)]
Make control_write_reply() mockable
Part of ticket 30889.
Taylor Yu [Mon, 17 Jun 2019 20:08:11 +0000 (15:08 -0500)]
Clean up some uses of low-level control replies
Part of ticket 30889.
Nick Mathewson [Tue, 25 Jun 2019 15:57:08 +0000 (11:57 -0400)]
Remove changes files that appeared in 0.4.1.3-alpha or earlier.
Nick Mathewson [Tue, 25 Jun 2019 15:56:22 +0000 (11:56 -0400)]
Merge branch 'maint-0.4.1'
"ours" to avoid version bump.
Nick Mathewson [Tue, 25 Jun 2019 15:56:08 +0000 (11:56 -0400)]
forward-port the 0.4.1.3-alpha changelog
Nick Mathewson [Tue, 25 Jun 2019 15:55:53 +0000 (11:55 -0400)]
bump to 0.4.1.3-alpha-dev
Nick Mathewson [Mon, 24 Jun 2019 17:49:19 +0000 (13:49 -0400)]
Remove the unused "exitcode" variable from test_rebind.sh
Fixes a shellcheck issue; closes ticket 30964. No user-visible
change.
Nick Mathewson [Mon, 24 Jun 2019 17:45:05 +0000 (13:45 -0400)]
Don't try to shellcheck src/rust/registry
Fixes bug 30963; bug not in any released Tor.
Nick Mathewson [Mon, 24 Jun 2019 17:36:42 +0000 (13:36 -0400)]
Merge branch 'maint-0.4.1'
Nick Mathewson [Mon, 24 Jun 2019 17:36:36 +0000 (13:36 -0400)]
Merge remote-tracking branch 'tor-github/pr/1131'
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
Nick Mathewson [Mon, 24 Jun 2019 13:32:54 +0000 (09:32 -0400)]
Merge branch 'maint-0.4.1'
"ours" to avoid version bump.
Nick Mathewson [Mon, 24 Jun 2019 13:32:46 +0000 (09:32 -0400)]
bump to 0.4.1.3-alpha
teor [Mon, 24 Jun 2019 10:32:38 +0000 (20:32 +1000)]
stats: Split extrainfo_dump_to_string() into smaller functions.
Closes ticket 30956.
teor [Mon, 24 Jun 2019 09:47:34 +0000 (19:47 +1000)]
Merge branch 'bug30956_041' into bug30956_master
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.
rl1987 [Sun, 23 Jun 2019 11:12:05 +0000 (14:12 +0300)]
Improve comment in .travis.yml
rl1987 [Sun, 23 Jun 2019 11:00:43 +0000 (14:00 +0300)]
Fix shellcheck warning SC2034 in test_rebind.sh.
Bugfix on
be0a4be276c945e4e90b43ce8f784b5b75bef122 (not in any Tor release).
rl1987 [Sun, 23 Jun 2019 10:38:49 +0000 (13:38 +0300)]
Add changes file
rl1987 [Sun, 23 Jun 2019 10:31:47 +0000 (13:31 +0300)]
On Travis, put random data in ~/.torrc
Nick Mathewson [Wed, 19 Jun 2019 18:29:22 +0000 (14:29 -0400)]
Merge branch 'maint-0.4.1'
"ours" merge to avoid taking pracktracker removal.
Nick Mathewson [Wed, 19 Jun 2019 18:29:08 +0000 (14:29 -0400)]
remove practracker from check-local (0.4.1 only)
David Goulet [Wed, 19 Jun 2019 11:50:02 +0000 (07:50 -0400)]
changes: Fix typo in changes/ticket30893
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Wed, 19 Jun 2019 11:47:03 +0000 (07:47 -0400)]
Merge branch 'tor-github/pr/1113'
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>
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>
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>
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>
Nick Mathewson [Tue, 18 Jun 2019 13:10:34 +0000 (09:10 -0400)]
Merge remote-tracking branch 'tor-github/pr/1115'
Nick Mathewson [Mon, 17 Jun 2019 12:56:13 +0000 (08:56 -0400)]
Merge branch 'ticket29533_squashed'
rl1987 [Sun, 9 Jun 2019 15:23:05 +0000 (18:23 +0300)]
Add changes file
rl1987 [Sun, 9 Jun 2019 15:21:14 +0000 (18:21 +0300)]
Fix SC2034 in pre-push.git-hook
rl1987 [Sun, 9 Jun 2019 15:20:36 +0000 (18:20 +0300)]
Shellcheck all the scripts
Nick Mathewson [Mon, 17 Jun 2019 12:54:12 +0000 (08:54 -0400)]
Merge remote-tracking branch 'tor-github/pr/1100'
rl1987 [Sun, 16 Jun 2019 17:18:30 +0000 (20:18 +0300)]
Allow excluding documentation from the build
Nick Mathewson [Sat, 15 Jun 2019 20:50:02 +0000 (16:50 -0400)]
Merge branch 'bug30894_035' into ticket30893
Nick Mathewson [Sat, 15 Jun 2019 20:19:25 +0000 (16:19 -0400)]
Changes file for ticket 30893 (confparse testing)
Nick Mathewson [Sat, 15 Jun 2019 15:24:43 +0000 (11:24 -0400)]
Add more unit tests for confparse.c, so we can refactor.
This set of tests gets the line coverage to 100%.
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
Nick Mathewson [Wed, 12 Jun 2019 20:33:40 +0000 (16:33 -0400)]
Remove the PORT configuration type: nothing uses it.
All of our port configurations now use an extended format.
Nick Mathewson [Wed, 12 Jun 2019 17:49:47 +0000 (13:49 -0400)]
Renaming: CONFIG_TYPE_UINT -> CONFIG_TYPE_POSINT
This name has been a historical source of confusion, since "uint"
usually suggests "unsigned int" to people, when the real type is
"nonnegative int".
George Kadianakis [Fri, 14 Jun 2019 10:28:32 +0000 (13:28 +0300)]
Merge branch 'bug30806'
Nick Mathewson [Sat, 8 Jun 2019 00:03:26 +0000 (20:03 -0400)]
Make evloop into a subsystem.
Note that the event base object is _not_ created from the initialize
function, since it is configuration-dependent. This will wait until
configuration is integrated into subsystems.
Closes ticket 30806.
teor [Fri, 14 Jun 2019 01:49:02 +0000 (11:49 +1000)]
Merge branch 'bug30455_041' into bug30455_master
teor [Fri, 14 Jun 2019 01:44:26 +0000 (11:44 +1000)]
make: Improve the documentation for test-network-all
"make test-network-all" shows the warnings from each test-network.sh
run on the console, so developers see new warnings early.
Improve the documentation for this feature, and rename a Makefile
variable so the code is self-documenting.
Fixes bug 30455; bugfix on 0.3.0.4-rc.
teor [Thu, 13 Jun 2019 08:23:50 +0000 (18:23 +1000)]
practracker: accept an extra line in nt_service_install()
Part of 30799.
George Kadianakis [Wed, 12 Jun 2019 10:02:49 +0000 (13:02 +0300)]
Merge branch 'tor-github/pr/1099'
George Kadianakis [Wed, 12 Jun 2019 10:01:53 +0000 (13:01 +0300)]
Merge branch 'tor-github/pr/1088'
George Kadianakis [Wed, 12 Jun 2019 10:00:20 +0000 (13:00 +0300)]
Merge branch 'tor-github/pr/1102'
David Goulet [Tue, 11 Jun 2019 15:59:39 +0000 (11:59 -0400)]
Merge branch 'tor-github/pr/1040'
Taylor Yu [Wed, 22 May 2019 21:33:04 +0000 (16:33 -0500)]
Add changes file for 29976
Taylor Yu [Thu, 28 Mar 2019 22:45:49 +0000 (17:45 -0500)]
Rework origin circuit tracking to use pubsub
Part of ticket 29976.
Taylor Yu [Fri, 8 Mar 2019 15:41:43 +0000 (09:41 -0600)]
Rework orconn tracking to use pubsub
Part of ticket 29976.
David Goulet [Tue, 11 Jun 2019 15:46:38 +0000 (11:46 -0400)]
Merge branch 'tor-github/pr/1031'
David Goulet [Tue, 11 Jun 2019 15:43:15 +0000 (11:43 -0400)]
Merge branch 'tor-github/pr/1083'
David Goulet [Tue, 11 Jun 2019 15:30:05 +0000 (11:30 -0400)]
Merge branch '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
Nick Mathewson [Wed, 29 May 2019 13:23:13 +0000 (09:23 -0400)]
Add a changes file for ticket 30686.
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.
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.