202207

DH-group/cypher suites/strongswan config

DH-group/cypher suites/strongswan config/remarks
group1 / 768-bit Modular Exponential (MODP) algorithm.
group2 / 1024-bit MODP algorithm.
group5 / 1536-bit MODP algorithm.
group14 / 2048-bit MODP group.
group15 / 3072-bit MODP algorithm.
group16 / 4096-bit MODP algorithm.
group19 / 256-bit random Elliptic Curve Groups modulo a Prime (ECP groups) algorithm.
group20 / 384-bit random ECP groups algorithm.
group21 / 521-bit random ECP groups algorithm.
group24 / 2048-bit MODP Group with 256-bit prime order subgroup.

前方参照と後方参照

  • 前方参照: (?=)
    • ex: ABCD => AB(?=CD) (match: AB)
  • 否定的前方参照: (?!)
    • ex: ABCE => AB(?=CD) (match: AB)
  • 後方参照: (?>=)
    • ex: ABCD => (?<=AB)CD (match: CD)
  • 否定的後方参照: (?<!)
    • ex: AACD => (?<!AB)CD (match: CD)