]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoRemove changes file for 24898-029 backports in maint-0.3.2
Nick Mathewson [Fri, 16 Feb 2018 13:48:46 +0000 (08:48 -0500)] 
Remove changes file for 24898-029 backports in maint-0.3.2

These patches were already merged, and so don't need a changes file
in these branches.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 16 Feb 2018 13:47:41 +0000 (08:47 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Fri, 16 Feb 2018 13:47:12 +0000 (08:47 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

"ours" merge to avoid conflicts with the cherry-picked fix for 24898.

7 years agostop calling channel_mark_client in response to a create_fast
Roger Dingledine [Wed, 31 Jan 2018 08:21:27 +0000 (03:21 -0500)] 
stop calling channel_mark_client in response to a create_fast

since all it does is produce false positives

this commit should get merged into 0.2.9 and 0.3.0 *and* 0.3.1, even
though the code in the previous commit is already present in 0.3.1. sorry
for the mess.

[Cherry-picked]

7 years agostop calling channel_mark_client in response to a create_fast
Roger Dingledine [Wed, 31 Jan 2018 08:21:27 +0000 (03:21 -0500)] 
stop calling channel_mark_client in response to a create_fast

since all it does is produce false positives

this commit should get merged into 0.2.9 and 0.3.0 *and* 0.3.1, even
though the code in the previous commit is already present in 0.3.1. sorry
for the mess.

7 years agobackport to make channel_is_client() accurate
Roger Dingledine [Tue, 30 Jan 2018 23:05:39 +0000 (18:05 -0500)] 
backport to make channel_is_client() accurate

This commit takes a piece of commit af8cadf3a9 and a piece of commit
46fe353f25, with the goal of making channel_is_client() be based on what
sort of connection handshake the other side used, rather than seeing
whether the other side ever sent a create_fast cell to us.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Tue, 13 Feb 2018 21:55:19 +0000 (16:55 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 13 Feb 2018 21:55:18 +0000 (16:55 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agofix make check-changes
Taylor Yu [Tue, 13 Feb 2018 21:06:04 +0000 (15:06 -0600)] 
fix make check-changes

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Tue, 13 Feb 2018 13:50:59 +0000 (08:50 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Tue, 13 Feb 2018 13:50:58 +0000 (08:50 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agodirserv: Improve returned message when relay is rejected
David Goulet [Thu, 8 Feb 2018 14:42:26 +0000 (09:42 -0500)] 
dirserv: Improve returned message when relay is rejected

Explicitly inform the operator of the rejected relay to set a valid email
address in the ContactInfo field and contact bad-relays@ mailing list.

Fixes #25170

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Mon, 12 Feb 2018 13:33:47 +0000 (08:33 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Mon, 12 Feb 2018 13:33:47 +0000 (08:33 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'bug23318-redux_029' into maint-0.2.9
Nick Mathewson [Mon, 12 Feb 2018 13:33:03 +0000 (08:33 -0500)] 
Merge branch 'bug23318-redux_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sun, 11 Feb 2018 23:11:04 +0000 (18:11 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Sun, 11 Feb 2018 23:11:04 +0000 (18:11 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge remote-tracking branch 'public/bug24198_029' into maint-0.2.9
Nick Mathewson [Sun, 11 Feb 2018 23:10:59 +0000 (18:10 -0500)] 
Merge remote-tracking branch 'public/bug24198_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sun, 11 Feb 2018 23:09:35 +0000 (18:09 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Sun, 11 Feb 2018 23:09:35 +0000 (18:09 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'ticket24315_029' into maint-0.2.9
Nick Mathewson [Sun, 11 Feb 2018 23:07:37 +0000 (18:07 -0500)] 
Merge branch 'ticket24315_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sun, 11 Feb 2018 22:00:52 +0000 (17:00 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Sun, 11 Feb 2018 21:51:56 +0000 (16:51 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge remote-tracking branch 'public/bug21074_029' into maint-0.2.9
Nick Mathewson [Sun, 11 Feb 2018 21:51:53 +0000 (16:51 -0500)] 
Merge remote-tracking branch 'public/bug21074_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Sat, 10 Feb 2018 21:09:01 +0000 (16:09 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Sat, 10 Feb 2018 21:09:00 +0000 (16:09 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'bug24978_029_enable' into maint-0.2.9
Nick Mathewson [Sat, 10 Feb 2018 21:08:58 +0000 (16:08 -0500)] 
Merge branch 'bug24978_029_enable' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Thu, 8 Feb 2018 15:29:06 +0000 (10:29 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.1
Nick Mathewson [Thu, 8 Feb 2018 15:29:05 +0000 (10:29 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.5' into maint-0.2.9
Nick Mathewson [Thu, 8 Feb 2018 15:29:05 +0000 (10:29 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.9

7 years agoUpdate geoip and geoip6 to the February 7 2018 database.
Karsten Loesing [Thu, 8 Feb 2018 09:32:41 +0000 (10:32 +0100)] 
Update geoip and geoip6 to the February 7 2018 database.

7 years agoMerge branch 'bug25125_032_01_squashed' into maint-0.3.2
Nick Mathewson [Fri, 2 Feb 2018 17:03:48 +0000 (12:03 -0500)] 
Merge branch 'bug25125_032_01_squashed' into maint-0.3.2

7 years agosched: When releasing a channel, do not BUG() if absent from the pending list
David Goulet [Fri, 2 Feb 2018 13:48:34 +0000 (08:48 -0500)] 
sched: When releasing a channel, do not BUG() if absent from the pending list

The current code flow makes it that we can release a channel in a PENDING
state but not in the pending list. This happens while the channel is being
processed in the scheduler loop.

Fixes #25125

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agoMerge remote-tracking branch 'dgoulet/bug24700_032_01' into maint-0.3.2
Nick Mathewson [Thu, 1 Feb 2018 21:57:57 +0000 (16:57 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24700_032_01' into maint-0.3.2

7 years agosched: Use the sched_heap_idx field to double-check our fix for 24700.
Nick Mathewson [Thu, 1 Feb 2018 16:05:50 +0000 (11:05 -0500)] 
sched: Use the sched_heap_idx field to double-check our fix for 24700.

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Thu, 1 Feb 2018 20:28:17 +0000 (15:28 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'teor/bug25070_031' into maint-0.3.1
Nick Mathewson [Thu, 1 Feb 2018 20:28:11 +0000 (15:28 -0500)] 
Merge remote-tracking branch 'teor/bug25070_031' into maint-0.3.1

7 years agoMerge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2
Nick Mathewson [Thu, 1 Feb 2018 13:10:34 +0000 (08:10 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2

7 years agoMerge branch 'bug25105_032' into maint-0.3.2
Nick Mathewson [Wed, 31 Jan 2018 19:33:12 +0000 (14:33 -0500)] 
Merge branch 'bug25105_032' into maint-0.3.2

7 years agons: Add a before and after consensus has changed notification
David Goulet [Wed, 31 Jan 2018 19:15:02 +0000 (14:15 -0500)] 
ns: Add a before and after consensus has changed notification

In 0.3.2.1-alpha, we've added notify_networkstatus_changed() in order to have
a way to notify other subsystems that the consensus just changed. The old and
new consensus are passed to it.

Before this patch, this was done _before_ the new consensus was set globally
(thus NOT accessible by getting the latest consensus). The scheduler
notification was assuming that it was set and select_scheduler() is looking at
the latest consensus to get the parameters it might needs. This was very wrong
because at that point it is still the old consensus set globally.

This commit changes the notify_networkstatus_changed() to be the "before"
function and adds an "after" notification from which the scheduler subsystem
is notified.

Fixes #24975

7 years agoLook at the correct protocol for supports_v3_rendezvous_point
Nick Mathewson [Wed, 31 Jan 2018 19:01:49 +0000 (14:01 -0500)] 
Look at the correct protocol for supports_v3_rendezvous_point

Fixes bug 25105; bugfix on 0.3.2.1-alpha.

(This is a backport of bbf2d9cf6bb97c3e15ada58 for 0.3.2.)

7 years agoRevert "ns: Call notify_networkstatus_changed() after the new consensus is set globally"
David Goulet [Wed, 31 Jan 2018 18:59:05 +0000 (13:59 -0500)] 
Revert "ns: Call notify_networkstatus_changed() after the new consensus is set globally"

This reverts commit 3a247ca92a06c864a2cb634fbe2bc23cf48fb977.

7 years agoMerge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2
Nick Mathewson [Wed, 31 Jan 2018 18:46:58 +0000 (13:46 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2

7 years agosched: Avoid adding the same channel twice to the KIST pending list
David Goulet [Wed, 31 Jan 2018 18:46:31 +0000 (13:46 -0500)] 
sched: Avoid adding the same channel twice to the KIST pending list

This is the quick fix that is keeping the channel in PENDING state so if we
ever try to reschedule the same channel, it won't happened.

Fixes #24700

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agohs-v3: Remove a BUG() when storing a descriptor in the client cache
David Goulet [Wed, 31 Jan 2018 15:58:11 +0000 (10:58 -0500)] 
hs-v3: Remove a BUG() when storing a descriptor in the client cache

It is possible in normal circumstances that  a client fetches a descriptor
that has a lower revision counter than the one in its cache. This can happen
due to HSDir desync.

Fixes #24976

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agons: Call notify_networkstatus_changed() after the new consensus is set globally
David Goulet [Wed, 31 Jan 2018 16:08:33 +0000 (11:08 -0500)] 
ns: Call notify_networkstatus_changed() after the new consensus is set globally

In 0.3.2.1-alpha, we've added this function in order to have a way to notify
other subsystems that the consensus just changed. The old consensus and the
new one are passed to it.

Before this patch, this was done _before_ the new consensus was set globally
(thus NOT accessible by getting the latest consensus). The scheduler
notification was assuming that it was set and select_scheduler() is looking at
the latest consensus to get the parameters it might needs. This was very wrong
because at that point it is still the old consensus set globally.

With this commit, notify_networkstatus_changed() has been moved _after_ the
new consensus is set globally. The main obvious reasons is to fix the bug
described above and in #24975. The other reason is that this notify function
doesn't return anything which could be allowing the possibility of refusing to
set the new consensus on error. In other words, the new consensus is set right
after the notification whatever happens.

It does no harm or change in behavior to set the new consensus first and then
notify the subsystems. The two functions currently used are for the control
port using the old and new consensus and sending the diff. The second is the
scheduler that needs the new consensus to be set globally before being called.

Of course, the function has been documented accordinly to clearly state it is
done _after_ the new consensus is set.

Fixes #24975

Signed-off-by: David Goulet <dgoulet@torproject.org>
7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 31 Jan 2018 15:06:49 +0000 (10:06 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoBut in most Earth cultures, there are 60s in a minute.
Nick Mathewson [Wed, 31 Jan 2018 15:06:43 +0000 (10:06 -0500)] 
But in most Earth cultures, there are 60s in a minute.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 31 Jan 2018 15:01:13 +0000 (10:01 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoadd a rate-limit.
Nick Mathewson [Wed, 31 Jan 2018 15:01:10 +0000 (10:01 -0500)] 
add a rate-limit.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 31 Jan 2018 14:50:24 +0000 (09:50 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoChanges file for 25070
teor [Mon, 29 Jan 2018 14:55:56 +0000 (01:55 +1100)] 
Changes file for 25070

7 years agoAdd Link protocol version 5 to the supported protocols list in protover.c
teor [Mon, 29 Jan 2018 14:51:03 +0000 (01:51 +1100)] 
Add Link protocol version 5 to the supported protocols list in protover.c

Part of #25070, bugfix on 0.3.1.1-alpha.

7 years agoWhen a tor_cert_T check fails, log the reason why.
Nick Mathewson [Fri, 26 Jan 2018 18:55:25 +0000 (13:55 -0500)] 
When a tor_cert_T check fails, log the reason why.

Diagnostic attempt for 24972.

7 years agoIf out-of-disk when saving a consensus cache entry, don't BUG.
Nick Mathewson [Fri, 26 Jan 2018 18:14:14 +0000 (13:14 -0500)] 
If out-of-disk when saving a consensus cache entry, don't BUG.

Just warn instead.

Fixes bug 24859.

7 years agoFix a memory leak in scheduler/loop_kist
Nick Mathewson [Wed, 24 Jan 2018 17:07:45 +0000 (12:07 -0500)] 
Fix a memory leak in scheduler/loop_kist

Fixes bug 25005.

7 years agoMake Tor support TLS1.3 ciphers with OpenSSL 1.1.1
Nick Mathewson [Tue, 23 Jan 2018 14:23:21 +0000 (09:23 -0500)] 
Make Tor support TLS1.3 ciphers with OpenSSL 1.1.1

Without this patch, not only will TLS1.3 not work with Tor, but
OpenSSL 1.1.1 with TLS1.3 enabled won't build any connections at
all: It requires that either TLS1.3 be disabled, or some TLS1.3
ciphersuites be listed.

Closes ticket 24978.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 21:30:50 +0000 (16:30 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_032_02' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 21:30:44 +0000 (16:30 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_032_02' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 21:30:12 +0000 (16:30 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid maint-0.3.0's version of 24895.

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_031_02' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 21:30:02 +0000 (16:30 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_031_02' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0 maint-0.3.0
Nick Mathewson [Fri, 19 Jan 2018 21:29:43 +0000 (16:29 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

 Conflicts:
        src/or/rendservice.c

7 years agoMerge remote-tracking branch 'dgoulet/bug24895_029_02' into maint-0.2.9
Nick Mathewson [Fri, 19 Jan 2018 21:29:15 +0000 (16:29 -0500)] 
Merge remote-tracking branch 'dgoulet/bug24895_029_02' into maint-0.2.9

7 years agoMerge branch 'bug24895_031_02' into bug24895_032_02
David Goulet [Fri, 19 Jan 2018 21:26:26 +0000 (16:26 -0500)] 
Merge branch 'bug24895_031_02' into bug24895_032_02

7 years agoMerge branch 'bug24895_029_02' into bug24895_031_02
David Goulet [Fri, 19 Jan 2018 21:21:55 +0000 (16:21 -0500)] 
Merge branch 'bug24895_029_02' into bug24895_031_02

7 years agohs: Use hs_service_max_rdv_failures consensus param, defaulting to 2
Roger Dingledine [Fri, 19 Jan 2018 08:00:43 +0000 (03:00 -0500)] 
hs: Use hs_service_max_rdv_failures consensus param, defaulting to 2

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Fri, 19 Jan 2018 15:18:29 +0000 (10:18 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'tlyu-github/travis-workaround-031' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 15:18:21 +0000 (10:18 -0500)] 
Merge remote-tracking branch 'tlyu-github/travis-workaround-031' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Fri, 19 Jan 2018 15:17:33 +0000 (10:17 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

"ours" merge to avoid 0.2.5 version of #24863 fix.

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Fri, 19 Jan 2018 15:17:05 +0000 (10:17 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'maint-0.2.5' into maint-0.2.9
Nick Mathewson [Fri, 19 Jan 2018 15:16:47 +0000 (10:16 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.9

7 years agoturn MAX_REND_FAILURES into a function
Roger Dingledine [Fri, 19 Jan 2018 07:38:07 +0000 (02:38 -0500)] 
turn MAX_REND_FAILURES into a function

no actual changes in behavior

7 years agoMAX_REND_FAILURES is 1, but we would try three times
Roger Dingledine [Mon, 15 Jan 2018 21:30:55 +0000 (16:30 -0500)] 
MAX_REND_FAILURES is 1, but we would try three times

Fix an "off by 2" error in counting rendezvous failures on the onion
service side.

While we thought we would stop the rendezvous attempt after one failed
circuit, we were actually making three circuit attempts before giving up.

Fixes bug 24895; bugfix on 0.0.6.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Thu, 18 Jan 2018 13:13:48 +0000 (08:13 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'bug24826_031' into maint-0.3.1
Nick Mathewson [Thu, 18 Jan 2018 13:13:45 +0000 (08:13 -0500)] 
Merge branch 'bug24826_031' into maint-0.3.1

7 years agoWork around Travis CI ptrace regression
Taylor Yu [Wed, 10 Jan 2018 20:52:04 +0000 (14:52 -0600)] 
Work around Travis CI ptrace regression

Travis CI deployed a change that disables ptrace capabilities in
container builds, which prevents LeakSanitizer on clang from working
properly.  Set "sudo: required" to force non-container builds for
clang and work around this.

7 years agoWork around Travis CI ptrace regression
Taylor Yu [Wed, 10 Jan 2018 20:52:04 +0000 (14:52 -0600)] 
Work around Travis CI ptrace regression

Travis CI deployed a change that disables ptrace capabilities in
container builds, which prevents LeakSanitizer on clang from working
properly.  Set "sudo: required" to force non-container builds for
clang and work around this.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Wed, 17 Jan 2018 16:12:15 +0000 (11:12 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge remote-tracking branch 'arma/bug24894' into maint-0.3.2
Nick Mathewson [Wed, 17 Jan 2018 15:49:45 +0000 (10:49 -0500)] 
Merge remote-tracking branch 'arma/bug24894' into maint-0.3.2

7 years agoAdd a cast to avoid a signed/unsigned comparison
Nick Mathewson [Wed, 17 Jan 2018 14:06:32 +0000 (09:06 -0500)] 
Add a cast to avoid a signed/unsigned comparison

7 years agoMerge remote-tracking branch 'public/bug24652_032' into maint-0.3.2
Nick Mathewson [Tue, 16 Jan 2018 18:35:52 +0000 (13:35 -0500)] 
Merge remote-tracking branch 'public/bug24652_032' into maint-0.3.2

7 years agoImprove fragile-hardening performance of consensus_split_lines.
Nick Mathewson [Tue, 16 Jan 2018 17:42:40 +0000 (12:42 -0500)] 
Improve fragile-hardening performance of consensus_split_lines.

For whatever reason, in my testing, using memchr() here improves
performance over strchr() by a great deal.

Fixes bug 24826; bugfix on 0.3.1.1-alpha.

7 years agoRemove false positives from channel_is_client()
Roger Dingledine [Tue, 16 Jan 2018 03:33:40 +0000 (22:33 -0500)] 
Remove false positives from channel_is_client()

Fix a set of false positives where relays would consider connections
to other relays as being client-only connections (and thus e.g.
deserving different link padding schemes) if those relays fell out
of the consensus briefly.

Now we look only at the initial handshake and whether the connection
authenticated as a relay.

Fixes bug 24898; bugfix on 0.3.1.1-alpha.

7 years agov3 onion services now obey MAX_REND_FAILURES
Roger Dingledine [Mon, 15 Jan 2018 21:41:47 +0000 (16:41 -0500)] 
v3 onion services now obey MAX_REND_FAILURES

New-style (v3) onion services now obey the "max rendezvous circuit
attempts" logic.

Previously they would make as many rendezvous circuit attempts as they
could fit in the MAX_REND_TIMEOUT second window before giving up.

Fixes bug 24894; bugfix on 0.3.2.1-alpha.

7 years agoReword requirement to set Myfamily correctly
Sebastian Hahn [Thu, 11 Jan 2018 21:03:14 +0000 (22:03 +0100)] 
Reword requirement to set Myfamily correctly

7 years agoNote contactinfo and myfamily as required in more places
Nick Mathewson [Wed, 20 Dec 2017 16:10:14 +0000 (11:10 -0500)] 
Note contactinfo and myfamily as required in more places

Includes a sentence from cypherpunks; for ticket 24526.

7 years agoIncrement version to 0.3.2.9-dev
Nick Mathewson [Tue, 9 Jan 2018 15:12:25 +0000 (10:12 -0500)] 
Increment version to 0.3.2.9-dev

7 years agoIncrement version to 0.3.2.9
Nick Mathewson [Mon, 8 Jan 2018 16:39:24 +0000 (11:39 -0500)] 
Increment version to 0.3.2.9

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Mon, 8 Jan 2018 16:10:36 +0000 (11:10 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Mon, 8 Jan 2018 16:10:36 +0000 (11:10 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Mon, 8 Jan 2018 16:10:36 +0000 (11:10 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoAdd changes file for new fallback directory list.
Nick Mathewson [Mon, 8 Jan 2018 16:09:08 +0000 (11:09 -0500)] 
Add changes file for new fallback directory list.

7 years agoAdd 7 other fallback dirs from teor's tests
Nick Mathewson [Mon, 8 Jan 2018 16:03:44 +0000 (11:03 -0500)] 
Add 7 other fallback dirs from teor's tests

These are from "fallback_dirs_2018_01_06_2323_UTC_44aa1adf35_AU.inc"

7 years agoUpdate the fallback_dirs.inc file: part 1
Nick Mathewson [Mon, 8 Jan 2018 15:57:06 +0000 (10:57 -0500)] 
Update the fallback_dirs.inc file: part 1

This takes the updated fallback_dirs_2018_01_06_CA.inc from
pastly's scan.

7 years agoMerge branch 'maint-0.3.1' into maint-0.3.2
Nick Mathewson [Mon, 8 Jan 2018 14:35:55 +0000 (09:35 -0500)] 
Merge branch 'maint-0.3.1' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.0' into maint-0.3.1
Nick Mathewson [Mon, 8 Jan 2018 14:34:57 +0000 (09:34 -0500)] 
Merge branch 'maint-0.3.0' into maint-0.3.1

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.0
Nick Mathewson [Mon, 8 Jan 2018 14:34:56 +0000 (09:34 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.0

7 years agoMerge branch 'maint-0.2.5' into maint-0.2.9
Nick Mathewson [Mon, 8 Jan 2018 14:34:56 +0000 (09:34 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.9

7 years agoUpdate geoip and geoip6 to the January 5 2018 database.
Karsten Loesing [Mon, 8 Jan 2018 10:36:38 +0000 (11:36 +0100)] 
Update geoip and geoip6 to the January 5 2018 database.

7 years agoremove redundant "implement this" from log message
Roger Dingledine [Fri, 5 Jan 2018 23:23:07 +0000 (18:23 -0500)] 
remove redundant "implement this" from log message