mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-05 03:23:14 +02:00
New ciphers implementing #247
This commit is contained in:
parent
b06524d3e0
commit
92b07aa6f0
3 changed files with 19 additions and 8 deletions
|
@ -19,3 +19,14 @@ strongswan_enabled_plugins:
|
|||
- socket-default
|
||||
- stroke
|
||||
- x509
|
||||
|
||||
ciphers:
|
||||
old:
|
||||
ike: aes128gcm16-sha2_256-prfsha256-ecp256!
|
||||
esp: aes128gcm16-sha2_256-ecp256!
|
||||
defaults:
|
||||
ike: aes192gcm16-prfsha512-ecp521!
|
||||
esp: aes192gcm16-ecp521!
|
||||
windows:
|
||||
ike: aes128gcm16-sha2_256-prfsha256-ecp256,aes256-sha2_256-prfsha256-modp2048!
|
||||
esp: aes128gcm16-sha2_256-ecp256,aes256-sha2_256-modp2048!
|
||||
|
|
|
@ -7,11 +7,11 @@ conn ikev2-{{ IP_subject_alt_name }}
|
|||
dpddelay=35s
|
||||
|
||||
{% if Win10_Enabled is defined and Win10_Enabled == "Y" %}
|
||||
ike=aes128gcm16-sha2_256-prfsha256-ecp256,aes256-sha2_256-prfsha256-modp2048!
|
||||
esp=aes128gcm16-sha2_256-ecp256,aes256-sha1-modp1024!
|
||||
ike={{ ciphers.windows.ike }}
|
||||
esp={{ ciphers.windows.esp }}
|
||||
{% else %}
|
||||
ike=aes128gcm16-sha2_256-prfsha256-ecp256
|
||||
esp=aes128gcm16-sha2_256-ecp256
|
||||
ike={{ ciphers.defaults.ike }}
|
||||
esp={{ ciphers.defaults.esp }}
|
||||
{% endif %}
|
||||
|
||||
right={{ IP_subject_alt_name }}
|
||||
|
|
|
@ -11,11 +11,11 @@ conn %default
|
|||
dpddelay=35s
|
||||
|
||||
{% if Win10_Enabled is defined and Win10_Enabled == "Y" %}
|
||||
ike=aes128gcm16-sha2_256-prfsha256-ecp256,aes256-sha2_256-prfsha256-modp2048!
|
||||
esp=aes128gcm16-sha2_256-ecp256,aes256-sha2_256-modp2048!
|
||||
ike={{ ciphers.windows.ike }}
|
||||
esp={{ ciphers.windows.esp }}
|
||||
{% else %}
|
||||
ike=aes128gcm16-sha2_256-prfsha256-ecp256!
|
||||
esp=aes128gcm16-sha2_256-ecp256!
|
||||
ike={{ ciphers.defaults.ike }}
|
||||
esp={{ ciphers.defaults.esp }}
|
||||
{% endif %}
|
||||
|
||||
left=%any
|
||||
|
|
Loading…
Add table
Reference in a new issue