Since commit 96c7759f3 ("MEDIUM: ssl: add FIPS elliptic curve check for
AWS-LC"), ssl_fips_check_curves() only accepts P-256, P-384 and P-521
when the library runs in FIPS mode, and refuses to start on anything
else. This also rejects the ML-KEM based key exchange groups, which makes
it impossible to enable post-quantum key exchange in FIPS mode:
ssl-default-server-curves SecP256r1MLKEM768:X25519MLKEM768:P-256:P-384
[ALERT] 'server <CLT-OCSP-CHK>/<HTTPSCLIENT>' : FIPS mode active but
non-FIPS curve(s) configured: 'SecP256r1MLKEM768', 'X25519MLKEM768'.
This was observed with AWS-LC FIPS 4.2.0. The same applies to "curves"
on bind and server lines and to ssl-default-bind-curves.
These groups are in fact fine in FIPS mode. ML-KEM is standardized in
FIPS 203, and NIST SP 800-56C Rev. 2 allows a shared secret made of
several components to be used in key derivation as long as one of them
is generated by an approved scheme, which is the case of ML-KEM. This
makes X25519MLKEM768 acceptable despite X25519 alone not being approved.
For SecP256r1MLKEM768 and SecP384r1MLKEM1024 both components are
approved anyway. AWS-LC itself does not restrict these groups when built
in FIPS mode: they are part of its default group list and its service
indicator reports ML-KEM as approved.
The impact is significant since X25519MLKEM768 is the only post-quantum
hybrid group implemented by Chromium and the only one enabled by default
in Firefox (which only uses SecP256r1MLKEM768 after a configuration
change), so browsers cannot get a post-quantum key exchange from a FIPS
HAProxy without it.
Let's add NID_X25519MLKEM768, NID_SecP256r1MLKEM768,
NID_SecP384r1MLKEM1024 and NID_MLKEM512/768/1024 to the list of approved
NIDs, each one being guarded by #ifdef since they depend on the AWS-LC
version. Everything else (X25519 alone, X448, brainpool, P-224, the
pre-standard Kyber drafts) is still rejected.
This must be backported to 3.5.
HAProxy
HAProxy is a free, very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Installation
The INSTALL file describes how to build HAProxy. A list of packages is also available on the wiki.
Getting help
The discourse and the mailing-list are available for questions or configuration assistance. You can also use the slack or IRC channel. Please don't use the issue tracker for these.
The issue tracker is only for bug reports or feature requests.
Documentation
The HAProxy documentation has been split into a number of different files for ease of use. It is available in text format as well as HTML. The wiki is also meant to replace the old architecture guide.
Please refer to the following files depending on what you're looking for:
- INSTALL for instructions on how to build and install HAProxy
- BRANCHES to understand the project's life cycle and what version to use
- LICENSE for the project's license
- CONTRIBUTING for the process to follow to submit contributions
- doc/haterm.txt and doc/haload.txt for load generation utilities
The more detailed documentation is located into the doc/ directory:
- doc/intro.txt for a quick introduction on HAProxy
- doc/configuration.txt for the configuration's reference manual
- doc/lua.txt for the Lua's reference manual
- doc/SPOE.txt for how to use the SPOE engine
- doc/network-namespaces.txt for how to use network namespaces under Linux
- doc/management.txt for the management guide
- doc/regression-testing.txt for how to use the regression testing suite
- doc/peers.txt for the peers protocol reference
- doc/coding-style.txt for how to adopt HAProxy's coding style
- doc/internals for developer-specific documentation (not all up to date)
License
HAProxy is licensed under GPL 2 or any later version, the headers under LGPL 2.1. See the LICENSE file for a more detailed explanation.
