]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
6 years agoChanges file.
Mike Perry [Thu, 16 May 2019 20:25:25 +0000 (20:25 +0000)] 
Changes file.

6 years agoRefactor rend machines, stage 2/2: Move histogram code.
Mike Perry [Thu, 16 May 2019 19:42:45 +0000 (19:42 +0000)] 
Refactor rend machines, stage 2/2: Move histogram code.

Comment clarifications now that the code is seperated. It's the same code, but
its doing this for different reasons on each side.

6 years agoRefactor rend machines, stage 1/2: Move state transition code.
Mike Perry [Thu, 16 May 2019 19:30:42 +0000 (19:30 +0000)] 
Refactor rend machines, stage 1/2: Move state transition code.

6 years agoRefactor intro machines, stage 2/2: Move histogram code.
Mike Perry [Thu, 16 May 2019 19:17:31 +0000 (19:17 +0000)] 
Refactor intro machines, stage 2/2: Move histogram code.

The client side had garbage histograms and deadcode here, too. That code has
been removed.

The tests have also been updated to properly test the intro circ by sending
padding from the relay side to the client, and verifying that both shut down
when padding was up. (The tests previously erroneously tested only the client
side of intro circs, which actually were supposed to be doing nothing).

6 years agoRefactor intro machines, stage 1/2: Move state transition code.
Mike Perry [Thu, 16 May 2019 18:41:21 +0000 (18:41 +0000)] 
Refactor intro machines, stage 1/2: Move state transition code.

This just moves the state transition directives into the proper client/relay
side functions. It also allows us to remove some dead-code from the client
side (since the client doesn't send padding).

6 years agoImprove logging around the circpad module..
George Kadianakis [Thu, 28 Mar 2019 13:38:33 +0000 (15:38 +0200)] 
Improve logging around the circpad module..

- Add some more useful logs for future debugging.

- Stop usage of circpad_state_to_string(). It's innacurate.

- Reduce severity and fix up log domain of some logging messages.

6 years agoAdd unittests for the new machines.
George Kadianakis [Thu, 28 Mar 2019 13:39:08 +0000 (15:39 +0200)] 
Add unittests for the new machines.

6 years agoAdd client-side onion service circuit hiding machines.
George Kadianakis [Thu, 16 May 2019 11:02:16 +0000 (14:02 +0300)] 
Add client-side onion service circuit hiding machines.

6 years agoCorrectly handle machines out of tokens that have not closed yet.
George Kadianakis [Wed, 17 Apr 2019 10:23:23 +0000 (13:23 +0300)] 
Correctly handle machines out of tokens that have not closed yet.

Perhaps the machine on the other side is still not done.

6 years agoIntroduce circpad free_all() function.
George Kadianakis [Wed, 17 Apr 2019 11:52:51 +0000 (14:52 +0300)] 
Introduce circpad free_all() function.

6 years agoGenerate non-padding circpad events for PADDING_NEGOTIATE(D).
George Kadianakis [Fri, 12 Apr 2019 20:42:46 +0000 (23:42 +0300)] 
Generate non-padding circpad events for PADDING_NEGOTIATE(D).

As part of our machines, we need to know when a PADDING_NEGOATIATE(D) cell gets
sent out, so we add an event for this.

6 years agoMake register_padding_machine part of the public API.
George Kadianakis [Wed, 20 Mar 2019 15:41:10 +0000 (17:41 +0200)] 
Make register_padding_machine part of the public API.

We are gonna use this function to register our new machine.

6 years agoBehave correctly when state->max_length is zero.
George Kadianakis [Wed, 20 Mar 2019 15:42:56 +0000 (17:42 +0200)] 
Behave correctly when state->max_length is zero.

6 years agofix typos, whitespace, comments
Roger Dingledine [Thu, 16 May 2019 03:20:03 +0000 (23:20 -0400)] 
fix typos, whitespace, comments

6 years agoMerge branch 'tor-github/pr/1002'
George Kadianakis [Wed, 15 May 2019 20:23:18 +0000 (23:23 +0300)] 
Merge branch 'tor-github/pr/1002'

6 years agoMerge branch 'tor-github/pr/1021'
David Goulet [Wed, 15 May 2019 19:35:22 +0000 (15:35 -0400)] 
Merge branch 'tor-github/pr/1021'

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'bug28780-squashed3-rebased' into bug28780_rebase
George Kadianakis [Wed, 15 May 2019 13:46:51 +0000 (16:46 +0300)] 
Merge branch 'bug28780-squashed3-rebased' into bug28780_rebase

6 years agoThe practracker beatings will continue until the files get smaller.
Mike Perry [Wed, 15 May 2019 04:47:50 +0000 (04:47 +0000)] 
The practracker beatings will continue until the files get smaller.

6 years agoAdd control port circuit ID to all pathbias bug messages.
Mike Perry [Wed, 8 May 2019 21:28:00 +0000 (21:28 +0000)] 
Add control port circuit ID to all pathbias bug messages.

To ease debugging of miscount issues, attach vanguards with --loglevel DEBUG
and obtain control port logs (or use any other control port CIRC and
CIRC_MINOR event logging mechanism).

6 years agoPathbias should continue to ignore previously ignored circs.
Mike Perry [Wed, 8 May 2019 21:21:03 +0000 (21:21 +0000)] 
Pathbias should continue to ignore previously ignored circs.

If circuit padding wants to keep a circuit open and pathbias used to ignore
it, pathbias should continue to ignore it.

This may catch other purpose-change related miscounts (such as timeout
measurement, cannibalization, onion service circuit transitions, and
vanguards).

6 years agoBug 28780: Changes file
Mike Perry [Thu, 18 Apr 2019 20:35:22 +0000 (20:35 +0000)] 
Bug 28780: Changes file

6 years agoBug 28780: Add tests
Mike Perry [Wed, 15 May 2019 04:46:05 +0000 (04:46 +0000)] 
Bug 28780: Add tests

Also test circpad expiry safeguard.

6 years agoBug 28780: Make use of purpose to keep padding circuits open.
Mike Perry [Thu, 18 Apr 2019 20:40:55 +0000 (20:40 +0000)] 
Bug 28780: Make use of purpose to keep padding circuits open.

When a circuit is marked for close, check to see if any of our padding
machines want to take ownership of it and continue padding until the machine
hits the END state.

For safety, we also ensure that machines that do not terminate are still
closed as follows: Because padding machine timers are UINT32_MAX in size, if
some sort of network event doesn't happen on a padding-only circuit within
that time, we can conclude it is deadlocked and allow
circuit_expire_old_circuits_clientside() to close it.

If too much network activity happens, then per-machine padding limits can be
used to cease padding, which will cause network cell events to cease, on the
circuit, which will cause circpad to abandon the circuit as per the above time
limit.

6 years agoBug 28780: Add purpose for keeping padding circuits open
Mike Perry [Wed, 15 May 2019 04:42:28 +0000 (04:42 +0000)] 
Bug 28780: Add purpose for keeping padding circuits open

6 years agoMerge branch 'bug29085_rebase'
George Kadianakis [Wed, 15 May 2019 12:13:08 +0000 (15:13 +0300)] 
Merge branch 'bug29085_rebase'

6 years agoPractracker beatings are even more fun when they get caused mid-PR due to a github...
Mike Perry [Wed, 15 May 2019 04:58:21 +0000 (04:58 +0000)] 
Practracker beatings are even more fun when they get caused mid-PR due to a github auto-rebase of a PR

Because github PRs choose the most recent origin/master at the time of the PR
(and for any fixups pushed to a PR later to send to CI), there are tons of
conflicts and unexpected practracker issues.

This means CI can suddenly fail after fixups to a branch that pass locally.

Then CI fails and we have to close and re-open the PR.

6 years agoCheck the token supply when we received a padding event, too.
Mike Perry [Wed, 15 May 2019 03:43:57 +0000 (03:43 +0000)] 
Check the token supply when we received a padding event, too.

We need to check here because otherwise we can try to schedule padding with no
tokens left upon the receipt of a padding event when our bins just became
empty.

6 years agoFix two typo bugs found by new state length test.
Mike Perry [Wed, 15 May 2019 03:33:53 +0000 (03:33 +0000)] 
Fix two typo bugs found by new state length test.

6 years agoAdd test to explicitly check state lengths and token counts.
Mike Perry [Wed, 15 May 2019 03:45:03 +0000 (03:45 +0000)] 
Add test to explicitly check state lengths and token counts.

Our other tests tested state lengths against padding packets, and token counts
against non-padding packets. This test checks state lengths against
non-padding packets (and also padding packets too), and checks token counts
against padding packets (and also non-padding packets too).

The next three commits are needed to make this test pass (it found 3 bugs).
Yay?

6 years agoEliminate unneeded casts to circuit_t in circpad tests.
Mike Perry [Tue, 14 May 2019 22:25:15 +0000 (22:25 +0000)] 
Eliminate unneeded casts to circuit_t in circpad tests.

6 years agoBug 29085: Changes file.
Mike Perry [Wed, 8 May 2019 00:50:52 +0000 (00:50 +0000)] 
Bug 29085: Changes file.

6 years agoBug 29085: Avoid monotime usage for rtt estimates if it is not in use.
Mike Perry [Wed, 8 May 2019 00:40:49 +0000 (00:40 +0000)] 
Bug 29085: Avoid monotime usage for rtt estimates if it is not in use.

6 years agoMake the relationship between mutable histograms and token removal explicit.
Mike Perry [Sat, 11 May 2019 03:12:33 +0000 (03:12 +0000)] 
Make the relationship between mutable histograms and token removal explicit.

6 years agoMerge branch 'maint-0.4.0'
Nick Mathewson [Wed, 15 May 2019 11:41:42 +0000 (07:41 -0400)] 
Merge branch 'maint-0.4.0'

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Wed, 15 May 2019 11:41:42 +0000 (07:41 -0400)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge branch 'bug30475_035' into maint-0.3.5
Nick Mathewson [Wed, 15 May 2019 11:41:34 +0000 (07:41 -0400)] 
Merge branch 'bug30475_035' into maint-0.3.5

6 years agoMerge branch 'maint-0.4.0'
George Kadianakis [Wed, 15 May 2019 10:46:20 +0000 (13:46 +0300)] 
Merge branch 'maint-0.4.0'

6 years agoMerge branch 'tor-github/pr/1013' into maint-0.4.0
George Kadianakis [Wed, 15 May 2019 10:45:39 +0000 (13:45 +0300)] 
Merge branch 'tor-github/pr/1013' into maint-0.4.0

6 years agoBug 29085: Minor unit test updates for refactoring.
Mike Perry [Tue, 7 May 2019 23:37:33 +0000 (23:37 +0000)] 
Bug 29085: Minor unit test updates for refactoring.

Deliver nonpadding events instead of calling token removal functions.

6 years agoBug 29085: Refactor padding sent accounting out of callback.
Mike Perry [Sat, 11 May 2019 03:26:53 +0000 (03:26 +0000)] 
Bug 29085: Refactor padding sent accounting out of callback.

This commit moves code that updates the state length and padding limit counts
out from the callback to its own function, for clarity.

It does not change functionality.

6 years agoBug 29085: Refactor non-padding accounting out of token removal.
Mike Perry [Sat, 11 May 2019 02:51:14 +0000 (02:51 +0000)] 
Bug 29085: Refactor non-padding accounting out of token removal.

This commit moves the padding state limit checks and the padding rate limit
checks out of the token removal codepath, and causes all three functions to
get called from a single circpad_machine_count_nonpadding_sent() function.

It does not change functionality.

6 years agoupdate practracker for tor_init
Nick Mathewson [Tue, 14 May 2019 23:56:20 +0000 (19:56 -0400)] 
update practracker for tor_init

6 years agoMerge branch 'ticket30452_035_v3' into ticket30452_041_v3
Nick Mathewson [Tue, 14 May 2019 23:55:51 +0000 (19:55 -0400)] 
Merge branch 'ticket30452_035_v3' into ticket30452_041_v3

6 years agoMake --list-modules imply --hush
Nick Mathewson [Tue, 14 May 2019 23:55:35 +0000 (19:55 -0400)] 
Make --list-modules imply --hush

6 years agoUpdate practracker for 30452
Nick Mathewson [Tue, 14 May 2019 23:22:35 +0000 (19:22 -0400)] 
Update practracker for 30452

6 years agoMerge branch 'ticket30452_035_v3' into ticket30452_041_v3
Nick Mathewson [Tue, 14 May 2019 23:20:53 +0000 (19:20 -0400)] 
Merge branch 'ticket30452_035_v3' into ticket30452_041_v3

6 years agoAdd a --list-modules command
Nick Mathewson [Thu, 9 May 2019 15:26:13 +0000 (11:26 -0400)] 
Add a --list-modules command

Closes ticket 30452.

6 years agoMerge remote-tracking branch 'tor-github/pr/1004'
Nick Mathewson [Tue, 14 May 2019 15:43:10 +0000 (11:43 -0400)] 
Merge remote-tracking branch 'tor-github/pr/1004'

6 years agoMerge branch 'tor-github/pr/1006'
George Kadianakis [Tue, 14 May 2019 12:15:09 +0000 (15:15 +0300)] 
Merge branch 'tor-github/pr/1006'

6 years agoFix a compilation warning: function does not have to be STATIC.
Nick Mathewson [Mon, 13 May 2019 18:34:16 +0000 (14:34 -0400)] 
Fix a compilation warning: function does not have to be STATIC.

6 years agoMerge branch 'bug28683_30173_29203_squashed'
Nick Mathewson [Mon, 13 May 2019 18:33:31 +0000 (14:33 -0400)] 
Merge branch 'bug28683_30173_29203_squashed'

6 years agoThe practracker beatings will continue until the functions get smaller.
Mike Perry [Thu, 18 Apr 2019 18:14:31 +0000 (18:14 +0000)] 
The practracker beatings will continue until the functions get smaller.

6 years agoChanges file for bugs28693+30173+29203.
Mike Perry [Wed, 17 Apr 2019 23:37:22 +0000 (23:37 +0000)] 
Changes file for bugs28693+30173+29203.

6 years agoTests for bugs 28683, 30173, and 29203.
Mike Perry [Wed, 17 Apr 2019 23:21:54 +0000 (23:21 +0000)] 
Tests for bugs 28683, 30173, and 29203.

6 years agoBug 29203: Provide ReducedCircuitPadding torrc and consensus params
Mike Perry [Wed, 17 Apr 2019 06:09:06 +0000 (06:09 +0000)] 
Bug 29203: Provide ReducedCircuitPadding torrc and consensus params

6 years agoBug 28693: Provide Torrc option to disable circuit padding.
Mike Perry [Wed, 17 Apr 2019 05:51:39 +0000 (05:51 +0000)] 
Bug 28693: Provide Torrc option to disable circuit padding.

6 years agoMerge remote-tracking branch 'tor-github/pr/998'
Nick Mathewson [Mon, 13 May 2019 18:25:54 +0000 (14:25 -0400)] 
Merge remote-tracking branch 'tor-github/pr/998'

6 years agosendme: Fix coverity CID 1444999
David Goulet [Mon, 13 May 2019 14:00:39 +0000 (10:00 -0400)] 
sendme: Fix coverity CID 1444999

The code flow in theory can end up with a layer_hint to be NULL but in
practice it should never happen because with an origin circuit, we must have
the layer_hint.

Just in case, BUG() on it if we ever end up in this situation and recover by
closing the circuit.

Fixes #30467.

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'tor-github/pr/976'
David Goulet [Mon, 13 May 2019 11:34:00 +0000 (07:34 -0400)] 
Merge branch 'tor-github/pr/976'

6 years agoDon't pass a NULL into a %s when logging client auth file load failure
Nick Mathewson [Fri, 10 May 2019 21:47:43 +0000 (17:47 -0400)] 
Don't pass a NULL into a %s when logging client auth file load failure

Fortunately, in 0.3.5.1-alpha we improved logging for various
failure cases involved with onion service client auth.

Unfortunately, for this one, we freed the file right before logging
its name.

Fortunately, tor_free() sets its pointer to NULL, so we didn't have
a use-after-free bug.

Unfortunately, passing NULL to %s is not defined.

Fortunately, GCC 9.1.1 caught the issue!

Unfortunately, nobody has actually tried building Tor with GCC 9.1.1
before. Or if they had, they didn't report the warning.

Fixes bug 30475; bugfix on 0.3.5.1-alpha.

6 years agoMerge branch 'tor-github/pr/973'
George Kadianakis [Fri, 10 May 2019 09:49:01 +0000 (12:49 +0300)] 
Merge branch 'tor-github/pr/973'

6 years agoMerge branch 'tor-github/pr/1000'
David Goulet [Wed, 8 May 2019 12:02:28 +0000 (08:02 -0400)] 
Merge branch 'tor-github/pr/1000'

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoOnly call tor_addr_parse() in circuit_is_acceptable() when needed
Neel Chauhan [Tue, 7 May 2019 15:24:53 +0000 (11:24 -0400)] 
Only call tor_addr_parse() in circuit_is_acceptable() when needed

6 years agoMerge branch 'tor-github/pr/994'
David Goulet [Tue, 7 May 2019 12:02:39 +0000 (08:02 -0400)] 
Merge branch 'tor-github/pr/994'

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge remote-tracking branch 'tor-github/pr/923'
Nick Mathewson [Mon, 6 May 2019 21:16:37 +0000 (17:16 -0400)] 
Merge remote-tracking branch 'tor-github/pr/923'

6 years agoMove "relay" and "router" periodic callbacks out of mainloop.c
Nick Mathewson [Thu, 2 May 2019 13:52:03 +0000 (09:52 -0400)] 
Move "relay" and "router" periodic callbacks out of mainloop.c

(Some of these callbacks are specific to the OR module, so now it's
time to have an or_sys and or_periodic.)

6 years agoCreate a relay subsystem and move the shutdown functions there
Nick Mathewson [Wed, 1 May 2019 19:36:18 +0000 (15:36 -0400)] 
Create a relay subsystem and move the shutdown functions there

6 years agoHiding crypt_path_t: Add changes file.
George Kadianakis [Mon, 6 May 2019 14:54:51 +0000 (17:54 +0300)] 
Hiding crypt_path_t: Add changes file.

6 years agosendme: Add FlowCtrl protover value
David Goulet [Fri, 3 May 2019 17:24:06 +0000 (13:24 -0400)] 
sendme: Add FlowCtrl protover value

See proposal 289 section 4.3 for more details.

It describes the flow control protocol at the circuit and stream level. If
there is no FlowCtrl protocol version, tor supports the unauthenticated flow
control features from its supported Relay protocols.

At this commit, relay will start advertising FlowCtrl=1 meaning they support
authenticated SENDMEs v1.

Closes #30363

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'tor-github/pr/954'
David Goulet [Fri, 3 May 2019 17:11:03 +0000 (13:11 -0400)] 
Merge branch 'tor-github/pr/954'

6 years agoHiding crypt_path_t: Hide 'crypto' usage in sendme.c
George Kadianakis [Fri, 3 May 2019 15:27:58 +0000 (18:27 +0300)] 
Hiding crypt_path_t: Hide 'crypto' usage in sendme.c

6 years agoHiding crypt_path_t: Change code to use the privatization macro.
George Kadianakis [Fri, 26 Apr 2019 11:20:26 +0000 (14:20 +0300)] 
Hiding crypt_path_t: Change code to use the privatization macro.

6 years agoHiding crypt_path_t: Hiding 'crypto' using a macro.
George Kadianakis [Fri, 26 Apr 2019 11:19:14 +0000 (14:19 +0300)] 
Hiding crypt_path_t: Hiding 'crypto' using a macro.

6 years agoRevert "Hiding crypt_path_t: Ensure that ->private is initialized."
George Kadianakis [Fri, 26 Apr 2019 11:28:03 +0000 (14:28 +0300)] 
Revert "Hiding crypt_path_t: Ensure that ->private is initialized."

This reverts commit 7497c9193a0f2c891a0802bf5fbe73cf7ec1ca99.

6 years agoRevert "Hiding crypt_path_t: Create a constructor for crypt_path_t."
George Kadianakis [Fri, 26 Apr 2019 11:26:22 +0000 (14:26 +0300)] 
Revert "Hiding crypt_path_t: Create a constructor for crypt_path_t."

This reverts commit ab8b80944967ee5a6a0c45dbf61839cf257bfe44.

6 years agoHiding crypt_path_t: Some TODO notes for future directions.
George Kadianakis [Tue, 9 Apr 2019 15:04:15 +0000 (18:04 +0300)] 
Hiding crypt_path_t: Some TODO notes for future directions.

6 years agoHiding crypt_path_t: Move some more crypt_path-specific functions.
George Kadianakis [Tue, 9 Apr 2019 14:57:04 +0000 (17:57 +0300)] 
Hiding crypt_path_t: Move some more crypt_path-specific functions.

- Move test-only cpath_get_n_hops() to crypt_path.c.
- Move onion_next_hop_in_cpath() and rename to cpath_get_next_non_open_hop().

The latter function was directly accessing cpath->state, and it's a first step
at hiding ->state.

6 years agoHiding crypt_path_t: Rename some functions to fit the crypt_path API.
George Kadianakis [Tue, 9 Apr 2019 09:38:19 +0000 (12:38 +0300)] 
Hiding crypt_path_t: Rename some functions to fit the crypt_path API.

Some of these functions are now public and cpath-specific so their name should
signify the fact they are part of the cpath module:

assert_cpath_layer_ok -> cpath_assert_layer_ok
assert_cpath_ok -> cpath_assert_ok
onion_append_hop -> cpath_append_hop
circuit_init_cpath_crypto -> cpath_init_circuit_crypto
circuit_free_cpath_node -> cpath_free
onion_append_to_cpath -> cpath_extend_linked_list

6 years agoHiding crypt_path_t: Trivial changes to satisfy check-local.
George Kadianakis [Mon, 8 Apr 2019 13:36:12 +0000 (16:36 +0300)] 
Hiding crypt_path_t: Trivial changes to satisfy check-local.

6 years agoHiding crypt_path_t: Ensure that ->private is initialized.
George Kadianakis [Wed, 10 Apr 2019 13:28:29 +0000 (16:28 +0300)] 
Hiding crypt_path_t: Ensure that ->private is initialized.

Now that we are using a constructor we should be more careful that we are
always using the constructor to initialize crypt_path_t, so make sure that
->private is initialized.

6 years agoHiding crypt_path_t: Create a constructor for crypt_path_t.
George Kadianakis [Mon, 8 Apr 2019 13:18:44 +0000 (16:18 +0300)] 
Hiding crypt_path_t: Create a constructor for crypt_path_t.

We are using an opaque pointer so the structure needs to be allocated on the
heap. This means we now need a constructor for crypt_path_t.

Also modify all places initializing a crypt_path_t to use the constructor.

6 years agoHiding crypt_path_t: Fixup broken unittests.
George Kadianakis [Mon, 8 Apr 2019 12:43:23 +0000 (15:43 +0300)] 
Hiding crypt_path_t: Fixup broken unittests.

6 years agoHiding crypt_path_t: Move the free func in crypt_path.c.
George Kadianakis [Mon, 8 Apr 2019 12:37:02 +0000 (15:37 +0300)] 
Hiding crypt_path_t: Move the free func in crypt_path.c.

Again everything is moved, apart from a free line using ->private.

6 years agoHiding crypt_path_t: Move some more init funcs in crypt_path.c.
George Kadianakis [Mon, 8 Apr 2019 12:32:23 +0000 (15:32 +0300)] 
Hiding crypt_path_t: Move some more init funcs in crypt_path.c.

Everything is moved, but the argument of the function is edited to access
->private->crypto.

6 years agoHiding crypt_path_t: Start with crypt_path.crypto .
George Kadianakis [Mon, 8 Apr 2019 12:16:37 +0000 (15:16 +0300)] 
Hiding crypt_path_t: Start with crypt_path.crypto .

Create some functions to eventually be able to hide crypt_path_t.crypto.

6 years agoHiding crypt_path_t: Move init functions to crypt_path.c.
George Kadianakis [Mon, 8 Apr 2019 10:01:18 +0000 (13:01 +0300)] 
Hiding crypt_path_t: Move init functions to crypt_path.c.

This commit only moves code.

6 years agoHiding crypt_path_t: Move assert functions in crypt_path.c.
George Kadianakis [Mon, 8 Apr 2019 09:46:40 +0000 (12:46 +0300)] 
Hiding crypt_path_t: Move assert functions in crypt_path.c.

This commit only moves code, and makes one function public.

6 years agoHiding crypt_path_t: Introduce opaque crypt_path_private_t .
George Kadianakis [Mon, 8 Apr 2019 11:35:02 +0000 (14:35 +0300)] 
Hiding crypt_path_t: Introduce opaque crypt_path_private_t .

This will be our base for incrementally hiding crypt_path_t.

6 years agoMerge branch 'tor-github/pr/984'
David Goulet [Fri, 3 May 2019 14:56:12 +0000 (10:56 -0400)] 
Merge branch 'tor-github/pr/984'

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoNote how to update the new website in the ReleasingTor.md instructions
Nick Mathewson [Fri, 3 May 2019 12:51:28 +0000 (08:51 -0400)] 
Note how to update the new website in the ReleasingTor.md instructions

6 years agoMerge branch 'maint-0.4.0'
Nick Mathewson [Thu, 2 May 2019 18:33:09 +0000 (14:33 -0400)] 
Merge branch 'maint-0.4.0'

"ours" to avoid version bump.

6 years agoBump to 0.4.0.5-dev
Nick Mathewson [Thu, 2 May 2019 18:32:55 +0000 (14:32 -0400)] 
Bump to 0.4.0.5-dev

6 years agoforward-port changelog and releasenotes from 0.4.0.5
Nick Mathewson [Thu, 2 May 2019 18:32:24 +0000 (14:32 -0400)] 
forward-port changelog and releasenotes from 0.4.0.5

6 years agoMerge branch 'tor-github/pr/986'
George Kadianakis [Thu, 2 May 2019 15:12:52 +0000 (18:12 +0300)] 
Merge branch 'tor-github/pr/986'

6 years agosendme: Add changes file for prop289
David Goulet [Thu, 2 May 2019 15:10:41 +0000 (11:10 -0400)] 
sendme: Add changes file for prop289

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'tor-github/pr/999'
George Kadianakis [Thu, 2 May 2019 14:48:09 +0000 (17:48 +0300)] 
Merge branch 'tor-github/pr/999'

6 years agoAdd comments to include.am files to note where new sources go
Nick Mathewson [Thu, 2 May 2019 13:37:18 +0000 (09:37 -0400)] 
Add comments to include.am files to note where new sources go

This mechanism isn't perfect, and sometimes it will guess wrong,
but it will help our automation.

6 years agoChanges file for improved dirauth modularity (ticket 30345)
Nick Mathewson [Tue, 30 Apr 2019 18:59:28 +0000 (14:59 -0400)] 
Changes file for improved dirauth modularity (ticket 30345)

6 years agopractracker updates.
Nick Mathewson [Tue, 30 Apr 2019 17:04:18 +0000 (13:04 -0400)] 
practracker updates.

6 years agoRemove some now-needless dirauth includes
Nick Mathewson [Tue, 30 Apr 2019 16:58:00 +0000 (12:58 -0400)] 
Remove some now-needless dirauth includes