Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
56e8d84e
Commit
56e8d84e
authored
5 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'ticket31548_035_01_squashed'
parents
58b87a2c
984a28f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/ticket31548
+7
-0
7 additions, 0 deletions
changes/ticket31548
src/feature/hs/hs_service.c
+9
-0
9 additions, 0 deletions
src/feature/hs/hs_service.c
with
16 additions
and
0 deletions
changes/ticket31548
0 → 100644
+
7
−
0
View file @
56e8d84e
o Major bugfixes (hidden service v3):
- Make onion service always use the exact amount of configured intro points
(or less due to node exlusion). Before, a service could sometimes pick
more intro points than configured with the
HiddenServiceNumIntroductionPoints option. Fixes bug 31548; bugfix on
0.3.2.1-alpha.
This diff is collapsed.
Click to expand it.
src/feature/hs/hs_service.c
+
9
−
0
View file @
56e8d84e
...
...
@@ -1659,6 +1659,15 @@ build_desc_intro_points(const hs_service_t *service,
DIGEST256MAP_FOREACH
(
desc
->
intro_points
.
map
,
key
,
const
hs_service_intro_point_t
*
,
ip
)
{
if
(
!
ip
->
circuit_established
)
{
/* Ignore un-established intro points. They can linger in that list
* because their circuit has not opened and they haven't been removed
* yet even though we have enough intro circuits.
*
* Due to #31561, it can stay in that list until rotation so this check
* prevents to publish an intro point without a circuit. */
continue
;
}
hs_desc_intro_point_t
*
desc_ip
=
hs_desc_intro_point_new
();
if
(
setup_desc_intro_point
(
&
desc
->
signing_kp
,
ip
,
now
,
desc_ip
)
<
0
)
{
hs_desc_intro_point_free
(
desc_ip
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment