File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,18 @@ HiddenServiceDir /var/lib/tor/{{ servicename }}/
82
82
{% for port in hsproperties ['onion_ports' ] %}
83
83
HiddenServicePort {{ port.0 }} {{ onion_ipaddr }}:{{ port.1}}
84
84
{% endfor %}
85
-
85
+ {% if hsproperties ['onion_hidden_service_pow_defenses_enabled' ] is defined %}
86
+ HiddenServicePoWDefensesEnabled {{ hsproperties['onion_hidden_service_pow_defenses_enabled'] }}
87
+ {% endif %}
88
+ {% if hsproperties ['onion_hidden_service_pow_queue_rate' ] is defined %}
89
+ HiddenServicePoWQueueRate {{ hsproperties['onion_hidden_service_pow_queue_rate'] }}
90
+ {% endif %}
91
+ {% if hsproperties ['onion_hidden_service_pow_queue_burst' ] is defined %}
92
+ HiddenServicePoWQueueBurst {{ hsproperties['onion_hidden_service_pow_queue_burst'] }}
93
+ {% endif %}
94
+ {% if hsproperties ['onion_compiled_proof_of_work_hash' ] is defined %}
95
+ CompiledProofOfWorkHash {{ hsproperties['onion_compiled_proof_of_work_hash'] }}
96
+ {% endif %}
86
97
{% endif %}
87
98
{% for client in hsproperties ['onion_authorized_clients' ]|default ([]) %}
88
99
HiddenServiceAuthorizeClient stealth {{ client }}
You can’t perform that action at this time.
0 commit comments