Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
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
The Tor Project
Core
Tor
Commits
8ecaf410
Commit
8ecaf410
authored
6 years ago
by
Alexander Hansen Færøy
Browse files
Options
Downloads
Patches
Plain Diff
Support 'none' in torrc for HiddenServiceExportCircuitID.
See:
https://bugs.torproject.org/4700
parent
3477a73a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/tor.1.txt
+2
-1
2 additions, 1 deletion
doc/tor.1.txt
src/feature/hs/hs_config.c
+4
-1
4 additions, 1 deletion
src/feature/hs/hs_config.c
with
6 additions
and
2 deletions
doc/tor.1.txt
+
2
−
1
View file @
8ecaf410
...
...
@@ -2838,7 +2838,8 @@ The following options are used to configure a hidden service.
[[HiddenServiceExportCircuitID]] **HiddenServiceExportCircuitID** __protocol__::
The onion service will use the given protocol to expose the global circuit
identifier of each inbound client circuit via the selected protocol. The only
protocol supported right now \'haproxy\'. This option is only for v3 services.
protocol supported right now \'haproxy\'. This option is only for v3
services. (Default: none)
[[HiddenServiceMaxStreams]] **HiddenServiceMaxStreams** __N__::
The maximum number of simultaneous streams (connections) per rendezvous
...
...
This diff is collapsed.
Click to expand it.
src/feature/hs/hs_config.c
+
4
−
1
View file @
8ecaf410
...
...
@@ -161,8 +161,11 @@ helper_parse_circuit_id_protocol(const char *key, const char *value, int *ok)
if
(
!
strcasecmp
(
value
,
"haproxy"
))
{
*
ok
=
1
;
ret
=
HS_CIRCUIT_ID_PROTOCOL_HAPROXY
;
}
else
if
(
!
strcasecmp
(
value
,
"none"
))
{
*
ok
=
1
;
ret
=
HS_CIRCUIT_ID_PROTOCOL_NONE
;
}
else
{
log_warn
(
LD_CONFIG
,
"%s must be 'haproxy'."
,
key
);
log_warn
(
LD_CONFIG
,
"%s must be 'haproxy'
or 'none'
."
,
key
);
goto
err
;
}
...
...
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