[strongSwan] A few questions about ciphers
rduke496 at gmail.com
Tue Dec 2 02:48:03 CET 2014
A couple of questions about ciphers.
According to this resource:
* the default for esp is: aes128-sha1,3des-sha1.
* the default for ike is: aes128-sha1-modp2048,3des-sha1-modp1536
When I log configured proposals for ESP (on a connection client) I see:
configured proposals: ESP:AES_CBC_128/HMAC_SHA1_96/NO_EXT_SEQ,
The first 2 seem to jibe with the documentation. But what is the big
long third option? Is this some kind of wildcard/fall-through?
I see something similar for IKE:
Again - the first 2 agree with the doc but then there is the longish
third option. Can you please give some info on the third option?
2] for an IOS client I noticed that the following proposal:
received proposals: ESP:AES_CBC_256/HMAC_SHA1_96/NO_EXT_SEQ,
Which ended up in the following selection (based on the default settings):
If I wanted to enable the 256 version of the above would I do something like:
Is there any specific reason that the defaults are 128 and not 256?
it seems like 256 is thought of as being more secure (when users go
off and read some basic stuff about key sizes and form the conclusion
that 256 is better based on scare story factoids). To what extent is
the choice of default a speed vs security trade-off? Or a backwards
Also - what is the significance of the SHA1 part of the cipher.
Again, I have recently had the experience that SHA1 is no longer
recommended when making certificates. Is that a relevant factor here?
I guess what I'm really asking is: what is the hash used for in this
case. In any case it seems like SHA1 is all the IOS device proposes
so the decision is not in my hands.
As a general question: ESP is data traffic and IKE is
control/management traffic, right? To what extent is the choice of
ciphers important to one vs the other?
Forgive if any of these questions seem overly generic or lacking in
context - I'm just trying to educate my users with a statement on the
strength of the encryption and reassure them about the choice of key
More information about the Users