]>
git.ipfire.org Git - thirdparty/tor.git/log
George Kadianakis [Wed, 24 Jul 2019 09:29:57 +0000 (12:29 +0300)]
Merge branch 'tor-github/pr/1165'
Nick Mathewson [Tue, 23 Jul 2019 18:03:30 +0000 (14:03 -0400)]
Merge branch 'ticket24963_042_02'
Nick Mathewson [Tue, 23 Jul 2019 16:42:33 +0000 (12:42 -0400)]
Add a test for disallowing single-hop introductions.
Code from dgoulet.
Nick Mathewson [Tue, 23 Jul 2019 16:36:40 +0000 (12:36 -0400)]
Allow NULL circ->p_chan in circuit_is_suitable_for_introduce1()
This shouldn't be possible while Tor is running, but the tests can
hit this code. Rather than force the tests to add a dummy channel
object, let's just tolerate their incompletely built circuits.
Nick Mathewson [Tue, 23 Jul 2019 16:32:14 +0000 (12:32 -0400)]
Merge remote-tracking branch 'tor-github/pr/1185'
Nick Mathewson [Tue, 23 Jul 2019 16:30:19 +0000 (12:30 -0400)]
Merge remote-tracking branch 'tor-github/pr/1186'
David Goulet [Tue, 23 Jul 2019 13:46:29 +0000 (09:46 -0400)]
Merge branch 'tor-github/pr/1116'
David Goulet [Tue, 23 Jul 2019 13:43:36 +0000 (09:43 -0400)]
Merge branch 'tor-github/pr/1153'
David Goulet [Tue, 23 Jul 2019 13:39:51 +0000 (09:39 -0400)]
Merge branch 'maint-0.4.1'
David Goulet [Tue, 23 Jul 2019 13:39:43 +0000 (09:39 -0400)]
Merge branch 'tor-github/pr/1158' into maint-0.4.1
George Kadianakis [Tue, 23 Jul 2019 09:40:33 +0000 (12:40 +0300)]
Changes file for #31113.
pulls [Mon, 8 Jul 2019 14:53:29 +0000 (16:53 +0200)]
Improve circpad documentation.
Patch by Tobias Pulls.
George Kadianakis [Tue, 23 Jul 2019 08:46:07 +0000 (11:46 +0300)]
Add changes file for #31112 and #31098.
pulls [Mon, 8 Jul 2019 13:51:57 +0000 (15:51 +0200)]
transition when we send our first padding packet, not on received
pulls [Mon, 8 Jul 2019 16:09:14 +0000 (18:09 +0200)]
remove specified target_hopnum from relay-side machines (only for origin-side machines)
George Kadianakis [Thu, 4 Jul 2019 14:14:06 +0000 (17:14 +0300)]
Merge branch 'tor-github/pr/1152'
Roger Dingledine [Wed, 3 Jul 2019 20:01:05 +0000 (16:01 -0400)]
typo fix
Roger Dingledine [Wed, 3 Jul 2019 19:56:17 +0000 (15:56 -0400)]
clarify a comment in the tor-exit-notice text
(a relay operator in #tor-relays just now was confused and thought
that dirportfrontpage could serve multiple files, like a real webserver.)
Nick Mathewson [Wed, 3 Jul 2019 14:27:38 +0000 (10:27 -0400)]
Make config_lines_eq() take const arguments.
Nick Mathewson [Wed, 3 Jul 2019 14:21:49 +0000 (10:21 -0400)]
Revert "Add a function to append an existing line to a config line list."
This reverts commit
5a2ab886baaa125fe715acca8f7daf35031855aa .
Nick Mathewson [Wed, 3 Jul 2019 14:19:57 +0000 (10:19 -0400)]
Fix @file directive in var_type_def_st.h
Nick Mathewson [Tue, 2 Jul 2019 17:33:50 +0000 (13:33 -0400)]
Merge remote-tracking branch 'tor-github/pr/1136'
Nick Mathewson [Tue, 2 Jul 2019 17:33:37 +0000 (13:33 -0400)]
Merge remote-tracking branch 'tor-github/pr/1120'
rl1987 [Tue, 2 Jul 2019 17:06:23 +0000 (20:06 +0300)]
Early exit from post-merge git hook script when not merging to master
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
teor [Mon, 1 Jul 2019 04:36:53 +0000 (14:36 +1000)]
Merge branch 'chutney_ci_v4_040' into chutney_ci_v4_041
teor [Mon, 1 Jul 2019 04:36:15 +0000 (14:36 +1000)]
Merge branch 'chutney_ci_v4_035' into chutney_ci_v4_040
This merge removes an incorrect comment about the stem version
and commit script.
teor [Mon, 1 Jul 2019 04:33:54 +0000 (14:33 +1000)]
Travis: SKIP_MAKE_CHECK="yes" when running stem
And add some comments about stem
Part of 29280.
teor [Mon, 1 Jul 2019 04:31:17 +0000 (14:31 +1000)]
Merge branch 'chutney_ci_v4_029' into chutney_ci_v4_035
teor [Mon, 1 Jul 2019 04:11:25 +0000 (14:11 +1000)]
Travis: remove a redundant os: linux line
Linux is the first item in the os matrix, so we don't need to specify
it under matrix: include: .
Part of 29280.
teor [Mon, 1 Jul 2019 04:10:07 +0000 (14:10 +1000)]
Travis: show the chutney commit and python version
Part of 29280.
teor [Mon, 1 Jul 2019 04:05:26 +0000 (14:05 +1000)]
Travis: show chutney logs on chutney job failure
Part of 29280.
Roger Dingledine [Sun, 30 Jun 2019 02:26:00 +0000 (22:26 -0400)]
get rid of accidental second space
Nick Mathewson [Fri, 28 Jun 2019 15:57:36 +0000 (11:57 -0400)]
Coverity: different implementation for csiphash
Coverity has had trouble figuring out our csiphash implementation,
and has given spurious warnings about its behavior.
This patch changes the csiphash implementation when coverity is in
use, so that coverity can figure out that we are not about to read
beyond the provided input.
Closes ticket 31025.
Nick Mathewson [Fri, 28 Jun 2019 15:27:59 +0000 (11:27 -0400)]
begin_cell_parse(): Add an assertion to please coverity.
Coverity doesn't understand that if begin_cell_parse() returns 0 and
sets is_begindir to 0, its address field will always be set.
Fixes bug 30126; bugfix on 0.2.4.7-alpha; Fixes CID
1447296 .
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
teor [Mon, 24 Jun 2019 11:20:34 +0000 (21:20 +1000)]
stats: add comments about the required chunk structure in extra info files
These comments should prevent future instances of 30958.
And allow a larger file in practracker.
Follow up after 30958.
teor [Tue, 25 Jun 2019 02:29:28 +0000 (12:29 +1000)]
Merge branch 'bug30958_041' into bug30958_master
Nick Mathewson [Wed, 19 Jun 2019 12:15:13 +0000 (08:15 -0400)]
Add unit tests for the unitparse.c module.
Nick Mathewson [Wed, 19 Jun 2019 12:14:59 +0000 (08:14 -0400)]
Further clarify our clarification about the type of POSINT
Nick Mathewson [Fri, 14 Jun 2019 12:42:24 +0000 (08:42 -0400)]
Add a "typed_var" abstraction to implement lvalue access in C.
Right now, this has been done at a high level by confparse.c, but it
makes more sense to lower it.
This API is radically un-typesafe as it stands; we'll be wrapping it
in a safer API as we do #30914 and lower the struct manipulation
code as well.
Closes ticket 30864.
Nick Mathewson [Thu, 13 Jun 2019 19:19:26 +0000 (15:19 -0400)]
Add a function to append an existing line to a config line list.
We had an existing function to do this, but it took a pair of
strings rather than a line.
Nick Mathewson [Thu, 13 Jun 2019 15:59:17 +0000 (11:59 -0400)]
Move unit-parsing code to src/lib/confmgt
lib/confmgt is at a higher level than lib/conf, since it needs to
call down to logging and similar modules.
Nick Mathewson [Wed, 12 Jun 2019 14:18:30 +0000 (10:18 -0400)]
Start moving types that will be used for config vars to lib/conf
This will be a lower-level module than anything that actually
sets or handles configuration variables.
Part of 30864.
Nick Mathewson [Wed, 12 Jun 2019 20:37:21 +0000 (16:37 -0400)]
checkSpace.pl: Allow 'bool' before a space and an open-paren
We need this so we can declare function pointers returning bool
without upsetting our style checker. :/
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 11:31:27 +0000 (21:31 +1000)]
Merge branch 'bug30958_040' into bug30958_041
teor [Mon, 24 Jun 2019 11:31:10 +0000 (21:31 +1000)]
Merge branch 'bug30958_035' into bug30958_040
teor [Mon, 24 Jun 2019 11:30:47 +0000 (21:30 +1000)]
Merge branch 'bug30958_029' into bug30958_035
teor [Mon, 24 Jun 2019 11:19:49 +0000 (21:19 +1000)]
stats: Stop removing the
ed25519 signature if the extra info file is too big
If the signature data was removed, but the keyword was kept, this could
result in an unparseable extra info file.
Fixes bug 30958; bugfix on 0.2.7.2-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.