New versions of nginx 1.25.5 and fork FreeNginx 1.26.0

The main branch of nginx 1.25.5 has been released, within which the development of new features continues. The parallel-maintained stable branch 1.24.x contains only changes related to the elimination of serious bugs and vulnerabilities. In the future, based on the main branch 1.25.x, a stable branch 1.26 will be formed. The project code is written in C and distributed under the BSD license.

Among the changes:

  • Support has been added to the stream module. virtual servers, the configuration of which is defined in the “server { … }” block using the server_name directive. server { server_name ~^(www\.)?(.+)$; proxy_pass www.$2:12345; }
  • A new module ngx_stream_pass_module has been added, designed to forward received connections directly to any listening socket associated with modules such as http, stream and mail. stream { server { listen 12345 ssl; ssl_certificate domain.crt; ssl_certificate_key domain.key; pass 127.0.0.1:8000; } }
  • The listen directive of the stream module implements support for the “deferred” (enables deferred accept), “accept_filter” (incoming connection filter applied before calling the accept function) and “setfib” (setting the routing table) parameters.
  • For some architectures, support has been implemented for determining the block size (cache line) used to transfer data between the CPU cache and memory.
  • On Apple Silicon systems, support for the Homebrew package manager has been added.
  • Cross-compilation issues have been resolved for Windows.
  • Fixed a bug that caused connections to be closed when using 0-RTT mode in the QUIC protocol.

Additionally, we can note the publication of a stable version of the FreeNginx 1.26.0 project, which develops a fork of Nginx. The fork is being developed by Maxim Dunin, one of the key Nginx developers. FreeNginx is positioned as a non-profit project that provides development of the Nginx code base without corporate intervention. Release 1.26.0 is marked as a stable release, incorporating changes and fixes from the releases of the mainline branch of Nginx 1.25. Among other things, FreeNginx 1.26.0 includes experimental support for the HTTP/3 protocol, improvements to counter DoS attacks, and fixes related to asynchronous I/O processing.

At the same time, njs 0.8.4, a JavaScript interpreter for web server nginx. The njs interpreter implements ECMAScript standards and allows you to extend nginx's request processing capabilities with configuration scripts. Scripts can be used in the configuration file to define advanced request processing logic, generate configurations, dynamically generate responses, modify requests/responses, or quickly create stubs to resolve issues in web applications. In the new version: support for the QuickJS JavaScript engine has been added to the CLI; the ability to set the Server header has been added; and a check for duplicate variables set via js_set has been implemented.

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster