[strongSwan] "best practices"?

James jameszee13 at gmail.com
Wed Apr 1 20:08:39 CEST 2015


All,

Looking for best practices on the most secure settings that can be used.

I've scoured the net and found very little in terms of which settings
are most secure and in which combination.

I saw a recommendation on a site that recommended the following settings:

conn %default
    ike=aes128-sha256-ecp256,aes256-sha384-ecp384,aes128-sha256-modp2048,aes128-sha1-modp2048,aes256-sha384-modp4096,aes256-sha256-modp4096,aes256-sha1-modp4096,aes128-sha256-modp1536,aes128-sha1-modp1536,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048,aes128-sha256-modp1024,aes128-sha1-modp1024,aes256-sha384-modp1536,aes256-sha256-modp1536,aes256-sha1-modp1536,aes256-sha384-modp1024,aes256-sha256-modp1024,aes256-sha1-modp1024!
    esp=aes128gcm16-ecp256,aes256gcm16-ecp384,aes128-sha256-ecp256,aes256-sha384-ecp384,aes128-sha256-modp2048,aes128-sha1-modp2048,aes256-sha384-modp4096,aes256-sha256-modp4096,aes256-sha1-modp4096,aes128-sha256-modp1536,aes128-sha1-modp1536,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048,aes128-sha256-modp1024,aes128-sha1-modp1024,aes256-sha384-modp1536,aes256-sha256-modp1536,aes256-sha1-modp1536,aes256-sha384-modp1024,aes256-sha256-modp1024,aes256-sha1-modp1024,aes128gcm16,aes256gcm16,aes128-sha256,aes128-sha1,aes256-sha384,aes256-sha256,aes256-sha1!

Obviously there's the documentation
(https://wiki.strongswan.org/projects/strongswan/wiki/IKEv2CipherSuites)
but ti doesn't really indicate which are the strongest methods as best
I can tell.

Should I assume that strongSwan will automatically use the "most
secure" communication method possible if both ends are configured
_without_ the esp and ike directives?

Thanks.


More information about the Users mailing list