1
0
mirror of https://github.com/apache/httpd.git synced 2025-09-21 06:02:00 +03:00

12470 Commits

Author SHA1 Message Date
Lucien Gentis
3adf32972a fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928430 13f79535-47bb-0310-9956-ffa450edef68
2025-09-13 13:34:03 +00:00
Lucien Gentis
b9aad883f2 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928429 13f79535-47bb-0310-9956-ffa450edef68
2025-09-13 13:32:52 +00:00
Lucien Gentis
a9e10912e1 typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928428 13f79535-47bb-0310-9956-ffa450edef68
2025-09-13 13:31:23 +00:00
Joe Orton
0c9cd095ce mod_ssl: Add support for Encrypted Client Hello (ECH) based off
proposed OpenSSL 4.0 API. Notes from PR #551:

This build only supports ECH "shared-mode" where mod_ssl does the ECH
decryption and also hosts both the ECH `public-name` and `backend` web
sites.

## Build

> [!NOTE]
> ECH is not yet a part of an OpenSSL release, our current goal is that ECH be
> part of an OpenSSL 4.0 release in spring 2026. 

There is client and server ECH code in the OpenSSL ECH feature branch at
[https://github.com/openssl/openssl/tree/feature/ech](https://github.com/openssl/openssl/tree/feature/ech).
At present, ECH-enabling apache2 therefore requires building from source, using
the OpenSSL ECH feature branch.

## Code changes

- All code changes are within `modules/ssl` and are protected via `#ifdef
  HAVE_OPENSSL_ECH`.  That's defined in `ssl_private.h` if the included
`ssl.h` defines `SSL_OP_ECH_GREASE`.

- There're a bunch of changes to add the new `SSLECHKeyDir` directive that
  are mosly obvious.

- We load the keys from `SSLECHKeyDir` using the `load_echkeys()` function in
  `ssl_engine_init.c`. That also ECH-enables the `SSL_CTX` when keys are
  loaded, which triggers ECH decryption as needed.

> [!NOTE]
> `load_echkeys()` will include the public component all loaded keys in the ECH
> `retry-configs` in the fallback scenario. If desired, we could add a naming
> convention or additional configuration setting to distinguish which to
> include in `retry-configs` or not. For now, we assume that'd better be done
> in a subsequent PR, if experience shows the feature is really useful/needed.
> (We can envisage some odd deployments where that might be the case, but not
> clear those'd really happen - it'd seem to need loads of key pairs or else
> some that are never published in the DNS that we don't want to expose to
> random clients - neither seems compelling.)

- We add a callback to `SSL_CTX_ech_set_callback` also in `ssl_engine_init.c`.

- We add calls to set the `SSL_ECH_STATUS` etc. variables to the environment
(for PHP etc) in `ssl_engine_kernel.c` and also do the logging of ECH outcomes
(to the error log).

Submitted by: sftcd <stephen.farrell cs.tcd.ie>, rpluem
Github: closes #551


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928357 13f79535-47bb-0310-9956-ffa450edef68
2025-09-12 08:05:11 +00:00
Lucien Gentis
a6dcd191f4 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928268 13f79535-47bb-0310-9956-ffa450edef68
2025-09-06 14:10:03 +00:00
Lucien Gentis
e366dd5314 fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928267 13f79535-47bb-0310-9956-ffa450edef68
2025-09-06 14:08:40 +00:00
Lucien Gentis
d22f2b079f typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928265 13f79535-47bb-0310-9956-ffa450edef68
2025-09-06 13:23:04 +00:00
Eric Covener
e2057d122b xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928085 13f79535-47bb-0310-9956-ffa450edef68
2025-08-29 12:20:40 +00:00
Eric Covener
0bc520a054 helps to re-read the PR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928084 13f79535-47bb-0310-9956-ffa450edef68
2025-08-29 12:20:29 +00:00
Eric Covener
3024cfb031 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928079 13f79535-47bb-0310-9956-ffa450edef68
2025-08-29 12:12:07 +00:00
Eric Covener
471036b5fe reorder, tweak wording
help emphasize the moral of PR69698, that continued lines
win out over comments.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928078 13f79535-47bb-0310-9956-ffa450edef68
2025-08-29 12:11:59 +00:00
Stefan Eissing
d7bdb5c655 remove tailscale from mod_md documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928039 13f79535-47bb-0310-9956-ffa450edef68
2025-08-27 07:54:59 +00:00
Ruediger Pluem
3690d63cb8 * Follow up to r1927885: Changelog entry and documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1928022 13f79535-47bb-0310-9956-ffa450edef68
2025-08-26 13:56:01 +00:00
Lucien Gentis
8635cf3afb fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927970 13f79535-47bb-0310-9956-ffa450edef68
2025-08-23 13:01:49 +00:00
Lucien Gentis
513b246911 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927969 13f79535-47bb-0310-9956-ffa450edef68
2025-08-23 12:59:34 +00:00
Rich Bowen
948098207d trivial typo correction
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927862 13f79535-47bb-0310-9956-ffa450edef68
2025-08-18 19:20:15 +00:00
Rich Bowen
4c62d17adb trivial typo correction
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927861 13f79535-47bb-0310-9956-ffa450edef68
2025-08-18 19:17:06 +00:00
Lucien Gentis
f39e335e28 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927818 13f79535-47bb-0310-9956-ffa450edef68
2025-08-16 13:05:16 +00:00
Lucien Gentis
fdf6142822 fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927817 13f79535-47bb-0310-9956-ffa450edef68
2025-08-16 12:54:03 +00:00
Lucien Gentis
b5139d346f Typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927816 13f79535-47bb-0310-9956-ffa450edef68
2025-08-16 12:52:25 +00:00
Stefan Eissing
7019a88e61 *) mod_md: update to version 2.6.1
- Increasing default `MDRetryDelay` to 30 seconds to generate less bursty
       traffic on errored renewals for the ACME CA. This leads to error retries
        of 30s, 1 minute, 2, 4, etc. up to daily attempts.
     - Checking that configuring `MDRetryDelay` will result in a positive
       duration. A delay of 0 is not accepted.
     - Fix a bug in checking Content-Type of responses from the ACME server.
     - Added ACME ARI support (rfc9773) to the module. Enabled by default. New
       directive "MDRenewViaARI on|off" for controlling this.
     - Removing tailscale support. It has not been working for a long time
       as the company decided to change their APIs. Away with the dead code,
       documentation and tests.
     - Fixed a compilation issue with pre-industrial versions of libcurl.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927807 13f79535-47bb-0310-9956-ffa450edef68
2025-08-15 11:23:29 +00:00
Stefan Eissing
2cf135cac4 steal a number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927806 13f79535-47bb-0310-9956-ffa450edef68
2025-08-15 10:27:32 +00:00
Stefan Eissing
149f6c72d3 *) mod_http2: update to version 2.0.35
New directive `H2MaxStreamErrors` to control how much bad behaviour
     by clients is tolerated before the connection is closed.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927792 13f79535-47bb-0310-9956-ffa450edef68
2025-08-14 07:53:10 +00:00
Joe Orton
8d8846f431 Regenerate docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927631 13f79535-47bb-0310-9956-ffa450edef68
2025-08-06 07:29:44 +00:00
Joe Orton
391445d8ab Revert r1914045, since the new -o option duplicates the -B option.
Thread: https://lists.apache.org/thread/w26fk0m0r52lys1wxwn11b862vc1y631


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927630 13f79535-47bb-0310-9956-ffa450edef68
2025-08-06 07:28:09 +00:00
Lucien Gentis
0c0a5a323b fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927365 13f79535-47bb-0310-9956-ffa450edef68
2025-07-21 11:17:50 +00:00
Lucien Gentis
89d500d063 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927364 13f79535-47bb-0310-9956-ffa450edef68
2025-07-21 11:16:47 +00:00
Eric Covener
c846964343 xform for mod_ssl
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927322 13f79535-47bb-0310-9956-ffa450edef68
2025-07-18 19:50:33 +00:00
Eric Covener
68b912859c mentioned dropped 'sslengine optional'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927320 13f79535-47bb-0310-9956-ffa450edef68
2025-07-18 19:47:15 +00:00
Lucien Gentis
dd60cec5ae fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927149 13f79535-47bb-0310-9956-ffa450edef68
2025-07-12 13:21:13 +00:00
Lucien Gentis
74d1fe85db fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927148 13f79535-47bb-0310-9956-ffa450edef68
2025-07-12 13:19:30 +00:00
Eric Covener
dd98030cb3 expand UNC checking
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927033 13f79535-47bb-0310-9956-ffa450edef68
2025-07-07 11:49:48 +00:00
Lucien Gentis
9c4557ea2b fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926975 13f79535-47bb-0310-9956-ffa450edef68
2025-07-05 14:01:34 +00:00
Lucien Gentis
5170482e86 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926974 13f79535-47bb-0310-9956-ffa450edef68
2025-07-05 14:00:36 +00:00
Joe Orton
36f619966b mod_so: Add -D DUMP_MODULE_DATA to print module data in structured
format (TOML) including MMN information.

* modules/core/mod_so.c (print_mod_data): New function.
  (dump_loaded_modules): Use it if DUMP_MODULE_DATA is defined.

* docs/manual/programs/httpd.xml: Move -DDUMP_* docs to a new
  section, cover the above new option.

Github: closes #537


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926737 13f79535-47bb-0310-9956-ffa450edef68
2025-06-26 09:21:25 +00:00
Lucien Gentis
a54b3778a9 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926625 13f79535-47bb-0310-9956-ffa450edef68
2025-06-21 13:55:48 +00:00
Lucien Gentis
2141c9548a fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926624 13f79535-47bb-0310-9956-ffa450edef68
2025-06-21 13:54:54 +00:00
Joe Orton
7943c0ba66 Steal 2 lognos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926368 13f79535-47bb-0310-9956-ffa450edef68
2025-06-12 10:06:46 +00:00
Ruediger Pluem
9771a826fd Add the escapehtml function to the expression API
Add the escapehtml function to the expression API, allowing to escape HTML
strings to guard against HTML injections.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926342 13f79535-47bb-0310-9956-ffa450edef68
2025-06-10 15:31:19 +00:00
Lucien Gentis
af61c91eb9 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926213 13f79535-47bb-0310-9956-ffa450edef68
2025-06-07 12:39:55 +00:00
Lucien Gentis
d1d5b485ac fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926212 13f79535-47bb-0310-9956-ffa450edef68
2025-06-07 12:38:51 +00:00
Christophe Jaillet
bc44c682d3 Improve syntax highlight which is already nicer in 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926185 13f79535-47bb-0310-9956-ffa450edef68
2025-06-06 18:47:11 +00:00
Joe Orton
5c7eac0cf6 Docs: update openssl command for listing pubkey algorithms for 3.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926171 13f79535-47bb-0310-9956-ffa450edef68
2025-06-06 10:34:15 +00:00
Stefan Eissing
6280123692 restore MDActivationDelay in the mod_md documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1926075 13f79535-47bb-0310-9956-ffa450edef68
2025-06-03 07:34:32 +00:00
Lucien Gentis
d7cec16f60 fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924811 13f79535-47bb-0310-9956-ffa450edef68
2025-04-05 13:39:02 +00:00
Lucien Gentis
75c3a1967c fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924810 13f79535-47bb-0310-9956-ffa450edef68
2025-04-05 13:37:52 +00:00
Joe Orton
2738357b81 Update to use rfc-editor.org URLs throughout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924775 13f79535-47bb-0310-9956-ffa450edef68
2025-04-04 16:18:31 +00:00
Joe Orton
0427048348 Update mod_ssl docs to reference current & working openssl.org
URIs throughout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924774 13f79535-47bb-0310-9956-ffa450edef68
2025-04-04 16:08:18 +00:00
Lucien Gentis
8d71cf3c9e fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924230 13f79535-47bb-0310-9956-ffa450edef68
2025-03-08 13:00:24 +00:00
Lucien Gentis
6549092414 fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924229 13f79535-47bb-0310-9956-ffa450edef68
2025-03-08 12:59:25 +00:00