Up to [cvs.NetBSD.org] / pkgsrc / net / haproxy / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
haproxy: updated to 3.4.0 3.4.0 - BUG/MINOR: tcpcheck: Check LDAP response to not read more data than available - BUG/MINOR: ssl-gencert: validate SNI characters to prevent SAN certificate injection - BUG/MINOR: mux-h1: H2 preface rejection doesn't update stick-table glitches - BUG/MEDIUM: cpu-topo: Enforce thread-hard-limit on policy - BUG/MEDIUM: qmux: do not crash on too large record - BUG/MEDIUM: qmux: do not crash on receiving an invalid first frame - BUG/MINOR: qmux: reject too large initial record - Revert "BUG/MEDIUM: dns: fix long loops in additional records parse on name failure" - BUG/MINOR: qpack: Fix index calculation in debug functions - BUG/MINOR: qpack: fix potential null-pointer dereference in qpack_dht_insert() - CLEANUP: qpack: fix copy-paste typo in value Huffman debug string - BUG/MINOR: qpack: fix sign bit mask in qpack_decode_fs_pfx() - CLEANUP: qpack: fix copy-paste typo in value Huffman debug string for WLN - BUG/MINOR: qpack: fix huff_dec() error handling in qpack_decode_fs() - CLEANUP: qpack: move encoded macros to qpack-t.h to avoid duplication - BUG/MEDIUM: quic: handle ECONNREFUSED on RX side - BUG/MINOR: quic: Fix memory leak in quic_deallocate_dghdlrs() - BUG/MEDIUM: lua: defer Lua VM initialisation to the first Lua config keyword - REGTESTS: lua: fix tune.lua.openlibs in Lua reg-tests - BUG/MINOR: mux-h2: Count padding for connection flow control on error path - BUILD: addons: convert 51d addon to EXTRA_MAKE - BUILD: addons: convert deviceatlas addon to EXTRA_MAKE - BUILD: addons: convert WURFL addon to EXTRA_MAKE - MINOR: mux_quic/flags: add missing flags - BUG/MINOR: mux_quic: open an idle QCS on reset on BE side - BUG/MINOR: mux_quic: fix BE conn removal on app shutdown - BUG/MINOR: mux_quic: prevent BE reuse with an errored conn - BUG/MINOR: quic: fix ack range node pool_free call passing wrong pointer type - MEDIUM: quic: optimize HKDF operations by reusing per-thread contexts - BUG/MEDIUM: quic: reset cwnd in slow_start on persistent congestion (cubic) - BUG/MEDIUM: quic: reset consecutive_losses on exit from recovery period (cubic) - BUG/MINOR: quic: update drs->lost before calling on_ack_recv - Revert "MEDIUM: quic: optimize HKDF operations by reusing per-thread contexts" - BUG/MEDIUM: lua: register hlua_init() as a pre-check to fix crash without Lua config - REGTESTS: quic: disable quic/ocsp_auto_update for now - BUG/MINOR: threads: set at least grp_max when mtpg is too small - BUG/MEDIUM: threads: ignore max-threads-per-group when thread-groups is set - CLEANUP: thread: indicate when max-threads-per-group is ignored - MINOR: cpu-topo: notify when cpu-policy is ignored due to other settings - MINOR: thread: report when thread-groups or nbthread results in less threads - BUILD: makefile: include EXTRA_MAKE in the .build_opts construction - BUG/MINOR: quic: Fix another buffer overflow with sockaddr_in46 - MINOR: quic: Copy sin6_flowinfo and sin6_scope_id too - BUILD: Makefile: put EXTRA_MAKE help at the right place - BUG/MINOR: cache: fix cache tree iteration - BUG/MEDIUM: resolvers: Wait a bit before calling the xprt prepare_srv - CLEANUP: addons/51degrees: initialize variables - MINOR: addons/51degrees: handle memory allocation failures - CLEANUP: ncbmbuf: improve handling of memory allocation errors in unit tests - CLEANUP: admin/halog: improve handling of memory allocation errors - DOC: internals: clarify ambiguous wording in core-principles - DOC: internals: add a threat model definition - DOC: add security.txt describing how to report security issues - DOC: security: also add a note to exclude dev/ and admin/ - BUG/MEDIUM: qmux: Close connection on invalid frame - CLEANUP: fix comment typo - BUG/MEDIUM: h3: fix MAX_PUSH_ID handling - BUG/MINOR: cache: Fix copy of value when parsing maxage - BUG/MEDIUM: mux-h1: Dup connection/upgrade value to parse it when making headers - BUG/MEDIUM: htx: Fix headers rollback on partial copy in htx_xfer() - MINOR: deinit: release the in-memory copy of shared libs - MINOR: debug: add -dA to dump an archive of all dependencies - BUG/MEDIUM: ssl: Make sure the alpn length is small enough - BUG/MINOR: applet: Commit changes into input buffer after sending HTX data - BUG/MINOR: mux-spop: Fix possible off-by-one OOB read in spop_get_varint() - BUG/MEDIUM: leastconn: Unlock the write lock on allocation failure - BUG/MINOR: tasks: Increase the right niced_task counter - BUILD: makefile: search for Lua 5.5 as well - DEV: dev/gdb: improve ebtree pointer handling - DEV: dev/gdb: add simple task dump - DEV: dev/gdb: add simple thread dump - DEV: dev/gdb: add fdtab dump - DOC: config: add a few more explanation in http-reusee regarding sni-auto - REGTESTS: add basic QMux tests - BUG/MINOR: http-act: Properly handle final evaluation in pause action - BUILD: makefile/lua: use the system's default library before all other variants - BUG/MINOR: startup: unbreak chroot with CAP_SYS_CHROOT - BUG/MINOR: haterm: do not try to bind QUIC when not supported - BUG/MINOR: haterm: also apply the tcp-bind-opts to clear TCP "bind" lines - CLEANUP: haterm: do not try to bind to SSL when not built in - MINOR: haterm: enable ktls on the SSL bind line when supported - CI: github: replace cirrus by a vmactions/freebsd-vm job - BUILD: makefile: fix build error with GNU make 4.2.1 and /bin/dash - BUG/MEDIUM: channel: Fix condition to know if a channel may send - BUG/MEDIUM: vars: Properly eval set-var-fmt action for emtpy log-format string - CI: github: run illumos job weekly on Mondays at 03:00 instead of monthly - BUG/MEDIUM: stream: Don't use small buffer on queuing with a request data filter - BUG/MINOR: jwe: don't write randoms past MAX_DECRYPTED_CEK_LEN in RSA_PKCS1_PADDING - BUG/MEDIUM: chunk: do not rely on small trash by default for expressions - CLEANUP: map: always test pat->ref in sample_conv_map_key() - DEV: patchbot: prepare for new version 3.5-dev - MINOR: version: mention that it's 3.4 LTS now.
haproxy: updated to 3.3.0 3.3.0 - BUG/MINOR: acme: better challenge_ready processing - BUG/MINOR: acme: warning ‘ctx’ may be used uninitialized - MINOR: httpclient: complete the https log - BUG/MEDIUM: server: do not use default SNI if manually set - BUG/MINOR: freq_ctr: Prevent possible signed overflow in freq_ctr_overshoot_period - DOC: ssl: Document the restrictions on 0RTT. - DOC: ssl: Note that 0rtt works fork QUIC with QuicTLS too. - BUG/MEDIUM: quic: do not prevent sending if no BE token - BUG/MINOR: quic/server: free quic_retry_token on srv drop - MINOR: quic: split global CID tree between FE and BE sides - MINOR: quic: use separate global quic_conns FE/BE lists - MINOR: quic: add "clo" filter on show quic - MINOR: quic: dump backend connections on show quic - MINOR: quic: mark backend conns on show quic - BUG/MINOR: quic: fix uninit list on show quic handler - BUG/MINOR: quic: release BE quic_conn on connect failure - BUG/MINOR: server: fix srv_drop() crash on partially init srv - BUG/MINOR: h3: do no crash on forwarding multiple chained response - BUG/MINOR: h3: handle properly buf alloc failure on response forwarding - BUG/MEDIUM: server/ssl: Unset the SNI for new server connections if none is set - BUG/MINOR: acme: fix ha_alert() call - Revert "BUG/MEDIUM: server/ssl: Unset the SNI for new server connections if none is set" - BUG/MINOR: sock-inet: ignore conntrack for transparent sockets on Linux - DEV: patchbot: prepare for new version 3.4-dev - DOC: update INSTALL with the range of gcc compilers and openssl versions - MINOR: version: mention that 3.3 is stable now
haproxy: updated to 3.2.9 3.2.9 - MINOR: ssl/sample: expose ssl_*c_curve for AWS-LC - Revert "BUG/MEDIUM: connections: permit to permanently remove an idle conn" - BUG/MEDIUM: connection: do not reinsert a purgeable conn in idle list - BUG/MEDIUM: connection/ssl: also fix the ssl_sock_io_cb() regarding idle list - BUG/MINOR: config: Limit "tune.maxpollevents" parameter to 1000000 - BUG/MEDIUM: stick-tables: Make sure updates are seen as local - BUG/MINOR: quic: close connection on CID alloc failure - BUG/MINOR: acme: more explicit error when BIO_new_file() - BUG/MEDIUM: acme: move from mt_list to a rwlock + ebmbtree - BUG/MINOR: acme: can't override the default resolver - BUG/MINOR: check: fix reuse-pool if MUX inherited from server - DOC: configuration: add missing ssllib_name_startswith() - DOC: configuration: add missing openssl_version predicates - BUG/MEDIUM: stick-tables: Always return the good stksess from stktable_set_entry - BUG/MINOR: stick-tables: Fix return value for __stksess_kill() - MINOR: h1: h1_release() should return if it destroyed the connection - BUG/MEDIUM: h1: prevent a crash on HTTP/2 upgrade - BUG/MINOR: quic-be: backend SSL session reuse fix (OpenSSL 3.5) - BUG/MEDIUM: mworker: signals inconsistencies during startup and reload - BUG/MINOR: mworker: wrong signals during startup - BUG/MINOR: ssl: remove dead code in ssl_sock_from_buf() - BUG/MINOR: acme: alert when the map doesn't exist at startup - DOC: acme: add details about the DNS-01 support - DOC: acme: explain how to dump the certificates - DOC: acme: configuring acme needs a crt file - BUG/MEDIUM: queues: Don't forget to unlock the queue before exiting - MINOR: muxes: Support an optional ALPN string when defining mux protocols - MINOR: config: Do proto detection for listeners before checks about ALPN - BUG/MEDIUM: config: Use the mux protocol ALPN by default for listeners if forced - BUG/MEDIUM: proxy: do not align proxy_per_tgroup beyond allocator's capabilities - ADMIN: haproxy-dump-certs: implement a certificate dumper - ADMIN: dump-certs: don't update the file if it's up to date - ADMIN: dump-certs: create files in a tmpdir - ADMIN: dump-certs: fix lack of / in -p - ADMIN: dump-certs: use same error format as haproxy - ADMIN: dump-certs: let dry-run compare certificates - DOC: http: document 413 response code
haproxy: updated to 3.2.0 3.2.0 - MINOR: promex: Add agent check status/code/duration metrics - MINOR: ssl: support strict-sni in ssl-default-bind-options - MINOR: ssl: also provide the "tls-tickets" bind option - MINOR: server: define CLI I/O handler for "add server" - MINOR: server: implement "add server help" - MINOR: server: use stress mode for "add server help" - BUG/MEDIUM: server: fix crash after duplicate GUID insertion - BUG/MEDIUM: server: fix potential null-deref after previous fix - MINOR: config: list recently added sections with -dKcfg - BUG/MAJOR: cache: Crash because of wrong cache entry deleted - DOC: configuration: fix the example in crt-store - DOC: config: clarify the wording around single/double quotes - DOC: config: clarify the legacy cookie and header captures - DOC: config: fix alphabetical ordering of layer 7 sample fetch functions - DOC: config: fix alphabetical ordering of layer 6 sample fetch functions - DOC: config: fix alphabetical ordering of layer 5 sample fetch functions - DOC: config: fix alphabetical ordering of layer 4 sample fetch functions - DOC: config: fix alphabetical ordering of internal sample fetch functions - BUG/MINOR: h3: Set HTX flags corresponding to the scheme found in the request - BUG/MEDIUM: h3: Declare absolute URI as normalized when a :authority is found - DOC: config: mention in bytes_in and bytes_out that they're read on input - DOC: config: clarify the basics of ACLs (call point, multi-valued etc) - REGTESTS: Make the script testing conditional set-var compatible with Vtest2 - REGTESTS: Explicitly allow failing shell commands in some scripts - MINOR: listeners: Add support for a label on bind line - BUG/MEDIUM: cli/ring: Properly handle shutdown in "show event" I/O handler - BUG/MEDIUM: hlua: Properly detect shudowns for TCP applets based on the new API - BUG/MEDIUM: hlua: Fix getline() for TCP applets to work with applet's buffers - BUG/MEDIUM: hlua: Fix receive API for TCP applets to properly handle shutdowns - CI: vtest: Rely on VTest2 to run regression tests - CI: vtest: Fix the build script to properly work on MaOS - CI: combine AWS-LC and AWS-LC-FIPS by template - BUG/MEDIUM: httpclient: Throw an error if an lua httpclient instance is reused - DOC: hlua: Add a note to warn user about httpclient object reuse - DOC: hlua: fix a few typos in HTTPMessage.set_body_len() documentation - DEV: patchbot: prepare for new version 3.3-dev - MINOR: version: mention that it's 3.2 LTS now.
haproxy: updated to 3.0.0
HAProxy 3.0.0 was released on 2024/05/29. It added 21 new commits
after version 3.0-dev13. I do appreciate that everything was only
cosmetic.
We're having a total of 1108 patches in this release among which 850 ones
not concerning a bug, which makes it the smallest LTS release of all times
(2.6 and 2.4 still remain the largest ones, respectively 65% and 58%
larger). This is a good news in terms of expected stability, which might
possibly break the old myth of "better avoid dot zero".
Let's try to summarize what's new in this release. It has been one of the
most difficult for me to summarize because I'm not seeing one big killer
feature, instead it's an LTS as we like them: mostly a nice polishing of
existing stuff and small improvements all over the place as permitted by
the previous version's architectural changes. I tried to classify this
into a few categories, depending on the intended benefits.
First, let's enumerate the new features, and improvements of existing ones:
- stats can finally be preserved across reloads for frontends,
listeners, backends and servers. When using this, the config objects
of the new process are preloaded with the relevant values from a dump
of the previous process. This essentially concerns counters, ages and
rates. Please have a look at "stats-file" and "dump stats-file" for
more information.
- the log outgoing load-balancing now relies on a regular backend,
meaning that the load balancing algorithms could finally be unified
with the ones used by other protocols, and servers now support
weights.
- log-format now supports JSON and CBOR output encoding. In such a case,
the field name is taken from a new naming scheme that is placed within
the log-format itself, allowing to assign a name to each field.
- the load balancing algorithm "sticky" that was initially reserved for
logs was generalized to other protocols.
- the HTTP/2 RST_STREAM reason code can finally be forwarded to the
server for client aborts. This addresses the problem a few users were
facing with gRPC where request cancellation appeared as communication
errors the server side. For now this is purposely limited to only a
few reason codes that are relevant to gRPC so that we don't ruin the
possibility to later extend that to H3 and maybe H1.
- QUIC now supports the HyStart++ (RFC9406) alternative to slowstart
with the Cubic algorithm. It's supposed to show better recovery
patterns. It's not yet enabled by default.
- a new set of converters, map_*_key, will report the matching part of
the key itself instead of the associated pattern. The main target use
cases for this is to know what address mask an address did match, or
what regex a pattern did match.
- the "uuid()" sample fetch function, which takes an optional version in
argument now also supports "7" for UUIDv7. These UUIDs regroup many
properties found in ULID and other mechanisms, one of the most
interesting one being time-based locality that, for example, eases the
archiving of old data, or the grouping of events on systems where
they'll be processed together.
- the name associated with servers in connection pools can now be
overridden by the expression in "pool-conn-name" when SNI is not
desired (useful with rhttp without SSL for example, but may also make
sense when reaching remote servers over SSL tunnels). It also allows
to entirely drop SSL from the server.
- the "namespace" argument now works for "bind" and "server" lines using
UNIX sockets.
- Linux capabilities: the use of namespaces on the server side used to
require capability "cap_sys_admin" but it was neither checked nor
reported on startup to it would silently fail. The capability is now
supported and is being checked for. Similarly, the need for
capabilities for transparent proxying or QUIC are checked and reported
on startup. Finally, file-system capabilities set on the executable are
also supported now.
- the set-mark/set-tos actions were extended to support an expression in
addition of the constant, and were extended to also support the backend
side. This can for example be used to select an outgoing link from a
single IP address. The new backend actions are called "set-bc-mark" and
"set-bc-tos", and by analogy new frontend actions called "set-fc-mark"
and "set-fc-tos" were created, and the old actions are aliases of these
last ones.
- QUIC built with latest AWS-LC TLS library now correctly supports 0-RTT.
- a new global setting "ssl-security-level" allows to adjust OpenSSL's
internal security level beween 0 and 5. Previously it could only be
done in openssl.cnf.
- the key used by consistent hash to map to a server used to always be
the server's id (either explicit or implicit, position-based), but
that was not always convenient when dealing with fast added-removed
server within a large fleet of LBs. Now the "hash-key" directive will
also allow to use the server's address or address+port for this so
that the same key ends up on the same server for all LBs.
- The HTTP client now has an option to use either origin or absolute
URIs. This should make it easier to configure it to talk to old
servers which are not spec-compliant and do not support absolute
URIs. The ocsp_update agent already exploits this ability via a new
setting "ocsp-update.httpproxy".
- it is now possible to suppress Content-Length and Transfer-Encoding
headers from HTTP/1 requests and responses. It must never be done of
course but there are rare situations where users dealing with bogus
clients or server need to perform such cleanups. Most of the time
when done, this will mark a connection non-reusable and it will be
closed at the end of the transfer.
- the proxy protocol now also parses TLV for LOCAL mode and supports
sending them without a stream so that elements can be passed during
the preconnect phase of a reverse-HTTP instance to a next stage that
will no longer ignore them.
- the new sched_setaffinity() of FreeBSD 14 and newer is now supported.
- the new certificate selection callback for WolfSSL was now enabled
since it's finally available in the upstream project.
haproxy: Various build fixes.