]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 9 Nov 2018 15:49:48 +0000 (10:49 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 9 Nov 2018 15:49:47 +0000 (10:49 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 9 Nov 2018 15:49:47 +0000 (10:49 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Fri, 9 Nov 2018 15:49:47 +0000 (10:49 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

7 years agoMerge branch 'bug28245_029' into maint-0.2.9
Nick Mathewson [Fri, 9 Nov 2018 15:49:43 +0000 (10:49 -0500)] 
Merge branch 'bug28245_029' into maint-0.2.9

7 years agoAlways declare groups when building with openssl 1.1.1 APIs
Nick Mathewson [Fri, 9 Nov 2018 15:10:25 +0000 (10:10 -0500)] 
Always declare groups when building with openssl 1.1.1 APIs

Failing to do on clients was causing TLS 1.3 negotiation to fail.

Fixes bug 28245; bugfix on 0.2.9.15, when we added TLS 1.3 support.

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Thu, 8 Nov 2018 14:02:05 +0000 (09:02 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoCopy changelog to maint-0.3.5 so master will get it.
Nick Mathewson [Thu, 8 Nov 2018 14:02:03 +0000 (09:02 -0500)] 
Copy changelog to maint-0.3.5 so master will get it.

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Thu, 8 Nov 2018 14:01:08 +0000 (09:01 -0500)] 
Merge branch 'maint-0.3.5'

"ours" to avoid version bump.

7 years agoBump version to 0.3.5.4-alpha-dev.
Nick Mathewson [Thu, 8 Nov 2018 14:00:59 +0000 (09:00 -0500)] 
Bump version to 0.3.5.4-alpha-dev.

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Wed, 7 Nov 2018 21:27:26 +0000 (16:27 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMake the hibernate.c changes for systemd compile.
Nick Mathewson [Wed, 7 Nov 2018 21:27:20 +0000 (16:27 -0500)] 
Make the hibernate.c changes for systemd compile.

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Wed, 7 Nov 2018 19:40:34 +0000 (14:40 -0500)] 
Merge branch 'maint-0.3.5'

"ours" to avoid version bump.

7 years agoBump to 0.3.5.4-alpha
Nick Mathewson [Wed, 7 Nov 2018 19:40:26 +0000 (14:40 -0500)] 
Bump to 0.3.5.4-alpha

7 years agoMerge remote-tracking branch 'tor-github/pr/271'
Nick Mathewson [Wed, 7 Nov 2018 16:21:13 +0000 (11:21 -0500)] 
Merge remote-tracking branch 'tor-github/pr/271'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Wed, 7 Nov 2018 16:17:32 +0000 (11:17 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMerge remote-tracking branch 'teor/ticket28318-035' into maint-0.3.5
Nick Mathewson [Wed, 7 Nov 2018 16:16:52 +0000 (11:16 -0500)] 
Merge remote-tracking branch 'teor/ticket28318-035' into maint-0.3.5

7 years agosimplify now that it uses tor's copyright and license
Roger Dingledine [Wed, 7 Nov 2018 16:02:26 +0000 (11:02 -0500)] 
simplify now that it uses tor's copyright and license

7 years agoChange version on master to 0.4.0.0-alpha-dev.
Nick Mathewson [Wed, 7 Nov 2018 15:54:03 +0000 (10:54 -0500)] 
Change version on master to 0.4.0.0-alpha-dev.

7 years agoMerge branch 'ticket27225_squashed'
Nick Mathewson [Wed, 7 Nov 2018 15:47:29 +0000 (10:47 -0500)] 
Merge branch 'ticket27225_squashed'

7 years agoMemoize summarize_protover_flags()
Nick Mathewson [Fri, 19 Oct 2018 19:04:45 +0000 (15:04 -0400)] 
Memoize summarize_protover_flags()

Our tests showed that this function is responsible for a huge number
of our malloc/free() calls.  It's a prime candidate for being
memoized.

Closes ticket 27225.

7 years agoSwitch ctassert.h to 3bsd (with permission)
Nick Mathewson [Wed, 7 Nov 2018 15:37:02 +0000 (10:37 -0500)] 
Switch ctassert.h to 3bsd (with permission)

7 years agoAllow lib/cc to include its own files.
Nick Mathewson [Tue, 6 Nov 2018 21:59:39 +0000 (16:59 -0500)] 
Allow lib/cc to include its own files.

7 years agoChange copyright statement (with permission)
Nick Mathewson [Tue, 6 Nov 2018 20:42:18 +0000 (15:42 -0500)] 
Change copyright statement (with permission)

7 years agoRemove a tab.
Nick Mathewson [Tue, 6 Nov 2018 20:41:32 +0000 (15:41 -0500)] 
Remove a tab.

7 years agoAdd parentheses to the ctassert macro expansions
Nick Mathewson [Tue, 6 Nov 2018 20:41:14 +0000 (15:41 -0500)] 
Add parentheses to the ctassert macro expansions

7 years agoAdd a user of CTASSERT().
Nick Mathewson [Tue, 6 Nov 2018 20:39:58 +0000 (15:39 -0500)] 
Add a user of CTASSERT().

7 years agoNew macro CTASSERT(condition) to assert condition at compile-time.
Taylor R Campbell [Tue, 23 Oct 2018 23:53:39 +0000 (23:53 +0000)] 
New macro CTASSERT(condition) to assert condition at compile-time.

To get it, use: #include "lib/cc/ctassert.h"

7 years agoMerge remote-tracking branch 'tor-github/pr/466'
Nick Mathewson [Tue, 6 Nov 2018 20:35:45 +0000 (15:35 -0500)] 
Merge remote-tracking branch 'tor-github/pr/466'

7 years agoMerge remote-tracking branch 'tor-github/pr/464'
Nick Mathewson [Tue, 6 Nov 2018 20:33:25 +0000 (15:33 -0500)] 
Merge remote-tracking branch 'tor-github/pr/464'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 6 Nov 2018 20:22:11 +0000 (15:22 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMerge remote-tracking branch 'tor-github/pr/474' into maint-0.3.5
Nick Mathewson [Tue, 6 Nov 2018 20:21:45 +0000 (15:21 -0500)] 
Merge remote-tracking branch 'tor-github/pr/474' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 6 Nov 2018 20:20:01 +0000 (15:20 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMerge remote-tracking branch 'tor-github/pr/484' into maint-0.3.5
Nick Mathewson [Tue, 6 Nov 2018 20:19:04 +0000 (15:19 -0500)] 
Merge remote-tracking branch 'tor-github/pr/484' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 6 Nov 2018 20:17:52 +0000 (15:17 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoAdd a changes file for bug 28303
Nick Mathewson [Tue, 6 Nov 2018 20:17:19 +0000 (15:17 -0500)] 
Add a changes file for bug 28303

7 years agoInclude sys/time.h in timers.c and time_fmt.c
Kris Katterjohn [Sat, 3 Nov 2018 19:28:27 +0000 (14:28 -0500)] 
Include sys/time.h in timers.c and time_fmt.c

This fixes compilation on OpenBSD.

Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
7 years agorefuse to start with relative paths + RunAsDaemon
Roger Dingledine [Sun, 4 Nov 2018 12:30:46 +0000 (07:30 -0500)] 
refuse to start with relative paths + RunAsDaemon

Resume refusing to start with relative file paths and RunAsDaemon
set (regression from the fix for bug 22731).

Fixes bug 28298; bugfix on 0.3.3.1-alpha.

7 years agoMerge branch 'bug28348_036'
Nick Mathewson [Tue, 6 Nov 2018 14:18:01 +0000 (09:18 -0500)] 
Merge branch 'bug28348_036'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Tue, 6 Nov 2018 14:16:25 +0000 (09:16 -0500)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'bug28348_035' into bug28348_036
Nick Mathewson [Tue, 6 Nov 2018 12:43:27 +0000 (07:43 -0500)] 
Merge branch 'bug28348_035' into bug28348_036

7 years agoMerge branch 'bug28348_034' into bug28348_035
Nick Mathewson [Tue, 6 Nov 2018 12:42:55 +0000 (07:42 -0500)] 
Merge branch 'bug28348_034' into bug28348_035

7 years agoActually disable NEED_NET periodic events when DisableNetwork is set
Nick Mathewson [Tue, 6 Nov 2018 12:40:02 +0000 (07:40 -0500)] 
Actually disable NEED_NET periodic events when DisableNetwork is set

Fixes bug 28348; bugfix on 0.3.4.1-alpha

7 years agoIn count_acceptable_nodes(), count direct and indirect nodes with node_has_preferred_...
Neel Chauhan [Thu, 18 Oct 2018 01:43:59 +0000 (21:43 -0400)] 
In count_acceptable_nodes(), count direct and indirect nodes with node_has_preferred_descriptor()

7 years agoAppveyor: Add Windows Server 2016 to tor's build matrix
teor [Mon, 5 Nov 2018 06:21:58 +0000 (16:21 +1000)] 
Appveyor: Add Windows Server 2016 to tor's build matrix

Build tor on Windows Server 2012 R2 and Windows Server 2016 using
Appveyor's CI.

Closes ticket 28318.

7 years agosystemd: allow tor some time to shut down after ShutdownWaitLength expires
teor [Mon, 5 Nov 2018 01:23:55 +0000 (11:23 +1000)] 
systemd: allow tor some time to shut down after ShutdownWaitLength expires

This commit upstreams the Debian package setting of 60 seconds for
TimeoutStopSec, but applies it to startup and shutdown.

Part of 28113.

7 years agoNotify systemd of ShutdownWaitLength
Alex Xu (Hello71) [Thu, 18 Oct 2018 23:54:49 +0000 (19:54 -0400)] 
Notify systemd of ShutdownWaitLength

7 years agoAdd a warning if we can't write networkstatus-bridges
Nick Mathewson [Fri, 2 Nov 2018 17:32:43 +0000 (13:32 -0400)] 
Add a warning if we can't write networkstatus-bridges

Fixes CID 1440818.

7 years agoAvoid mmap leak if we get a consensus diff we can't use.
Nick Mathewson [Fri, 2 Nov 2018 17:30:55 +0000 (13:30 -0400)] 
Avoid mmap leak if we get a consensus diff we can't use.

Fixes CID 1440819; bug not in any released Tor.

7 years agoUpdate address tests to avoid offending coverity.
Nick Mathewson [Fri, 2 Nov 2018 17:29:24 +0000 (13:29 -0400)] 
Update address tests to avoid offending coverity.

7 years agoMerge branch 'ticket28100_squashed'
Nick Mathewson [Fri, 2 Nov 2018 17:19:24 +0000 (13:19 -0400)] 
Merge branch 'ticket28100_squashed'

7 years agoDon't overwrite the Content-Type when compressing
Alex Xu (Hello71) [Fri, 19 Oct 2018 13:53:23 +0000 (09:53 -0400)] 
Don't overwrite the Content-Type when compressing

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 17:14:37 +0000 (13:14 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'bug27968_squashed' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 17:14:32 +0000 (13:14 -0400)] 
Merge branch 'bug27968_squashed' into maint-0.3.5

7 years agoSort the imports in test_rebind.py
teor [Mon, 22 Oct 2018 02:31:32 +0000 (12:31 +1000)] 
Sort the imports in test_rebind.py

Cleanup after #27968.

7 years agoMake test_rebind.py timeout when waiting for a log message
teor [Sat, 6 Oct 2018 21:10:37 +0000 (16:10 -0500)] 
Make test_rebind.py timeout when waiting for a log message

Closes #27968.

7 years agoRefactor test_rebind.py to consistently print FAIL on failure
teor [Sat, 6 Oct 2018 21:09:20 +0000 (16:09 -0500)] 
Refactor test_rebind.py to consistently print FAIL on failure

Part of #27968.

7 years agoAvoid a race condition in test_rebind.py
teor [Sat, 6 Oct 2018 21:05:04 +0000 (16:05 -0500)] 
Avoid a race condition in test_rebind.py

If tor terminates due to SIGNAL HALT before test_rebind.py calls
tor_process.terminate(), an OSError 3 (no such process) is thrown.

Fixes part of bug 27968 on 0.3.5.1-alpha.

7 years agoMerge remote-tracking branch 'tor-github/pr/449'
Nick Mathewson [Fri, 2 Nov 2018 17:11:26 +0000 (13:11 -0400)] 
Merge remote-tracking branch 'tor-github/pr/449'

7 years agoMerge remote-tracking branch 'tor-github/pr/448'
Nick Mathewson [Fri, 2 Nov 2018 17:09:45 +0000 (13:09 -0400)] 
Merge remote-tracking branch 'tor-github/pr/448'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 17:02:02 +0000 (13:02 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 17:01:53 +0000 (13:01 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

"ours" merge to avoid version bump.

7 years agoBump to 0.3.4.9-dev
Nick Mathewson [Fri, 2 Nov 2018 17:01:32 +0000 (13:01 -0400)] 
Bump to 0.3.4.9-dev

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 15:29:00 +0000 (11:29 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoforward-port 0.3.4.9 changelog and releasenotes
Nick Mathewson [Fri, 2 Nov 2018 15:28:49 +0000 (11:28 -0400)] 
forward-port 0.3.4.9 changelog and releasenotes

7 years agoMerge remote-tracking branch 'tor-github/pr/397'
Nick Mathewson [Fri, 2 Nov 2018 14:01:26 +0000 (10:01 -0400)] 
Merge remote-tracking branch 'tor-github/pr/397'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 13:39:16 +0000 (09:39 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'bug27963_wallclock' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:39:13 +0000 (09:39 -0400)] 
Merge branch 'bug27963_wallclock' into maint-0.3.5

7 years agoMerge branch 'bug27963_wallclock'
Nick Mathewson [Fri, 2 Nov 2018 13:38:26 +0000 (09:38 -0400)] 
Merge branch 'bug27963_wallclock'

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 13:09:01 +0000 (09:09 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:08:53 +0000 (09:08 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

"ours" to avoid version bump.

7 years agoBump to 0.3.4.9
Nick Mathewson [Fri, 2 Nov 2018 13:08:45 +0000 (09:08 -0400)] 
Bump to 0.3.4.9

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 13:06:38 +0000 (09:06 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:06:38 +0000 (09:06 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:06:37 +0000 (09:06 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'bug26470_032' into maint-0.3.3
Nick Mathewson [Fri, 2 Nov 2018 13:06:32 +0000 (09:06 -0400)] 
Merge branch 'bug26470_032' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 13:05:18 +0000 (09:05 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:05:18 +0000 (09:05 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'bug26896_034' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:05:14 +0000 (09:05 -0400)] 
Merge branch 'bug26896_034' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Fri, 2 Nov 2018 13:04:25 +0000 (09:04 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:04:25 +0000 (09:04 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:04:25 +0000 (09:04 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'dgoulet/ticket27410_032_01' into maint-0.3.3
Nick Mathewson [Fri, 2 Nov 2018 13:04:20 +0000 (09:04 -0400)] 
Merge remote-tracking branch 'dgoulet/ticket27410_032_01' into maint-0.3.3

7 years agoAdd tests for the string_is_utf8_no_bom() function.
George Kadianakis [Thu, 1 Nov 2018 10:55:04 +0000 (12:55 +0200)] 
Add tests for the string_is_utf8_no_bom() function.

7 years agoAdd changes file for #27707.
George Kadianakis [Thu, 1 Nov 2018 10:37:17 +0000 (12:37 +0200)] 
Add changes file for #27707.

7 years agoImprove log message in hs_service.c
Fernando Fernandez Mancera [Mon, 29 Oct 2018 16:07:41 +0000 (17:07 +0100)] 
Improve log message in hs_service.c

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
7 years agoMerge branch 'ticket24393_036_01_squashed'
Nick Mathewson [Wed, 31 Oct 2018 15:07:15 +0000 (11:07 -0400)] 
Merge branch 'ticket24393_036_01_squashed'

7 years agoAdd test for nodes_in_same_family()
Neel Chauhan [Wed, 12 Sep 2018 19:50:11 +0000 (15:50 -0400)] 
Add test for nodes_in_same_family()

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 31 Oct 2018 15:02:58 +0000 (11:02 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Wed, 31 Oct 2018 15:02:58 +0000 (11:02 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 31 Oct 2018 15:01:41 +0000 (11:01 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.5'
Nick Mathewson [Wed, 31 Oct 2018 15:01:41 +0000 (11:01 -0400)] 
Merge branch 'maint-0.3.5'

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 31 Oct 2018 15:01:41 +0000 (11:01 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Wed, 31 Oct 2018 15:01:40 +0000 (11:01 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

7 years agoMerge remote-tracking branch 'tor-github/pr/436' into maint-0.2.9
Nick Mathewson [Wed, 31 Oct 2018 15:01:36 +0000 (11:01 -0400)] 
Merge remote-tracking branch 'tor-github/pr/436' into maint-0.2.9

7 years agoMerge branch 'networkstatus_mmap_merge'
Nick Mathewson [Wed, 31 Oct 2018 14:06:30 +0000 (10:06 -0400)] 
Merge branch 'networkstatus_mmap_merge'

7 years agoMerge branch 'networkstatus_mmap' into networkstatus_mmap_merge
Nick Mathewson [Wed, 31 Oct 2018 13:04:12 +0000 (09:04 -0400)] 
Merge branch 'networkstatus_mmap' into networkstatus_mmap_merge

7 years agoFix memory leak (#28257, CID 1440805).
Nick Mathewson [Wed, 31 Oct 2018 12:30:48 +0000 (08:30 -0400)] 
Fix memory leak (#28257, CID 1440805).

7 years agoCheck IPv6 subnets as well as IPv4 subnets where possible when choosing client paths
Neel Chauhan [Wed, 5 Sep 2018 14:12:35 +0000 (10:12 -0400)] 
Check IPv6 subnets as well as IPv4 subnets where possible when choosing client paths

7 years agoMerge branch 'maint-0.3.5'
David Goulet [Tue, 30 Oct 2018 15:44:14 +0000 (11:44 -0400)] 
Merge branch 'maint-0.3.5'