]>
git.ipfire.org Git - thirdparty/tor.git/log
David Goulet [Tue, 12 Feb 2019 18:04:25 +0000 (13:04 -0500)]
Merge branch 'tor-github/pr/690'
David Goulet [Tue, 12 Feb 2019 18:02:30 +0000 (13:02 -0500)]
Merge branch 'tor-github/pr/671'
Nick Mathewson [Wed, 30 Jan 2019 08:22:36 +0000 (09:22 +0100)]
On windows, if we fail to load a consensus and it has a CRLF, retry.
Fixes bug 28614; bugfix on 0.4.0.1-alpha when we started mmapping
the consensus.
Nick Mathewson [Tue, 12 Feb 2019 14:56:50 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 12 Feb 2019 14:56:49 +0000 (09:56 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Tue, 12 Feb 2019 14:55:09 +0000 (09:55 -0500)]
Merge branch 'maint-0.3.5'
David Goulet [Thu, 29 Nov 2018 15:02:50 +0000 (10:02 -0500)]
test: Fix a warning underflow in rend_cache/clean
Because the test is adding entries to the "rend_cache" directly, the
rend_cache_increment_allocation() was never called which made the
rend_cache_clean() call trigger that underflow warning:
rend_cache/clean: [forking] Nov 29 09:55:04.024 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.0.0-alpha-dev
2240fe63feb9a8cf )
The test is still good and valid.
Fixes #28660
Signed-off-by: David Goulet <dgoulet@torproject.org>
Karsten Loesing [Tue, 12 Feb 2019 13:40:42 +0000 (14:40 +0100)]
Update geoip and geoip6 to the February 5 2019 database.
Nick Mathewson [Fri, 8 Feb 2019 13:37:46 +0000 (08:37 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Fri, 8 Feb 2019 13:37:43 +0000 (08:37 -0500)]
Merge branch 'ticket29040_1_changes' into maint-0.3.5
Nick Mathewson [Fri, 8 Feb 2019 13:37:23 +0000 (08:37 -0500)]
Add changes file for bug 29040.
Nick Mathewson [Fri, 8 Feb 2019 13:19:34 +0000 (08:19 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Fri, 8 Feb 2019 13:19:31 +0000 (08:19 -0500)]
Merge remote-tracking branch 'tor-github/pr/670' into maint-0.3.5
Roger Dingledine [Tue, 5 Feb 2019 13:10:43 +0000 (08:10 -0500)]
Merge branch 'maint-0.3.5'
Roger Dingledine [Tue, 5 Feb 2019 13:10:14 +0000 (08:10 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Roger Dingledine [Tue, 5 Feb 2019 13:09:47 +0000 (08:09 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Peter Gerber [Sat, 2 Feb 2019 23:09:44 +0000 (23:09 +0000)]
Add release note for bug 29150
Nick Mathewson [Fri, 1 Feb 2019 15:38:23 +0000 (16:38 +0100)]
Update Cargo.lock with new comment; suppress 29244.
Nick Mathewson [Tue, 29 Jan 2019 15:18:41 +0000 (16:18 +0100)]
Write consensus files in binary mode
This will help us out on windows now that we mmap files. Fixes part
of ticket 28614.
rl1987 [Sat, 26 Jan 2019 08:55:53 +0000 (10:55 +0200)]
Allow empty username/password in SOCKS5 username/password auth message
Nick Mathewson [Thu, 24 Jan 2019 20:23:06 +0000 (15:23 -0500)]
One more 32-bit clang warning
Nick Mathewson [Thu, 24 Jan 2019 18:20:21 +0000 (13:20 -0500)]
Use tt_u64_op() in test_circuitpadding.c to fix compilation warnings
Fixes bug 29169.
Nick Mathewson [Thu, 24 Jan 2019 16:08:10 +0000 (11:08 -0500)]
Merge branch 'precommit_squashed'
Nick Mathewson [Thu, 24 Jan 2019 13:06:09 +0000 (08:06 -0500)]
Only run the checkIncludes.py script if it exists
(It was added in 0.3.5)
Nick Mathewson [Thu, 24 Jan 2019 13:05:42 +0000 (08:05 -0500)]
lintChanges.py didn't take a directory argument in 0.2.9
rl1987 [Thu, 24 Jan 2019 10:22:28 +0000 (12:22 +0200)]
Also run checkInclude.py before every commit
rl1987 [Mon, 21 Jan 2019 11:01:52 +0000 (13:01 +0200)]
Add a pre-commit hook that runs code and changelog entry formatting checks
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:16:23 +0000 (12:16 +0700)]
hs-v3: add an option param to safe log functions
We add an option param to safe_str and safe_str_client because in
some case we need to use those functions before global_options is set.
Suphanat Chunhapanya [Tue, 15 Jan 2019 05:12:31 +0000 (12:12 +0700)]
hs-v3: fix use after free in client auth config
We accidentally use `auth` after freeing it in
client_service_authorization_free. The way to solve it is to
free after using it.
Nick Mathewson [Wed, 23 Jan 2019 16:18:14 +0000 (11:18 -0500)]
Merge branch 'maint-0.3.5'
rl1987 [Mon, 21 Jan 2019 10:06:46 +0000 (12:06 +0200)]
Log an HSDesc we failed to parse at Debug loglevel
Nick Mathewson [Wed, 23 Jan 2019 14:51:32 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Wed, 23 Jan 2019 14:51:02 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 23 Jan 2019 14:51:02 +0000 (09:51 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 23 Jan 2019 14:50:38 +0000 (09:50 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
"ours" merge to avoid dropping non-broken changes files after
removal of merged 0.2.9 changes files.
Nick Mathewson [Wed, 23 Jan 2019 14:48:28 +0000 (09:48 -0500)]
maint-0.2.9: remove changes files that are merged in 0.2.9 releases
Many of these files cause check-changes to fail, which will be a
long-term problem as we continue to support 0.2.9.
Peter Gerber [Tue, 22 Jan 2019 21:47:43 +0000 (21:47 +0000)]
Allow getsockopt(…, SOL_SOCKET, SO_ACCEPTCONN, …) in sandbox
SO_ACCEPTCONN checks whether socket listening is enabled and is
used ever since
9369152aae9527cc3764 has been merged.
Closes ticket #29150
Nick Mathewson [Tue, 22 Jan 2019 19:31:01 +0000 (14:31 -0500)]
Merge branch 'bug29122'
George Kadianakis [Mon, 21 Jan 2019 10:36:33 +0000 (12:36 +0200)]
Fix intermittent failures of test_circuitpadding_wronghop().
We fix it by disabling the scheduling of actual padding.
Fixes #29122.
Nick Mathewson [Tue, 22 Jan 2019 17:27:50 +0000 (12:27 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Tue, 22 Jan 2019 17:27:46 +0000 (12:27 -0500)]
correct bug number in 29042 changelog
Nick Mathewson [Tue, 22 Jan 2019 16:55:56 +0000 (11:55 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Tue, 22 Jan 2019 16:55:53 +0000 (11:55 -0500)]
Merge branch 'bug29042_035' into maint-0.3.5
Nick Mathewson [Tue, 22 Jan 2019 13:13:14 +0000 (08:13 -0500)]
Merge remote-tracking branch 'tor-github/pr/653'
Nick Mathewson [Tue, 22 Jan 2019 13:04:55 +0000 (08:04 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Tue, 22 Jan 2019 13:04:52 +0000 (08:04 -0500)]
Merge branch 'bug28979_035' into maint-0.3.5
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Fri, 18 Jan 2019 17:25:08 +0000 (12:25 -0500)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 18 Jan 2019 15:22:06 +0000 (10:22 -0500)]
Fix the year for 0.3.4.10 and 0.3.3.11
Nick Mathewson [Fri, 18 Jan 2019 15:15:02 +0000 (10:15 -0500)]
format_changelog: treat "issue NNNN" as a track ticket
Nick Mathewson [Fri, 18 Jan 2019 15:08:57 +0000 (10:08 -0500)]
Bump to 0.4.0.1-alpha-dev
Nick Mathewson [Thu, 17 Jan 2019 21:24:08 +0000 (16:24 -0500)]
Better failure message on stochastic test failure
Nick Mathewson [Thu, 17 Jan 2019 21:10:02 +0000 (16:10 -0500)]
Speed up the deterministic prng in test_prob_distr, by a lot.
Using a single xof object and squeezing it repeatedly should make
everything MUCH faster here.
Nick Mathewson [Thu, 17 Jan 2019 17:04:50 +0000 (12:04 -0500)]
Merge remote-tracking branch 'tor-github/pr/645'
Nick Mathewson [Thu, 17 Jan 2019 13:46:06 +0000 (08:46 -0500)]
lintChanges.py: Two python re usage fixes
Nick Mathewson [Wed, 16 Jan 2019 21:05:54 +0000 (16:05 -0500)]
Fix documentation for ClientAuth on HSv3.
The manpage erroneously said "privkey" when "public-key" would have
been correct. Reported by "Felixix" as ticket 28979. Bugfix on
0.3.5.1-alpha.
Nick Mathewson [Wed, 16 Jan 2019 19:43:53 +0000 (14:43 -0500)]
Merge branch 'maint-0.3.5'
Kris Katterjohn [Tue, 15 Jan 2019 20:55:55 +0000 (14:55 -0600)]
Add changes file for bug 28981
The fix was in commit
61636ad989de674698601284957dacde53cc4984 .
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Kris Katterjohn [Thu, 3 Jan 2019 23:24:26 +0000 (17:24 -0600)]
Update and fix a couple of comments in meminfo.c
This fixes a typo and also notes that HW_PHYSMEM64 is defined on
NetBSD (not just OpenBSD).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Kris Katterjohn [Thu, 3 Jan 2019 23:19:46 +0000 (17:19 -0600)]
Use HW_PHYSMEM instead of HW_USERMEM in get_total_system_memory_impl
The code checked for sysctl being available and HW_PHYSMEM being
defined, but HW_USERMEM was actually being used with sysctl instead
of HW_PHYSMEM.
The case for OpenBSD, etc. use HW_PHYSMEM64 (which is obviously a
64-bit variant of HW_PHYSMEM) and the case for OSX uses HW_MEMSIZE
(which appears to be a 64-bit variant of HW_PHYSMEM).
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Nick Mathewson [Wed, 16 Jan 2019 19:33:40 +0000 (14:33 -0500)]
Log more messages when failing to decode RSA keys
We log these messages at INFO level, except when we are reading a
private key from a file, in which case we log at WARN.
This fixes a regression from when we re-wrote our PEM code to be
generic between nss and openssl.
Fixes bug 29042, bugfix on 0.3.5.1-alpha.
Nick Mathewson [Wed, 16 Jan 2019 17:33:22 +0000 (12:33 -0500)]
Bump copyright date to 2019
Nick Mathewson [Wed, 16 Jan 2019 17:33:09 +0000 (12:33 -0500)]
Update copyright script for 2019
Nick Mathewson [Wed, 16 Jan 2019 17:32:53 +0000 (12:32 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Wed, 16 Jan 2019 17:32:32 +0000 (12:32 -0500)]
Bump copyright date to 2019.
Nick Mathewson [Wed, 16 Jan 2019 16:47:18 +0000 (11:47 -0500)]
More line edits to changelog. Thanks, seborn!
Nick Mathewson [Wed, 16 Jan 2019 16:09:54 +0000 (11:09 -0500)]
Give the changelog an edit
Nick Mathewson [Wed, 16 Jan 2019 13:32:09 +0000 (08:32 -0500)]
Bump to 0.4.0.1-alpha
Nick Mathewson [Wed, 16 Jan 2019 13:28:07 +0000 (08:28 -0500)]
Start on 0.4.0.1-alpha changelog
Nick Mathewson [Wed, 16 Jan 2019 13:20:12 +0000 (08:20 -0500)]
Remove changes entries that appeared in 0.3.5.7
Nick Mathewson [Wed, 16 Jan 2019 00:18:00 +0000 (19:18 -0500)]
Remove fallback scripts and whitelist
They have been extracted to a new fallback-scripts.git repository.
Closes ticket 27914.
Nick Mathewson [Tue, 15 Jan 2019 23:29:20 +0000 (18:29 -0500)]
Merge remote-tracking branch 'mikeperry-github/bug29089'
Nick Mathewson [Tue, 15 Jan 2019 23:26:08 +0000 (18:26 -0500)]
Use [ -n "$x" ] in place of [ ! -z "$x" ] in chutney-git-bisect
Closes 29099.
Mike Perry [Tue, 15 Jan 2019 22:50:52 +0000 (22:50 +0000)]
Changes file for Ticket 28142.
Nick Mathewson [Tue, 15 Jan 2019 18:15:22 +0000 (13:15 -0500)]
Forward-port changelog and releasenotes entries from last Monday
Nick Mathewson [Tue, 15 Jan 2019 13:25:35 +0000 (08:25 -0500)]
Merge branch 'bug24953_squashed'
rl1987 [Tue, 8 Jan 2019 11:28:43 +0000 (13:28 +0200)]
Depending on script mode, either use 'whitelist' or 'fallback list'
rl1987 [Mon, 7 Jan 2019 09:09:33 +0000 (11:09 +0200)]
In updateFallbackDirs.py, say 'fallback list' instead of 'whitelist'
Nick Mathewson [Tue, 15 Jan 2019 13:08:41 +0000 (08:08 -0500)]
Merge branch 'ticket28058_squashed'
rl1987 [Sat, 15 Dec 2018 11:53:37 +0000 (13:53 +0200)]
Add changes file
rl1987 [Sat, 15 Dec 2018 09:08:16 +0000 (11:08 +0200)]
Add shellcheck to Travis CI builds
rl1987 [Sat, 15 Dec 2018 08:47:30 +0000 (10:47 +0200)]
Run shellcheck for stuff in scripts/ as part of 'make check'
Nick Mathewson [Mon, 14 Jan 2019 19:48:00 +0000 (14:48 -0500)]
Merge remote-tracking branch 'asn-github/adaptive_padding-final'
Nick Mathewson [Mon, 14 Jan 2019 19:02:42 +0000 (14:02 -0500)]
Merge branch 'maint-0.3.5'
rl1987 [Sun, 23 Dec 2018 18:55:14 +0000 (20:55 +0200)]
Rework rep_hist_log_link_protocol_counts()
Nick Mathewson [Mon, 14 Jan 2019 18:59:07 +0000 (13:59 -0500)]
Merge remote-tracking branch 'teor/bug29015'
Alexander Færøy [Mon, 14 Jan 2019 16:59:59 +0000 (17:59 +0100)]
Rename TYPE to TRANSPORT in PT STATUS messages.
See: https://bugs.torproject.org/28181
George Kadianakis [Mon, 14 Jan 2019 13:07:19 +0000 (15:07 +0200)]
Remove TODO file.
All remaining tasks are now part of #28632.
Nick Mathewson [Fri, 11 Jan 2019 23:56:57 +0000 (18:56 -0500)]
Merge branch 'bug28989_squashed'
rl1987 [Sat, 5 Jan 2019 09:02:18 +0000 (11:02 +0200)]
Fix a typo
rl1987 [Sat, 5 Jan 2019 09:01:07 +0000 (11:01 +0200)]
Kris Katterjohn [Fri, 4 Jan 2019 19:48:08 +0000 (13:48 -0600)]
Actually close the stdout pipe on error in process_unix_exec
When cleaning up after an error in process_unix_exec, the stdin
pipe was being double closed instead of closing both the stdin
and stdout pipes. This occurred in two places.
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Nick Mathewson [Fri, 11 Jan 2019 23:53:24 +0000 (18:53 -0500)]
Merge branch 'maint-0.3.5'
Nick Mathewson [Fri, 11 Jan 2019 23:53:18 +0000 (18:53 -0500)]
Merge remote-tracking branch 'tor-github/pr/563' into maint-0.3.5
Nick Mathewson [Fri, 11 Jan 2019 14:08:51 +0000 (09:08 -0500)]
Include the beginnings of a FAQ about which timer to use.
George Kadianakis [Fri, 11 Jan 2019 10:06:14 +0000 (12:06 +0200)]
Clarify immutability of global padding machine specs.