Skip to content

Conversation

@notroj
Copy link
Collaborator

@notroj notroj commented Oct 28, 2025

No description provided.

@notroj notroj force-pushed the 2.4.x-ssl-vhost-sni-policy branch from da772ca to 262c206 Compare October 28, 2025 14:19
notroj and others added 3 commits October 28, 2025 14:35
level required for VirtualHost matching.

For "secure" and "authonly" modes, a hash of the policy-relevant vhost
configuration is created and stored in the post_config hooks, reducing
the runtime code complexity (and overhead).

* modules/ssl/ssl_engine_kernel.c (ssl_check_vhost_sni_policy): New
  function, replacing ssl_server_compatible et al.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLVHostSNIPolicy): New
  function.

* modules/ssl/ssl_engine_init.c (md5_strarray_cmp, md5_strarray_hash,
  hash_sni_policy_pk, hash_sni_policy_auth, create_sni_policy_hash):
  New functions.
  (ssl_init_Module): Invoke create_sni_policy_hash to store the hash
  for every SSLSrvConfigRec.

* modules/ssl/ssl_private.h (SSLModConfigRec): Add snivh_policy field.
  (SSLSrvConfigRec): Add sni_policy_hash field.

PR: 69743
misplaced tags in english version and fr doc XML file update.

Update docs on SSLVhostSNIPolicy to cover the impact on
non-SNI connections. Reorder the table for clarity.

Submitted by: lgentis, Aaron Ogburn <aogburn redhat.com>, jorton
@notroj notroj force-pushed the 2.4.x-ssl-vhost-sni-policy branch from 262c206 to 14ce1b7 Compare October 28, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant