]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Thu, 17 Oct 2019 03:47:42 +0000 (13:47 +1000)]
Merge remote-tracking branch 'tor-github/pr/1419'
Obviously correct fixes to code that's already been reviewed.
Nick Mathewson [Wed, 16 Oct 2019 16:31:47 +0000 (12:31 -0400)]
Merge remote-tracking branch 'tor-github/pr/1329'
Nick Mathewson [Wed, 16 Oct 2019 16:08:38 +0000 (12:08 -0400)]
hs_cell.[ch]: repair doxygen.
Nick Mathewson [Wed, 16 Oct 2019 16:05:17 +0000 (12:05 -0400)]
or_options_st.h: repair some doxygen comments.
Nick Mathewson [Wed, 16 Oct 2019 16:04:53 +0000 (12:04 -0400)]
shared_random.[ch]: repair doxygen comments
Nick Mathewson [Wed, 16 Oct 2019 15:57:44 +0000 (11:57 -0400)]
hs_cache.[ch]: repair doxygen comments.
Nick Mathewson [Wed, 16 Oct 2019 15:51:47 +0000 (11:51 -0400)]
hs_client.[ch]: fix doxygen comments by using /**.
Nick Mathewson [Wed, 16 Oct 2019 15:44:30 +0000 (11:44 -0400)]
shared_random_state.[ch]: Repair a bunch of doxygen comments
These need to start with /**, not /*.
Nick Mathewson [Wed, 16 Oct 2019 15:39:10 +0000 (11:39 -0400)]
hs_common.[ch]: repair doxygen comments by replacing /* with /**
Nick Mathewson [Wed, 16 Oct 2019 15:33:03 +0000 (11:33 -0400)]
hs_descriptor.[ch]: repair doxygen comments.
These are yet more that were not made with "/**"
Nick Mathewson [Wed, 16 Oct 2019 15:26:20 +0000 (11:26 -0400)]
hs_service.c: repair doxygen comments
Nick Mathewson [Wed, 16 Oct 2019 15:18:43 +0000 (11:18 -0400)]
hs_service.h: repair doxygen comments.
Nick Mathewson [Wed, 16 Oct 2019 15:15:25 +0000 (11:15 -0400)]
address_set.c: doxygen comment repair.
Nick Mathewson [Wed, 16 Oct 2019 15:11:43 +0000 (11:11 -0400)]
channel.h: fix various doxygen warnings
There were a bunch of items where the doxygen comments were
formatted incorrectly (with /* instead of /**)
Nick Mathewson [Wed, 16 Oct 2019 15:08:34 +0000 (11:08 -0400)]
voting_schedule: fix doxygen comments to use /**
Previously some of the comments here used /*.
Nick Mathewson [Wed, 16 Oct 2019 14:31:44 +0000 (10:31 -0400)]
Make doc/doxygen before running doxygen.
This makes out-of-tree doxygen builds work.
Closes ticket 32113.
Nick Mathewson [Wed, 16 Oct 2019 14:28:03 +0000 (10:28 -0400)]
Merge branch 'ticket32099'
Nick Mathewson [Wed, 16 Oct 2019 14:14:51 +0000 (10:14 -0400)]
Merge branch 'ticket32110'
Nick Mathewson [Wed, 16 Oct 2019 13:56:31 +0000 (09:56 -0400)]
Doxygen: stop producing LaTeX.
Running doxygen with latex gave us all manner of unicode issues,
slowed down the "make doxygen" target by a lot, and added several
latex dependencies... all to produce a 4000-page reference manual
which is probably not what anybody wanted.
Closes ticket 32099.
Nick Mathewson [Wed, 16 Oct 2019 13:13:01 +0000 (09:13 -0400)]
Regenerate practracker exceptions file for 0.4.3 progress.
Nick Mathewson [Wed, 16 Oct 2019 13:14:01 +0000 (09:14 -0400)]
practracker: add a missing #.
Nick Mathewson [Wed, 16 Oct 2019 13:07:21 +0000 (09:07 -0400)]
Doxygen: update doxyfile to a more recent version.
I have left the settings at their old values, except when they
referred to nonexistent files.
Closes ticket 32110
Nick Mathewson [Wed, 16 Oct 2019 12:44:35 +0000 (08:44 -0400)]
Doxygen: Fix things that looked like links.
Doxygen thinks that saying #foo is linking to a "foo" anchor
someplace.
Nick Mathewson [Wed, 16 Oct 2019 12:39:41 +0000 (08:39 -0400)]
Doxygen: fix unrecognized commands.
Doxygen seems to interpret anything starting with \ as a command,
even when we don't mean it that way.
Nick Mathewson [Wed, 16 Oct 2019 12:25:10 +0000 (08:25 -0400)]
Doxygen: fix warnings about mismatched HTML tags.
Nick Mathewson [Wed, 16 Oct 2019 12:18:26 +0000 (08:18 -0400)]
Doxygen: Fix mismatched filenames.
In 8 places, our \file declarations didn't match the actual files
they were in.
Roger Dingledine [Wed, 16 Oct 2019 07:31:23 +0000 (03:31 -0400)]
never say XB, always XBytes
fix three more instances in the man page that we forgot to fix
in earlier attempts
teor [Tue, 15 Oct 2019 03:58:53 +0000 (13:58 +1000)]
scripts: Fix a git script comment
teor [Tue, 15 Oct 2019 03:36:56 +0000 (13:36 +1000)]
scripts: Merge forward test branch _042 into test branch _master
Fixes an issue where test branch _041 was merged into _042 and _master.
This issue only affects test branch mode (-t).
Nick Mathewson [Mon, 14 Oct 2019 19:56:49 +0000 (15:56 -0400)]
Merge branch 'design_revision'
Nick Mathewson [Mon, 14 Oct 2019 19:55:27 +0000 (15:55 -0400)]
Merge branch 'maint-0.4.2'
Nick Mathewson [Mon, 14 Oct 2019 19:55:13 +0000 (15:55 -0400)]
Merge remote-tracking branch 'tor-github/pr/1393' into maint-0.4.2
Nick Mathewson [Mon, 14 Oct 2019 19:53:04 +0000 (15:53 -0400)]
doc/HACKING/design: address comments from ahf
Nick Mathewson [Mon, 14 Oct 2019 19:05:47 +0000 (15:05 -0400)]
Edit 01b-collections.md a bit for md and missing content
Nick Mathewson [Mon, 14 Oct 2019 19:02:26 +0000 (15:02 -0400)]
Edit 01a-memory.md
Nick Mathewson [Mon, 14 Oct 2019 18:05:50 +0000 (14:05 -0400)]
Replace a unicode character which doxygen cannot handle.
Merging without review, as this is an editorial fix in a comment.
Nick Mathewson [Mon, 14 Oct 2019 17:49:27 +0000 (13:49 -0400)]
Rewrite "common" overview into a "lib" overview.
Nick Mathewson [Mon, 14 Oct 2019 14:59:32 +0000 (10:59 -0400)]
Rename common-utils to lib-overview.
Nick Mathewson [Mon, 14 Oct 2019 14:57:15 +0000 (10:57 -0400)]
00-overview.md: Revise to describe intended document structure
Nick Mathewson [Fri, 11 Oct 2019 21:26:34 +0000 (17:26 -0400)]
git scripts: add maint/release-0.4.2.
Nick Mathewson [Fri, 11 Oct 2019 21:20:54 +0000 (17:20 -0400)]
Merge branch 'maint-0.4.2'
"Ours" merge to avoid takign ".enable_practracker_in_hooks"
Nick Mathewson [Fri, 11 Oct 2019 21:18:55 +0000 (17:18 -0400)]
maint-0.4.2: remove ".enable_practracker_in_hooks".
Nick Mathewson [Fri, 11 Oct 2019 21:15:04 +0000 (17:15 -0400)]
Bump master to 0.4.3.0-alpha-dev.
Nick Mathewson [Fri, 11 Oct 2019 14:21:58 +0000 (10:21 -0400)]
Merge branch 'ticket31682_042_01_squashed'
Nick Mathewson [Fri, 11 Oct 2019 14:21:45 +0000 (10:21 -0400)]
Correct comment on build_establish_intro_dos_extension
David Goulet [Wed, 2 Oct 2019 17:19:51 +0000 (13:19 -0400)]
hs-v3: Fix implicit ssize_t to size_t conversion
Found by Coverity.
Fixes #31682
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Wed, 9 Oct 2019 20:44:12 +0000 (16:44 -0400)]
Merge remote-tracking branch 'tor-github/pr/1394'
Nick Mathewson [Wed, 9 Oct 2019 20:37:47 +0000 (16:37 -0400)]
Merge remote-tracking branch 'tor-github/pr/1399'
Nick Mathewson [Wed, 9 Oct 2019 20:29:46 +0000 (16:29 -0400)]
Merge remote-tracking branch 'tor-github/pr/1401'
Nick Mathewson [Wed, 9 Oct 2019 20:26:31 +0000 (16:26 -0400)]
Merge branch 'bug30344_squashed_035'
George Kadianakis [Mon, 30 Sep 2019 15:29:00 +0000 (18:29 +0300)]
Stop libevent from reading data from closed connections.
Code adapted from Rob's proposed patch in #30344.
Also add a comment in connection_mark_for_close_internal_() on why we should
not be adding extra code there without a very good reason.
Neel Chauhan [Wed, 18 Sep 2019 15:40:10 +0000 (11:40 -0400)]
test: New behavior on IP retry for HSv3
Unit test for #31652 where if we are over the retry limit for the IP but we
have an established circuit, we don't remove the IP.
Part of #31652
David Goulet [Tue, 10 Sep 2019 18:40:40 +0000 (14:40 -0400)]
hs-v3: Do not remove intro point if circuit exists
When considering introduction point of a service's descriptor, do not remove
an intro point that has an established or pending circuit.
Fixes #31652
Signed-off-by: David Goulet <dgoulet@torproject.org>
David Goulet [Tue, 8 Oct 2019 18:49:39 +0000 (14:49 -0400)]
Merge branch 'tor-github/pr/1381'
George Kadianakis [Tue, 8 Oct 2019 15:59:27 +0000 (18:59 +0300)]
Fix flapping of test_service_intro_point() unittest.
Nick Mathewson [Mon, 7 Oct 2019 14:23:44 +0000 (10:23 -0400)]
Merge remote-tracking branch 'tor-github/pr/1317'
Nick Mathewson [Mon, 7 Oct 2019 14:21:40 +0000 (10:21 -0400)]
Merge branch 'ticket31548_035_01_squashed'
David Goulet [Thu, 29 Aug 2019 14:46:24 +0000 (10:46 -0400)]
hs-v3: Make service pick the exact amount of intro points
When encoding introduction points, we were not checking if that intro points
had an established circuit.
When botting up, the service will pick, by default, 3 + 2 intro points and the
first 3 that establish, we use them and upload the descriptor.
However, the intro point is removed from the service descriptor list only when
the circuit has opened and we see that we have already enough intro points, it
is then removed.
But it is possible that the service establishes 3 intro points successfully
before the other(s) have even opened yet.
This lead to the service encoding extra intro points in the descriptor even
though the circuit is not opened or might never establish (#31561).
Fixes #31548
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 7 Oct 2019 14:15:46 +0000 (10:15 -0400)]
Merge remote-tracking branch 'tor-github/pr/1379'
Nick Mathewson [Mon, 7 Oct 2019 14:13:32 +0000 (10:13 -0400)]
Merge remote-tracking branch 'tor-github/pr/1390'
Nick Mathewson [Mon, 7 Oct 2019 13:32:26 +0000 (09:32 -0400)]
bump to 0.4.2.2-alpha-dev
Roger Dingledine [Mon, 7 Oct 2019 04:48:11 +0000 (00:48 -0400)]
fix typo in how-to-review guidelines
Nick Mathewson [Thu, 3 Oct 2019 12:57:14 +0000 (08:57 -0400)]
Use {mock,unmock}_hostname_resolver() in relevant tests
These tests all invoke the hostname resolver in one way or another,
and therefore potentially block if our DNS server is missing,
absent, or extremely slow. Closes ticket 31841.
Nick Mathewson [Thu, 3 Oct 2019 12:54:17 +0000 (08:54 -0400)]
Add a mock replacement for blocking hostname resolution
Based on examination of our tests, this mock function accepts
"localhost" and "torproject.org", and rejects everything else.
Nick Mathewson [Thu, 3 Oct 2019 11:50:18 +0000 (07:50 -0400)]
Make tor_addr_lookup_host_impl mockable.
teor [Fri, 4 Oct 2019 02:33:34 +0000 (12:33 +1000)]
tls: Log TLS read buffer length bugs once
Rather than filling the logs with similar warnings.
Fixes bug 31939; bugfix on 0.3.0.4-rc.
teor [Fri, 4 Oct 2019 01:26:43 +0000 (11:26 +1000)]
Merge remote-tracking branch 'tor-github/pr/1392'
David Goulet [Wed, 11 Sep 2019 12:46:31 +0000 (08:46 -0400)]
hs: ADD_ONION NEW:BEST now defaults to
ED25519 -V3
From RSA1024 (v2) to v3 now.
Closes #29669
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 3 Oct 2019 18:58:51 +0000 (14:58 -0400)]
Pick a release date for 0.4.2.2-alpha
Nick Mathewson [Thu, 3 Oct 2019 16:34:21 +0000 (12:34 -0400)]
Light edits on 0.4.2.2-alpha changelog.
Nick Mathewson [Thu, 3 Oct 2019 16:24:47 +0000 (12:24 -0400)]
lightly sort changelog entries
Nick Mathewson [Thu, 3 Oct 2019 16:23:05 +0000 (12:23 -0400)]
Run format_changelog
Nick Mathewson [Thu, 3 Oct 2019 16:22:46 +0000 (12:22 -0400)]
Sort changes entries into a changelog for 0.4.2.2-alpha
George Kadianakis [Thu, 3 Oct 2019 16:13:57 +0000 (19:13 +0300)]
Merge branch 'tor-github/pr/1377'
George Kadianakis [Thu, 3 Oct 2019 16:13:02 +0000 (19:13 +0300)]
Merge branch 'tor-github/pr/1276'
Nick Mathewson [Thu, 29 Aug 2019 15:45:41 +0000 (11:45 -0400)]
Unit tests for dirserv_reject_tor_version().
Nick Mathewson [Thu, 29 Aug 2019 15:43:43 +0000 (11:43 -0400)]
Authorities reject relays running unsupported Tor release series.
Our minimum version is now 0.2.9.5-alpha. Series 0.3.0, 0.3.1,
0.3.2, 0.3.3, and 0.3.4 are now rejected.
Also, extract this version-checking code into a new function, so we
can test it.
Closes ticket 31549.
Also reject 0.3.5.0 through 0.3.5.6-rc as unstable.
Nick Mathewson [Thu, 3 Oct 2019 16:07:50 +0000 (12:07 -0400)]
bump to 0.4.2.2-alpha
Nick Mathewson [Thu, 3 Oct 2019 13:19:37 +0000 (09:19 -0400)]
Merge remote-tracking branch 'tor-github/pr/1376'
Nick Mathewson [Thu, 3 Oct 2019 13:11:49 +0000 (09:11 -0400)]
Merge remote-tracking branch 'tor-github/pr/1358'
Nick Mathewson [Thu, 3 Oct 2019 13:08:23 +0000 (09:08 -0400)]
Merge remote-tracking branch 'tor-github/pr/1382'
Nick Mathewson [Thu, 3 Oct 2019 01:22:53 +0000 (21:22 -0400)]
Unify backend implementations for blocking hostname lookup
We have a getaddrinfo() implementation that we prefer, and a
gethostbyname*() implementation that we fall back on. Give them
both the same interface, and let them be called by the same name.
This is a preparatory step for making them both mockable.
Nick Mathewson [Thu, 3 Oct 2019 11:21:25 +0000 (07:21 -0400)]
util/map_anon_nofork: Add a cast to avoid passing -48 to memset
This fixes coverity CID
1454593 , and bug 31948. Bug not in any
released version of Tor.
teor [Thu, 3 Oct 2019 06:53:12 +0000 (16:53 +1000)]
configure: List the env vars needed if pkg-config doesn't work
Part of 31922.
teor [Thu, 3 Oct 2019 06:32:30 +0000 (16:32 +1000)]
configure: Fix a typo in the systemd version message
teor [Thu, 3 Oct 2019 06:31:20 +0000 (16:31 +1000)]
configure: Give a more useful message when pkg-config fails
When pkg-config is not installed, or a library that depends on
pkg-config is not found, tell the user what to do to fix the
problem.
Fixes bug 31922; bugfix on 0.3.1.1-alpha.
teor [Mon, 5 Aug 2019 14:18:41 +0000 (00:18 +1000)]
control/control: Refactor some error handling code
Split some protocol error handling out of
connection_control_process_inbuf().
This refactor reduces the size of a practracker exception.
Closes 31840.
Nick Mathewson [Wed, 2 Oct 2019 23:19:11 +0000 (19:19 -0400)]
Merge remote-tracking branch 'tor-github/pr/1374'
David Goulet [Wed, 2 Oct 2019 18:15:31 +0000 (14:15 -0400)]
Merge branch 'tor-github/pr/1385'
David Goulet [Wed, 2 Oct 2019 14:37:49 +0000 (10:37 -0400)]
Merge branch 'tor-github/pr/1344'
David Goulet [Wed, 2 Oct 2019 14:34:46 +0000 (10:34 -0400)]
Merge branch 'tor-github/pr/1363'
Nick Mathewson [Wed, 2 Oct 2019 12:01:34 +0000 (08:01 -0400)]
Merge branch 'maint-0.4.1'
Nick Mathewson [Wed, 2 Oct 2019 12:01:34 +0000 (08:01 -0400)]
Merge branch 'maint-0.4.0' into maint-0.4.1
Nick Mathewson [Wed, 2 Oct 2019 12:01:34 +0000 (08:01 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Wed, 2 Oct 2019 12:01:33 +0000 (08:01 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Karsten Loesing [Wed, 2 Oct 2019 09:11:27 +0000 (11:11 +0200)]
Update geoip and geoip6 to the October 1 2019 database.
teor [Wed, 2 Oct 2019 02:12:26 +0000 (12:12 +1000)]
log: fix a typo in the function comment for log_fn_()
Closes 31923.
Nick Mathewson [Tue, 1 Oct 2019 16:55:42 +0000 (12:55 -0400)]
Fix a crash bug in max_u16_in_sl()
The documentation for this function says that the smartlist can
contain NULLs, but the code only handled NULLs if they were at the
start of the list.
We didn't notice this for a long time, because when Tor is run
normally, the sequence of msg_id_t is densely packed, and so this
list (mapping msg_id_t to channel_id_t) contains no NULL elements.
We could only run into this bug:
* when Tor was running in embedded mode, and starting more than once.
* when Tor ran first with more pubsub messages enabled, and then
later with fewer.
* When the second run (the one with fewer enabled pubsub messages)
had at least some messages enabled, and those messages were not
the ones with numerically highest msg_id_t values.
Fixes bug 31898; bugfix on
47de9c7b0a828de7fb8129413db70bc4e4ecac6d
in 0.4.1.1-alpha.
Nick Mathewson [Tue, 1 Oct 2019 16:52:13 +0000 (12:52 -0400)]
Add a test for max_u16_in_sl().
This test does not currently pass, because of bug 31898.
Nick Mathewson [Tue, 1 Oct 2019 16:42:26 +0000 (12:42 -0400)]
Rename max_in_sl to max_in_u16_sl, and expose it as STATIC.
Since we want to make this function slightly more visible for testing
purposes, it needs a better name.