]>
git.ipfire.org Git - thirdparty/tor.git/log
Taylor Yu [Wed, 10 Oct 2018 20:17:47 +0000 (15:17 -0500)]
Merge branch 'bug27738-034-merged' into bug27738-master-merged
Taylor Yu [Wed, 10 Oct 2018 20:13:02 +0000 (15:13 -0500)]
Merge branch 'bug27738-033' into bug27738-034
Taylor Yu [Wed, 10 Oct 2018 20:01:59 +0000 (15:01 -0500)]
Merge remote-tracking branch 'teor/bug27738-032' into bug27738-033
Nick Mathewson [Wed, 10 Oct 2018 18:27:27 +0000 (14:27 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 18:27:24 +0000 (14:27 -0400)]
Merge branch 'appveyor_pacman_fixes_034' into maint-0.3.4
Nick Mathewson [Wed, 10 Oct 2018 15:34:49 +0000 (11:34 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 15:34:49 +0000 (11:34 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 10 Oct 2018 15:34:48 +0000 (11:34 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Wed, 10 Oct 2018 15:26:41 +0000 (17:26 +0200)]
Update geoip and geoip6 to the October 9 2018 database.
Nick Mathewson [Wed, 10 Oct 2018 15:10:29 +0000 (11:10 -0400)]
fixup! Changes file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 14:20:01 +0000 (10:20 -0400)]
Changes file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 13:49:02 +0000 (09:49 -0400)]
Appveyor: Don't try to install the mingw openssl package
This package conflicts with a preinstalled mingw openssl.
Fixes bug 27943. I think this was an appveyor change, not a Tor bug.
Nick Mathewson [Wed, 10 Oct 2018 13:44:36 +0000 (09:44 -0400)]
Install only one of the two mingw architectures in appveyor
Closes ticket 27765
This commit also changes the appveyor file to a unified line ending
style, since the old one was pretty confused. Use "-b" to see the
real differences.
Nick Mathewson [Wed, 10 Oct 2018 13:24:48 +0000 (09:24 -0400)]
Merge remote-tracking branch 'tor-github/pr/384'
Nick Mathewson [Tue, 9 Oct 2018 16:46:46 +0000 (12:46 -0400)]
Merge remote-tracking branch 'tor-github/pr/385'
Nick Mathewson [Tue, 9 Oct 2018 13:04:53 +0000 (09:04 -0400)]
Merge remote-tracking branch 'public/ticket27856'
rl1987 [Sun, 7 Oct 2018 15:28:04 +0000 (18:28 +0300)]
Add changes file
Neel Chauhan [Fri, 5 Oct 2018 23:54:26 +0000 (19:54 -0400)]
Add newline between hs_client_get_random_intro_from_edge() and hs_client_receive_introduce_ack()
rl1987 [Wed, 3 Oct 2018 12:45:48 +0000 (15:45 +0300)]
Make sure we're removing conn from old_conns *once*
rl1987 [Fri, 21 Sep 2018 16:23:19 +0000 (19:23 +0300)]
Refrain from using SMARTLIST_DEL_CURRENT in retry_all_listeners
Nick Mathewson [Mon, 1 Oct 2018 17:12:33 +0000 (12:12 -0500)]
Merge remote-tracking branch 'public/bug27893'
Nick Mathewson [Mon, 1 Oct 2018 17:06:39 +0000 (12:06 -0500)]
Merge remote-tracking branch 'public/bug27728'
Nick Mathewson [Mon, 1 Oct 2018 17:01:46 +0000 (12:01 -0500)]
Fix a bug where we would crash on --version.
Bug not in any released Tor.
test-stem would have caught this.
Nick Mathewson [Thu, 27 Sep 2018 20:30:02 +0000 (16:30 -0400)]
Detect an unlikely integer overflow.
Nick Mathewson [Thu, 27 Sep 2018 20:26:06 +0000 (16:26 -0400)]
Merge branch 'split_stats'
Nick Mathewson [Thu, 27 Sep 2018 20:24:47 +0000 (16:24 -0400)]
Merge branch 'ticket_27861'
Nick Mathewson [Thu, 27 Sep 2018 17:26:47 +0000 (13:26 -0400)]
Prevent duplicate initialization of NSS DH module
Allowing this didn't do any actual harm, since there aren't any
shared structures or leakable objects here. Still, it's bad style
and might cause trouble in the future.
Closes ticket 27856.
Nick Mathewson [Thu, 27 Sep 2018 16:44:20 +0000 (12:44 -0400)]
Always initialize the periodic events list.
Various places in our code try to activate these events or check
their status, so we should make sure they're initialized as early as
possible. Fixes bug 27861; bugfix on 0.3.5.1-alpha.
Nick Mathewson [Thu, 27 Sep 2018 17:05:19 +0000 (13:05 -0400)]
Fix a memory leak in --dump-config
When freeing a configuration object from confparse.c in
dump_config(), we need to call the appropriate higher-level free
function (like or_options_free()) and not just config_free().
This only happens with options (since they're the one where
options_validate allocates extra stuff) and only when running
--dump-config with something other than minimal (since
OPTIONS_DUMP_MINIMAL doesn't hit this code).
Fixes bug 27893; bugfix on 0.3.2.1-alpha.
Nick Mathewson [Thu, 27 Sep 2018 15:59:39 +0000 (11:59 -0400)]
Mark a variable static.
Nick Mathewson [Thu, 27 Sep 2018 15:02:58 +0000 (11:02 -0400)]
geoip: fix windows compilation
Nick Mathewson [Thu, 27 Sep 2018 14:30:17 +0000 (10:30 -0400)]
Changes file for splitting stats
Nick Mathewson [Thu, 27 Sep 2018 14:26:01 +0000 (10:26 -0400)]
Extract the non-stats part of geoip into a new src/lib/geoip.
Nick Mathewson [Thu, 27 Sep 2018 14:15:39 +0000 (10:15 -0400)]
Remove excess dependencies from geoip.c
Nick Mathewson [Thu, 27 Sep 2018 13:35:47 +0000 (09:35 -0400)]
Split geoip from geoip-related stats.
This commit just moves the code to two separate files. The geoip
code still has a few needless dependencies on core/* and features/*.
Nick Mathewson [Thu, 27 Sep 2018 13:04:08 +0000 (09:04 -0400)]
Move the n_v3_ns_requests field out of geoip_country_t
This is preparation for splitting geoip.c into stats and non-stats
portions.
Nick Mathewson [Thu, 27 Sep 2018 12:21:17 +0000 (08:21 -0400)]
Move the predicted ports code out of rephist.c
It differs from the rest of the rephist code in that it's actually
necessary for Tor to operate, so it should probably go somewhere
else. I'm not sure where yet, so I'll leave it in the same
directory, but give it its own file.
Nick Mathewson [Wed, 26 Sep 2018 13:47:59 +0000 (09:47 -0400)]
Merge branch 'router_split'
Nick Mathewson [Wed, 26 Sep 2018 12:36:09 +0000 (08:36 -0400)]
Merge remote-tracking branch 'dgoulet/bug27550_035_01'
Nick Mathewson [Tue, 25 Sep 2018 22:54:17 +0000 (18:54 -0400)]
Changes file for splitting router.c
Nick Mathewson [Tue, 25 Sep 2018 22:33:13 +0000 (18:33 -0400)]
Remove extra includes from router.c
Nick Mathewson [Tue, 25 Sep 2018 21:57:58 +0000 (17:57 -0400)]
Revise things that had included router.h before
Make them only include the headers that they needed, and sort their
headers while we're at it.
Nick Mathewson [Tue, 25 Sep 2018 21:22:14 +0000 (17:22 -0400)]
Move the "is the network disabled?" functions out of router.c
Since this is completely core functionality, I'm putting it in
core/mainloop, even though it depends on feature/hibernate. We'll
have to sort that out in the future.
Nick Mathewson [Tue, 25 Sep 2018 20:37:54 +0000 (16:37 -0400)]
Move routerinfo_t functions out of router.c
(It turns out that some of the functions in router.h didn't even
exist any more, so I just got to delete their declarations completely.)
Nick Mathewson [Tue, 25 Sep 2018 20:22:11 +0000 (16:22 -0400)]
Extract nickname-checking functions from router.c
Nick Mathewson [Tue, 25 Sep 2018 20:13:47 +0000 (16:13 -0400)]
Move the various _describe() functions out of router.c
Note that I haven't separated the headers yet (there's still an
Nick Mathewson [Tue, 25 Sep 2018 20:00:50 +0000 (16:00 -0400)]
Extract all the "am I a server" functions from router.c
Nick Mathewson [Tue, 25 Sep 2018 19:39:24 +0000 (15:39 -0400)]
Move all authdir_mode_*() functions into authmode.h
Nick Mathewson [Tue, 25 Sep 2018 19:18:19 +0000 (15:18 -0400)]
Rename dirauth/mode.h to dirauth/authmode.h
This is preparation for having a routermode.h as well
Nick Mathewson [Tue, 25 Sep 2018 19:10:11 +0000 (15:10 -0400)]
Move self-test functionality into its own file.
Nick Mathewson [Tue, 25 Sep 2018 18:19:48 +0000 (14:19 -0400)]
Move key-loading and crosscert-checking out of feature/relay
This is also used by onion services, so it needs to go in another
module.
rl1987 [Tue, 25 Sep 2018 09:39:27 +0000 (12:39 +0300)]
Fix reference to socks-extensions.txt in tor-resolve manpage
Nick Mathewson [Mon, 24 Sep 2018 15:25:39 +0000 (11:25 -0400)]
Merge branch 'pr_339_squashed'
rl1987 [Fri, 14 Sep 2018 17:57:06 +0000 (20:57 +0300)]
Mention that we require Python 2.7 or newer
Nick Mathewson [Mon, 24 Sep 2018 15:17:09 +0000 (11:17 -0400)]
Merge branch 'bug26913_033'
Nick Mathewson [Wed, 19 Sep 2018 14:37:23 +0000 (10:37 -0400)]
Fix arm compilation with openssl <1.1
Bug 27781; bugfix on 0.3.5.1-alpha.
Nick Mathewson [Mon, 24 Sep 2018 15:10:56 +0000 (11:10 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Mon, 24 Sep 2018 15:08:27 +0000 (11:08 -0400)]
Fix the 0.3.4 part of bug 27781 (arm compilation)
Because with arm on OpenSSL <1.1 we don't define USE_EVP_AES_CTR, we
need to include crypto_util.h here.
Nick Mathewson [Mon, 24 Sep 2018 14:56:50 +0000 (10:56 -0400)]
Merge branch 'ticket26744'
Nick Mathewson [Sat, 22 Sep 2018 21:40:04 +0000 (17:40 -0400)]
Initialize mainloop events earlier, since other stuff may run them.
Fixes a stem test failure; bugfix on
c7ce6b9821be22e734b79e0 . Bug
not in any released Tor.
Nick Mathewson [Fri, 21 Sep 2018 20:49:20 +0000 (16:49 -0400)]
But, actually move systemd_watchdog_timer free into mainloop.c
Nick Mathewson [Fri, 21 Sep 2018 20:46:17 +0000 (16:46 -0400)]
Move systemd_watchdog_timer free into mainloop.c
Nick Mathewson [Fri, 21 Sep 2018 20:32:14 +0000 (16:32 -0400)]
Missing include in ntmain.c
Nick Mathewson [Fri, 21 Sep 2018 20:28:32 +0000 (16:28 -0400)]
Merge remote-tracking branch 'onionk/protover-rust1'
cypherpunks [Fri, 21 Sep 2018 20:14:53 +0000 (20:14 +0000)]
move protover_rust.c to core/or/
Missed in
667a6e8fe9b8169e86f3ab889c4ea8af845d6939 .
Nick Mathewson [Fri, 21 Sep 2018 20:13:59 +0000 (16:13 -0400)]
Merge remote-tracking branch 'tor-github/pr/365'
Nick Mathewson [Fri, 21 Sep 2018 19:03:42 +0000 (15:03 -0400)]
Add an include to get --disable-module-dirauth happy again
Nick Mathewson [Fri, 21 Sep 2018 17:02:12 +0000 (13:02 -0400)]
Merge remote-tracking branch 'dgoulet/ticket27774_035_03'
Nick Mathewson [Fri, 21 Sep 2018 14:26:57 +0000 (10:26 -0400)]
Split directory.c code into several modules
Parts of this C file naturally belong in dircache, dirclient, and
dircommon: so, move them there.
David Goulet [Fri, 21 Sep 2018 13:54:22 +0000 (09:54 -0400)]
man: Fix format typo for HiddenServiceExportCircuitID
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Fri, 21 Sep 2018 13:40:16 +0000 (09:40 -0400)]
Merge remote-tracking branch 'ahf-github/asn/bugs4700_2'
David Goulet [Fri, 21 Sep 2018 13:39:21 +0000 (09:39 -0400)]
fixup! hs-v3: Silence some logging for client authorization
Nick Mathewson [Fri, 21 Sep 2018 13:38:51 +0000 (09:38 -0400)]
Changes file for #26747
Nick Mathewson [Fri, 21 Sep 2018 13:37:23 +0000 (09:37 -0400)]
Merge branch 'split_mainloop_onion'
Nick Mathewson [Fri, 21 Sep 2018 13:36:31 +0000 (09:36 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Fri, 21 Sep 2018 13:35:54 +0000 (09:35 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 21 Sep 2018 13:35:51 +0000 (09:35 -0400)]
Merge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Fri, 21 Sep 2018 13:35:23 +0000 (09:35 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Fri, 21 Sep 2018 13:33:03 +0000 (09:33 -0400)]
Merge remote-tracking branch 'dgoulet/ticket27797_035_01'
Nick Mathewson [Thu, 20 Sep 2018 19:19:43 +0000 (15:19 -0400)]
Split main.c into main.c and mainloop.c
The main.c code is responsible for initialization and shutdown;
the mainloop.c code is responsible for running the main loop of Tor.
Splitting the "generic event loop" part of mainloop.c from the
event-loop-specific part is not done as part of this patch.
Nick Mathewson [Thu, 20 Sep 2018 17:55:02 +0000 (13:55 -0400)]
Move the non-crypto parts of onion.c out of src/core/crypto
The parts for handling cell formats should be in src/core/or.
The parts for handling onionskin queues should be in src/core/or.
Only the crypto wrapper belongs in src/core/crypto.
Nick Mathewson [Fri, 21 Sep 2018 13:11:33 +0000 (09:11 -0400)]
Bump to 0.3.5.2-alpha-dev
Alexander Færøy [Thu, 20 Sep 2018 19:15:25 +0000 (21:15 +0200)]
Document the haproxy option of HiddenServiceExportCircuitID.
See: https://bugs.torproject.org/4700
David Goulet [Fri, 21 Sep 2018 12:52:47 +0000 (08:52 -0400)]
fixup! hs-v3: Silence some logging for client authorization
David Goulet [Thu, 20 Sep 2018 13:32:13 +0000 (09:32 -0400)]
hs-v3: Don't BUG() if the RP node_t is invalid client side
When sending the INTRODUCE1 cell, we acquire the needed data for the cell but
if the RP node_t has invalid data, we'll fail the send and completely kill the
SOCKS connection.
Instead, close the rendezvous circuit and return a transient error meaning
that Tor can recover by selecting a new rendezvous point. We'll also do the
same when we are unable to encode the INTRODUCE1 cell for which at that point,
we'll simply take another shot at a new rendezvous point.
Fixes #27774
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Fri, 21 Sep 2018 12:12:50 +0000 (08:12 -0400)]
Set a release date
Nick Mathewson [Fri, 21 Sep 2018 12:10:39 +0000 (08:10 -0400)]
Put dirlist_free_all back in routerlist_free_all for unit tests
rl1987 [Fri, 21 Sep 2018 07:57:10 +0000 (10:57 +0300)]
Add changes file
rl1987 [Fri, 14 Sep 2018 17:13:23 +0000 (20:13 +0300)]
Check Python version in test_rebind.py
rl1987 [Fri, 14 Sep 2018 16:47:02 +0000 (19:47 +0300)]
Remove misleading first line in test_rebind.py
test_rebind.py actually does not require Python 3.
Bugfix on
5a11670fcaad0a58de48425ba80510effbe35628 ; bug not in any
Tor release.
Nick Mathewson [Thu, 20 Sep 2018 20:36:07 +0000 (16:36 -0400)]
Bump to 0.3.5.2-alpha
Nick Mathewson [Thu, 20 Sep 2018 20:35:36 +0000 (16:35 -0400)]
Start on an 0.3.5.2-alpha changelog
Nick Mathewson [Thu, 20 Sep 2018 20:30:33 +0000 (16:30 -0400)]
changes for 27799
Nick Mathewson [Thu, 20 Sep 2018 20:22:16 +0000 (16:22 -0400)]
Merge remote-tracking branch 'dgoulet/ticket27410_035_01'
Nick Mathewson [Thu, 20 Sep 2018 20:22:02 +0000 (16:22 -0400)]
Merge remote-tracking branch 'dgoulet/ticket27410_032_01'
Alexander Færøy [Thu, 20 Sep 2018 18:59:42 +0000 (20:59 +0200)]
Support 'none' in torrc for HiddenServiceExportCircuitID.
See: https://bugs.torproject.org/4700
Nick Mathewson [Thu, 20 Sep 2018 18:41:44 +0000 (14:41 -0400)]
Merge branch 'bug23512-v4-029-fixes'
Nick Mathewson [Thu, 20 Sep 2018 18:34:44 +0000 (14:34 -0400)]
Remove another needless typedef
Nick Mathewson [Thu, 20 Sep 2018 18:19:47 +0000 (14:19 -0400)]
Merge branch 'bug23512-v4-029-fixes'
Nick Mathewson [Thu, 20 Sep 2018 18:18:09 +0000 (14:18 -0400)]
Fix a pair of errors in bug23512