mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/tinc - use configd caching to ease priv separation.
This commit is contained in:
@@ -73,7 +73,6 @@
|
||||
<cipher type="JsonKeyValueStoreField">
|
||||
<Required>Y</Required>
|
||||
<ConfigdPopulateAct>tinc list ciphers</ConfigdPopulateAct>
|
||||
<SourceFile>/tmp/tinc_current_cipher_options.index</SourceFile>
|
||||
<Default>aes-256-cbc</Default>
|
||||
</cipher>
|
||||
<mode type="OptionField">
|
||||
@@ -164,7 +163,6 @@
|
||||
<cipher type="JsonKeyValueStoreField">
|
||||
<Required>Y</Required>
|
||||
<ConfigdPopulateAct>tinc list ciphers</ConfigdPopulateAct>
|
||||
<SourceFile>/tmp/tinc_current_cipher_options.index</SourceFile>
|
||||
<Default>aes-256-cbc</Default>
|
||||
</cipher>
|
||||
<connectTo type="BooleanField">
|
||||
|
||||
@@ -8,6 +8,7 @@ message:generate new keypair
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Tinc/list_ciphers.py
|
||||
parameters:
|
||||
type:script_output
|
||||
cache_ttl:360
|
||||
message:list ciphers
|
||||
|
||||
[stop]
|
||||
|
||||
Reference in New Issue
Block a user