public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Tom Rymes <tom@rymes.net>
To: development@lists.ipfire.org
Subject: Apple IKEv2 and Ciphers
Date: Sun, 06 Feb 2022 10:01:09 -0500	[thread overview]
Message-ID: <A3537008-EE4E-4D83-8C97-02B86D8F6DB0@rymes.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

All,

I wanted first to thank Michael for all the work put into creating the Apple Configuration Profiles feature for IPSec. It’s really quite nice to use.

Anyhow, I was surprised to find that the ciphers used included MODP_1024, which IPFire lists as “Broken”. Now, I’m the first to admit that I do not fully grasp the intricacies of selecting a cipher suite, but this seemed odd to me. I also noticed that the Profile is written to select DH Group 21 (ECP_521), not MODP_1024, which is what ends up getting used.

Using the default configuration profile from IPFire, this is what StrongSwan Reports in the log:

charon: 08[CFG] selected proposal: IKE:AES_GCM_16_256/PRF_HMAC_SHA2_256/MODP_1024 
charon: 07[CFG] selected peer config ‘MyConnection' 
charon: 07[CFG] selected proposal: ESP:AES_GCM_16_256/NO_EXT_SEQ 

If I modify the Configuration Profile to use 256 bit AES-CBC, though, then ECP_521ends up getting used. 

charon: 05[CFG] selected proposal: IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/ECP_521 
Feb  6 09:50:09 stream charon: 13[CFG] selected peer config 'TomMacOS' 
Feb  6 09:50:09 stream charon: 13[CFG] selected proposal: ESP:AES_GCM_16_256/NO_EXT_SEQ 

Is that an improvement, or does the elimination of GCM actually set things back?

Tom

             reply	other threads:[~2022-02-06 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-06 15:01 Tom Rymes [this message]
2022-02-07 15:09 ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A3537008-EE4E-4D83-8C97-02B86D8F6DB0@rymes.net \
    --to=tom@rymes.net \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox