mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
[os-tor] MyFamily (#3698)
This commit is contained in:
parent
b8aa264c3b
commit
1beca17cb9
4 changed files with 19 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= tor
|
||||
PLUGIN_VERSION= 1.9
|
||||
PLUGIN_VERSION= 1.10
|
||||
PLUGIN_COMMENT= The Onion Router
|
||||
PLUGIN_DEPENDS= tor ruby rubygem-rexml
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
|
|
|||
|
|
@ -54,6 +54,13 @@
|
|||
<type>text</type>
|
||||
<help>You can enter a publicly visible (obfuscated) email address into this field to allow other users to notify you if there are issues with your relay.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>relay.family</id>
|
||||
<label>Family</label>
|
||||
<type>text</type>
|
||||
<help>Fingerprints of other relays controlled or administered by the same group or organization. Do not list any bridge relay as it would compromise its concealment.</help>
|
||||
<advanced>true</advanced>
|
||||
</field>
|
||||
<field>
|
||||
<id>relay.bandwithrate</id>
|
||||
<label>Bandwith Rate</label>
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@
|
|||
<Required>N</Required>
|
||||
<mask><![CDATA[/^[a-zA-Z0-9 !§$%\/\(\)\\@,;.:_\-#+~*\?&<>]+$/]]></mask>
|
||||
</contact_info>
|
||||
<family type="TextField">
|
||||
<Required>N</Required>
|
||||
<!-- series of hex arrays -->
|
||||
<mask>/^[a-fA-F0-9,]+$/</mask>
|
||||
</family>
|
||||
<bandwithrate type="IntegerField">
|
||||
<Required>N</Required>
|
||||
</bandwithrate>
|
||||
|
|
|
|||
|
|
@ -171,6 +171,12 @@ OutboundBindAddress {{ OPNsense.tor.relay.outboundbindv6 }}
|
|||
Nickname {{ OPNsense.tor.relay.nick }}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.tor.relay.family') and OPNsense.tor.relay.family != '' %}
|
||||
{% if OPNsense.tor.relay.relay|default('1') != '1' %}
|
||||
MyFamily {{ OPNsense.tor.relay.family }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.tor.relay.contact_info') and OPNsense.tor.relay.contact_info != '' %}
|
||||
ContactInfo {{ OPNsense.tor.relay.contact_info }}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue