]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
8 years agoMerge remote-tracking branch 'public/bug7890'
Nick Mathewson [Thu, 22 Jun 2017 12:04:12 +0000 (08:04 -0400)] 
Merge remote-tracking branch 'public/bug7890'

8 years agomake assign_onionskin_to_cpuworker failure case more clear
Roger Dingledine [Wed, 21 Jun 2017 21:42:10 +0000 (17:42 -0400)] 
make assign_onionskin_to_cpuworker failure case more clear

now it looks like the other time we call it

8 years agoMerge branch 'callgraph_reduction_v2'
Nick Mathewson [Wed, 21 Jun 2017 20:47:55 +0000 (16:47 -0400)] 
Merge branch 'callgraph_reduction_v2'

8 years agoExtract channel_do_open_actions() from non-open _change_state cases
Nick Mathewson [Sun, 26 Mar 2017 17:33:44 +0000 (19:33 +0200)] 
Extract channel_do_open_actions() from non-open _change_state cases

This reduces the size of the largest SCC in the callgraph by 30
functions, from 58 to 28.

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Wed, 21 Jun 2017 17:54:07 +0000 (13:54 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoMerge branch 'bug22356_029' into maint-0.3.1
Nick Mathewson [Wed, 21 Jun 2017 17:54:02 +0000 (13:54 -0400)] 
Merge branch 'bug22356_029' into maint-0.3.1

8 years agochanges file for ticket22311
Nick Mathewson [Wed, 21 Jun 2017 16:45:18 +0000 (12:45 -0400)] 
changes file for ticket22311

8 years agoCall it a BUG to use -1 in authdir_mode_handles_descs
Nick Mathewson [Wed, 21 Jun 2017 16:38:02 +0000 (12:38 -0400)] 
Call it a BUG to use -1 in authdir_mode_handles_descs

8 years agoRemove obsolete authdir_mode_any_nonhidserv()
huyvq [Fri, 2 Jun 2017 16:33:40 +0000 (23:33 +0700)] 
Remove obsolete authdir_mode_any_nonhidserv()

- Replace it with authdir_mode()

8 years agoConvert authdir_mode_handles_descs() to alternative wrappers
huyvq [Fri, 2 Jun 2017 16:32:41 +0000 (23:32 +0700)] 
Convert authdir_mode_handles_descs() to alternative wrappers

-authdir_mode_handles_descs(options, ROUTER_PURPOSE_BRIDGE) to authdir_mode_bridge(options).

- authdir_mode_handles_descs(options, ROUTER_PURPOSE_GENERAL) to authdir_mode_v3(options).

8 years agoConvert authdir_mode_handles_descs(options, -1) with authdir_mode(options)
huyvq [Fri, 2 Jun 2017 16:26:53 +0000 (23:26 +0700)] 
Convert authdir_mode_handles_descs(options, -1) with authdir_mode(options)

8 years agoRemove obsolete authdir_mode_any_main()
huyvq [Fri, 2 Jun 2017 16:23:39 +0000 (23:23 +0700)] 
Remove obsolete authdir_mode_any_main()

8 years agoMerge branch 'Ryman-bug5847-squashed'
Nick Mathewson [Wed, 21 Jun 2017 16:19:55 +0000 (12:19 -0400)] 
Merge branch 'Ryman-bug5847-squashed'

8 years agoBetter error message for GETINFO desc/(id|name) whenever microdescriptors are in...
Kevin Butler [Wed, 4 Sep 2013 01:10:18 +0000 (02:10 +0100)] 
Better error message for GETINFO desc/(id|name) whenever microdescriptors are in use. Fixes #5847.

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Wed, 21 Jun 2017 00:29:00 +0000 (20:29 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoMerge branch 'bug22502_redux_031' into maint-0.3.1
Nick Mathewson [Wed, 21 Jun 2017 00:27:48 +0000 (20:27 -0400)] 
Merge branch 'bug22502_redux_031' into maint-0.3.1

8 years agoMerge branch 'bug22672_031' into maint-0.3.1
Nick Mathewson [Wed, 21 Jun 2017 00:26:45 +0000 (20:26 -0400)] 
Merge branch 'bug22672_031' into maint-0.3.1

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Tue, 20 Jun 2017 18:18:35 +0000 (14:18 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoNote that bw_accounting is obsoleted by values in the state file
Nick Mathewson [Tue, 20 Jun 2017 18:18:10 +0000 (14:18 -0400)] 
Note that bw_accounting is obsoleted by values in the state file

Closes ticket 16082.

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Tue, 20 Jun 2017 17:54:35 +0000 (13:54 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoNote that pkgconfig is now needed, and has been for a few releases.
Nick Mathewson [Tue, 20 Jun 2017 17:54:30 +0000 (13:54 -0400)] 
Note that pkgconfig is now needed, and has been for a few releases.

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Tue, 20 Jun 2017 17:35:44 +0000 (13:35 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoMerge remote-tracking branch 'argonblue/bug22638' into maint-0.3.1
Nick Mathewson [Tue, 20 Jun 2017 17:35:38 +0000 (13:35 -0400)] 
Merge remote-tracking branch 'argonblue/bug22638' into maint-0.3.1

8 years agoEnforce the rule that COMPRESS_OK means progress was made.
Nick Mathewson [Tue, 20 Jun 2017 16:26:57 +0000 (12:26 -0400)] 
Enforce the rule that COMPRESS_OK means progress was made.

If COMPRESS_OK occurs but data is neither consumed nor generated,
treat it as a BUG and a COMPRESS_ERROR.

This change is meant to prevent infinite loops in the case where
we've made a mistake in one of our compression backends.

Closes ticket 22672.

8 years agomingw/windows printf lacks %zd ; use %lu and casts instead
Nick Mathewson [Tue, 20 Jun 2017 16:12:55 +0000 (12:12 -0400)] 
mingw/windows printf lacks %zd ; use %lu and casts instead

(This approach can lose accuracy, but it's only in debug-level messages.)

Fixes windows compilation. Bugfix on recent compress.c changes; bug
not in any released Tor.

8 years agoFix compress_none.c header comment
Taylor Yu [Tue, 20 Jun 2017 15:23:31 +0000 (11:23 -0400)] 
Fix compress_none.c header comment

The Doxygen \file markup for compress_none.c had the wrong filename.
Fixes #22638.

8 years agoSend the correct content-encoding when serving cached_dir_t objects
Nick Mathewson [Tue, 20 Jun 2017 15:26:51 +0000 (11:26 -0400)] 
Send the correct content-encoding when serving cached_dir_t objects

A cached_dir_t object (for now) is always compressed with
DEFLATE_METHOD, but in handle_get_status_vote() to we were using the
general compression-negotiation code decide what compression to
claim we were using.

This was one of the reasons behind 22502.

Fixes bug 22669; bugfix on 0.3.1.1-alpha

8 years agoCorrect the fix to bug 22629 to permit trailing non-garbage
Nick Mathewson [Tue, 20 Jun 2017 14:24:22 +0000 (10:24 -0400)] 
Correct the fix to bug 22629 to permit trailing non-garbage

This change makes it so that we can decompress concatenated zstd
outputs.

8 years agoAdd a unit test for decompressing concatenated inputs.
Nick Mathewson [Tue, 20 Jun 2017 14:21:35 +0000 (10:21 -0400)] 
Add a unit test for decompressing concatenated inputs.

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Tue, 20 Jun 2017 14:12:47 +0000 (10:12 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoadd a changes file for 22626, 22628, and 22629 (parts of 22502)
Nick Mathewson [Tue, 20 Jun 2017 14:12:40 +0000 (10:12 -0400)] 
add a changes file for 22626, 22628, and 22629 (parts of 22502)

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Tue, 20 Jun 2017 14:06:19 +0000 (10:06 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoMerge remote-tracking branch 'teor/bug22502' into maint-0.3.1
Nick Mathewson [Tue, 20 Jun 2017 14:04:16 +0000 (10:04 -0400)] 
Merge remote-tracking branch 'teor/bug22502' into maint-0.3.1

8 years agoMerge remote-tracking branch 'argonblue/bug22410'
Nick Mathewson [Mon, 19 Jun 2017 19:30:23 +0000 (15:30 -0400)] 
Merge remote-tracking branch 'argonblue/bug22410'

8 years agoDowngrade "assign_to_cpuworker failed" to INFO.
Nick Mathewson [Mon, 19 Jun 2017 19:24:33 +0000 (15:24 -0400)] 
Downgrade "assign_to_cpuworker failed" to INFO.

Closes ticket 22356

8 years agoEnsure that uint8_t is unsigned char
Taylor Yu [Fri, 26 May 2017 21:04:52 +0000 (17:04 -0400)] 
Ensure that uint8_t is unsigned char

Many places in our code assume that uint8_t is the same type as
unsigned char.  Test this assumption in the configure script.  This is
important because of the privileged aliasing properties of character
types in C.

Fixes #22410.

8 years agoMerge branch 'ticket20575_031_01_squashed'
Nick Mathewson [Mon, 19 Jun 2017 18:16:21 +0000 (14:16 -0400)] 
Merge branch 'ticket20575_031_01_squashed'

8 years agorefer to the correct version
Nick Mathewson [Mon, 19 Jun 2017 18:15:04 +0000 (14:15 -0400)] 
refer to the correct version

8 years agoconfig: Deprecate HTTPProxy option
David Goulet [Tue, 25 Apr 2017 13:11:49 +0000 (09:11 -0400)] 
config: Deprecate HTTPProxy option

Move the HTTPProxy option to the deprecated list so for now it will only warn
users but feature is still in the code which will be removed in a future
stable version.

Fixes #20575

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 years agoRemove an XXXX RD comment that neither Roger or I understand. Closes 22420
Nick Mathewson [Mon, 19 Jun 2017 18:06:07 +0000 (14:06 -0400)] 
Remove an XXXX RD comment that neither Roger or I understand. Closes 22420

8 years agoMerge remote-tracking branch 'arma/ticket22420'
Nick Mathewson [Mon, 19 Jun 2017 18:03:57 +0000 (14:03 -0400)] 
Merge remote-tracking branch 'arma/ticket22420'

8 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Mon, 19 Jun 2017 17:52:19 +0000 (13:52 -0400)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

8 years agoMerge branch 'maint-0.3.1'
Nick Mathewson [Mon, 19 Jun 2017 17:52:19 +0000 (13:52 -0400)] 
Merge branch 'maint-0.3.1'

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Mon, 19 Jun 2017 17:52:19 +0000 (13:52 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge remote-tracking branch 'public/bug22516_029' into maint-0.2.9
Nick Mathewson [Mon, 19 Jun 2017 17:50:49 +0000 (13:50 -0400)] 
Merge remote-tracking branch 'public/bug22516_029' into maint-0.2.9

8 years agoBump master to 0.3.2.0-alpha-dev. For 0.3.1, use maint-0.3.1
Nick Mathewson [Mon, 19 Jun 2017 15:57:44 +0000 (11:57 -0400)] 
Bump master to 0.3.2.0-alpha-dev. For 0.3.1, use maint-0.3.1

8 years agoDocument more files in the datadirectory.
Nick Mathewson [Mon, 19 Jun 2017 13:57:57 +0000 (09:57 -0400)] 
Document more files in the datadirectory.

This improved list comes from the ls -R results that weasel and ln5
sent me.  Thanks!

8 years agoDocument sr-random and diff-cache.
Nick Mathewson [Fri, 16 Jun 2017 18:44:04 +0000 (14:44 -0400)] 
Document sr-random and diff-cache.

8 years agoDocument key-pinning-journal
Nick Mathewson [Fri, 16 Jun 2017 18:26:21 +0000 (14:26 -0400)] 
Document key-pinning-journal

Closes 22347

8 years agoPermit the fchmod system call.
Nick Mathewson [Fri, 16 Jun 2017 18:03:02 +0000 (14:03 -0400)] 
Permit the fchmod system call.

Fixes bug 22516; bugfix on 0.2.5.4-alpha.

8 years agoAdd extra logging during compression and decompression
teor [Thu, 15 Jun 2017 23:48:18 +0000 (09:48 +1000)] 
Add extra logging during compression and decompression

This helps diagnose failures.

Part of #22502.

8 years agoReturn TOR_COMPRESS_BUFFER_FULL when zstd has additional input
teor [Thu, 15 Jun 2017 23:47:32 +0000 (09:47 +1000)] 
Return TOR_COMPRESS_BUFFER_FULL when zstd has additional input

Fixes #22628.

8 years agoRemove a redundant conditional in tor_zstd_compress_process
teor [Thu, 15 Jun 2017 23:46:46 +0000 (09:46 +1000)] 
Remove a redundant conditional in tor_zstd_compress_process

Part of #22502

8 years agoMove a comment to the right place in tor_zstd_compress_process
teor [Thu, 15 Jun 2017 23:45:58 +0000 (09:45 +1000)] 
Move a comment to the right place in tor_zstd_compress_process

Part of #22502

8 years agoCheck for trailing input garbage in tor_compress_impl() when decompressing
teor [Thu, 15 Jun 2017 23:41:29 +0000 (09:41 +1000)] 
Check for trailing input garbage in tor_compress_impl() when decompressing

Fixes #22629.

8 years agoCheck if tor_compress_new() returns NULL in tor_compress_impl()
teor [Thu, 15 Jun 2017 23:38:18 +0000 (09:38 +1000)] 
Check if tor_compress_new() returns NULL in tor_compress_impl()

Partial fix to 22626.

8 years agoRemove old callgraph scripts; recommend calltool instead.
Nick Mathewson [Wed, 14 Jun 2017 21:44:15 +0000 (17:44 -0400)] 
Remove old callgraph scripts; recommend calltool instead.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 9 Jun 2017 13:58:46 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Fri, 9 Jun 2017 13:58:46 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.3.0'
Nick Mathewson [Fri, 9 Jun 2017 13:58:46 +0000 (09:58 -0400)] 
Merge branch 'maint-0.3.0'

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

8 years agoUpdate geoip and geoip6 to the June 8 2017 database.
Karsten Loesing [Fri, 9 Jun 2017 13:47:49 +0000 (15:47 +0200)] 
Update geoip and geoip6 to the June 8 2017 database.

8 years agoMerge branch 'maint-0.3.0'
Nick Mathewson [Thu, 8 Jun 2017 18:06:49 +0000 (14:06 -0400)] 
Merge branch 'maint-0.3.0'

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Thu, 8 Jun 2017 18:06:41 +0000 (14:06 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 8 Jun 2017 18:06:28 +0000 (14:06 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Thu, 8 Jun 2017 18:06:16 +0000 (14:06 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 8 Jun 2017 18:06:06 +0000 (14:06 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 8 Jun 2017 18:05:59 +0000 (14:05 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 8 Jun 2017 18:05:37 +0000 (14:05 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

"ours" merge to avoid version bump.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:32 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:29 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:27 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:22 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:18 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:16 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:13 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agoAdd -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:08 +0000 (14:05 -0400)] 
Add -dev to version number.

8 years agofwd-port more changelogs (0.2.4 through 0.2.8) tor-0.3.1.3-alpha
Nick Mathewson [Thu, 8 Jun 2017 14:15:41 +0000 (10:15 -0400)] 
fwd-port more changelogs (0.2.4 through 0.2.8)

8 years agoTweak 0.2.9.11 changelog
Nick Mathewson [Thu, 8 Jun 2017 13:48:12 +0000 (09:48 -0400)] 
Tweak 0.2.9.11 changelog

8 years agocopy changelog and releasenotes forward from 0.2.9, 0.3.0
Nick Mathewson [Thu, 8 Jun 2017 13:35:47 +0000 (09:35 -0400)] 
copy changelog and releasenotes forward from 0.2.9, 0.3.0

8 years agoFold TROVE-2017-00[45] into changelog
Nick Mathewson [Thu, 8 Jun 2017 13:32:00 +0000 (09:32 -0400)] 
Fold TROVE-2017-00[45] into changelog

8 years agoMerge branch 'maint-0.3.0'
Nick Mathewson [Thu, 8 Jun 2017 13:29:36 +0000 (09:29 -0400)] 
Merge branch 'maint-0.3.0'

8 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Thu, 8 Jun 2017 13:29:23 +0000 (09:29 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Thu, 8 Jun 2017 13:29:12 +0000 (09:29 -0400)] 
Merge branch 'maint-0.2.8' into maint-0.2.9

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Thu, 8 Jun 2017 13:29:05 +0000 (09:29 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 8 Jun 2017 13:28:54 +0000 (09:28 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7-redux

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 8 Jun 2017 13:28:29 +0000 (09:28 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

"ours" merge to avoid version bump.

8 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 8 Jun 2017 13:28:11 +0000 (09:28 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

"ours" merge to avoid version bump.

8 years agoBump to 0.2.8.14
Nick Mathewson [Thu, 8 Jun 2017 13:27:54 +0000 (09:27 -0400)] 
Bump to 0.2.8.14

8 years agoBump to 0.2.7.8
Nick Mathewson [Thu, 8 Jun 2017 13:27:34 +0000 (09:27 -0400)] 
Bump to 0.2.7.8

8 years agoBump to 0.2.6.12
Nick Mathewson [Thu, 8 Jun 2017 13:26:20 +0000 (09:26 -0400)] 
Bump to 0.2.6.12

8 years agobump to 0.2.5.14
Nick Mathewson [Thu, 8 Jun 2017 13:26:00 +0000 (09:26 -0400)] 
bump to 0.2.5.14

8 years agoBump to 0.2.4.29
Nick Mathewson [Thu, 8 Jun 2017 13:25:31 +0000 (09:25 -0400)] 
Bump to 0.2.4.29

8 years agobump to 0.2.9.11
Nick Mathewson [Thu, 8 Jun 2017 13:24:38 +0000 (09:24 -0400)] 
bump to 0.2.9.11

8 years agobump to 0.3.0.8
Nick Mathewson [Thu, 8 Jun 2017 13:24:28 +0000 (09:24 -0400)] 
bump to 0.3.0.8

8 years agoBump to 0.3.1.3-alpha.
Nick Mathewson [Thu, 8 Jun 2017 13:24:16 +0000 (09:24 -0400)] 
Bump to 0.3.1.3-alpha.

8 years agoMerge branch 'maint-0.2.7-redux' into maint-0.2.8
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)] 
Merge branch 'maint-0.2.7-redux' into maint-0.2.8