4385 Commits

Author SHA1 Message Date
Rainer Gerhards
804d9f80ae
ChangeLog: update 8.2606 entries
Why:
Keep the scheduled 8.2606 release notes current after recent
user-visible and maintainer-visible changes accumulated.

Impact:
Release-note readers see the important recent changes.

Before/After:
Before, the block stopped at older entries. After, it covers
recent selected fixes and features without listing generic churn.

Technical Overview:
- Add selective entries for new modules and user-visible fixes.
- Keep broad hardening and testbench work under the existing umbrella.
- Preserve the established 8.2606 ChangeLog style and issue links.
- Leave build, CI, and low-signal documentation churn out of the block.

With the help of AI-Agents: Codex
2026-06-01 18:57:28 +02:00
Jérémie Jourdin
ee544611f6 imptcp: add stream:auto compression mode
Why:
  Large rsyslog deployments cannot flip a fleet of omfwd clients to
  stream compression in lockstep. Until now imptcp listeners had to
  be configured as either "stream:always" or "none", which forces a
  flag-day migration or running two parallel listeners on different
  ports. This blocks staged roll-outs across hundreds of senders.

Impact:
  Adds a new compression.mode value "stream:auto". Default behaviour
  is unchanged. A new testbench script,
  tests/imptcp-stream-compression-auto.sh, exercises a mixed
  compressed/plain session pair on a single listener.

Before/After:
  Before: one imptcp listener accepts only compressed OR plain.
  After:  "stream:auto" accepts both; detection is per-session and
          locked-in after the first 2 bytes.

Technical overview:
  - First 2 bytes of every new session are matched against the
    RFC 1950 zlib header: CMF byte must equal 0x78 (deflate, default
    32 KiB window - what every omfwd build emits via deflateInit()),
    the FCHECK must be valid, and FDICT must be clear.
  - A plain syslog frame always starts with an ASCII digit
    (octet-counted framing) or '<' (non-transparent framing), so the
    probe is conclusive in practice and avoids false positives.
  - Detection state lives in ptcpsess_s; after the verdict the
    per-session compressionMode field is rewritten to STREAM_ALWAYS
    or NEVER so the steady-state DataRcvd() path is unchanged and
    stays branch-free.
  - Sniffed bytes are re-injected into the chosen path so no data
    is lost across the probe boundary.
  - Documentation, ChangeLog and a new testbench entry are included.
2026-05-27 20:11:46 +02:00
Rainer Gerhards
cf397f59fd ChangeLog: update 8.2606 entries
Why:

Keep the scheduled 8.2606 release notes current with recent

user-visible changes.

Impact:

Release notes now cover selected important changes through

2026-05-20.

Before/After:

Before, recent fixes and features were missing. After, they are

summarized in the current release block.

Technical Overview:

Add entries for imptcp hardening and truncation fixes.

Document maxOpenFiles, gtls diagnostics, and wolfSSL revocation

support.

Include selected config, runtime, build, ommail, and

omelasticsearch changes.

Leave CI, test-only, and minor documentation churn out of the

release notes.

With the help of AI-Agents: Codex
2026-05-20 18:51:53 +02:00
Rainer Gerhards
a861ad02b3 ChangeLog: remove duplicate release blocks
closes https://github.com/rsyslog/rsyslog/issues/5549
2026-05-18 12:17:08 +02:00
Rainer Gerhards
c5c2448617 configure: make libyaml default-on explicit
Why: Distro builds must not silently change rsyslog features based
on whether libyaml development files happen to be installed.

Impact: Default builds now require yaml-0.1 unless --disable-libyaml
is passed explicitly.

Before/After: Before, configure auto-disabled libyaml features;
after, the default fails fast and opt-out builds are explicit.

Technical Overview: Add an AC_ARG_ENABLE(libyaml) configure switch
with default yes. When enabled, require the yaml-0.1 pkg-config
module and define HAVE_LIBYAML only on success. When disabled,
keep HAVE_LIBYAML unset and preserve the existing runtime behavior
for YAML files in no-libyaml builds.

Add libyaml development packages to GitHub Actions dependency
installation paths and make the container CI helper install libyaml
inside stale prebuilt CI images when yaml-0.1 is absent. Update the
YAML configuration documentation and add a maintainer-facing ChangeLog
note for the packaging behavior change.

Closes https://github.com/rsyslog/rsyslog/issues/6914

With the help of AI-Agents: Codex
2026-05-16 19:11:09 +02:00
Rainer Gerhards
b95ba3e932
maintain ChangeLog 2026-05-14 12:01:18 +02:00
Rainer Gerhards
d12d858847
maintain ChangeLog 2026-05-11 14:31:15 +02:00
Rainer Gerhards
b0d1a0c3dc
maintain ChangeLog 2026-05-06 16:46:28 +02:00
Rainer Gerhards
bc6652be22
maintain ChangeLog 2026-05-06 16:08:06 +02:00
Rainer Gerhards
91dfb73fda
maintain ChangeLog 2026-05-05 12:16:23 +02:00
Rainer Gerhards
20e2c08076
maintain ChangeLog 2026-04-24 16:45:15 +02:00
Rainer Gerhards
b848afa0b4
maintain ChangeLog 2026-04-23 10:19:48 +02:00
Rainer Gerhards
a72d786761
maintain ChangeLog 2026-04-22 17:17:59 +02:00
Rainer Gerhards
d1ef67e703
maintain ChangeLog 2026-04-22 10:29:17 +02:00
Rainer Gerhards
242effe0b4 prepare for next scheduled stable release cycle 2026-04-22 10:27:06 +02:00
Rainer Gerhards
a1473a5ada
prepare for 8.2604.0 release 2026-04-20 13:02:31 +02:00
Rainer Gerhards
fa1b4272a6
maintain ChangeLog 2026-04-17 12:02:23 +02:00
Rainer Gerhards
6c774a907e
maintain ChangeLog 2026-04-17 11:12:24 +02:00
Rainer Gerhards
7b5149c9e8
maintain ChangeLog 2026-04-15 15:03:48 +02:00
Rainer Gerhards
c5ca3787b9
maintain ChangeLog 2026-04-15 14:21:33 +02:00
Rainer Gerhards
6b60acc764
maintain ChangeLog 2026-04-14 18:37:45 +02:00
Rainer Gerhards
826b010a67
maintain ChangeLog 2026-04-04 17:04:31 +02:00
Rainer Gerhards
57117520e7
maintain ChangeLog 2026-04-04 16:16:04 +02:00
Rainer Gerhards
cdf3f1820d
maintain ChangeLog 2026-04-04 13:12:17 +02:00
Rainer Gerhards
80a50f636e
maintain ChangeLog 2026-04-02 18:37:32 +02:00
Rainer Gerhards
f6fe40cb97 [build]: require OpenSSL if imdtls or omdtls is used
Why
The DTLS modules (imdtls and omdtls) have a runtime dependency on the
OpenSSL network stream driver (lmnsd_ossl.la). Previously, the build
would succeed in a broken state if OpenSSL support was not also
explicitly enabled, leading to runtime failures or test crashes.

Impact
Build configuration. The configure script will now fail with a
descriptive error message if DTLS is enabled but OpenSSL is not.

Before/After
Before: configure --enable-imdtls succeeded even with OpenSSL disabled,
resulting in a missing lmnsd_ossl.la driver.
After: configure --enable-imdtls fails unless --enable-openssl is also
active.

Closes: https://github.com/rsyslog/rsyslog/issues/5339
2026-03-31 11:58:20 +02:00
Rainer Gerhards
678a625ccf mmjsontransform: reload transformation mode from policy
Why:
The YAML policy file should cover the full transformation behavior that
mmjsontransform exposes, so operators can update policy-driven JSON
normalization in one place and reload it on HUP.

Impact: Policy files can now control mode as well as rename/drop rules,
and HUP reload swaps the effective policy atomically.

Before/After:
Before: policy files could only rename or drop keys and the action
parameter mode stayed fixed until restart.
After: policy files can also select flatten or unflatten mode, and HUP
reload updates that mode together with the other policy rules.

Technical Overview:
The action parameter mode remains the fallback default, while the active
policy can now carry its own mode override inside the reloadable policy
state.

The YAML loader validates a top-level mode key, swaps it together with
the rename/drop structures, and keeps the previous in-memory policy when
reload fails.

Action execution resolves the effective mode under the policy lock, so a
single HUP can switch both preprocessing rules and the final transform.

The focused policy test now covers startup flatten mode, HUP reload to
unflatten mode, and invalid-mode reload rejection with retention of the
previous policy.

The docs and ChangeLog were updated to describe the expanded policy
schema and the HUP-reload behavior.

Validation:
- ./devtools/format-code.sh --git-changed
- make -j$(nproc)
- ./tests/mmjsontransform-policy-basic.sh

With the help of AI-Agents: Codex
2026-03-30 15:56:39 +02:00
Rainer Gerhards
5ea052fa48
maintain ChangeLog 2026-03-30 11:01:08 +02:00
Rainer Gerhards
95728244f9
maintain ChangeLog 2026-03-30 09:12:58 +02:00
Rainer Gerhards
3b007ff84c
maintain ChangeLog 2026-03-27 14:18:54 +01:00
Rainer Gerhards
cf08b661a4
maintain ChangeLog 2026-03-25 09:01:04 +01:00
Rainer Gerhards
dc09ea9d5f
maintain ChangeLog 2026-03-18 10:13:14 +01:00
Rainer Gerhards
964f487403
maintain ChangeLog 2026-03-16 17:43:44 +01:00
Rainer Gerhards
8f1e0541fd
maintain ChangeLog 2026-02-27 11:54:04 +01:00
Rainer Gerhards
c819f6d774
maintain ChangeLog 2026-02-27 10:41:06 +01:00
Rainer Gerhards
c785c9889c
maintain ChangeLog 2026-02-27 08:33:48 +01:00
Rainer Gerhards
e65ba1477a
maintain ChangeLog 2026-02-26 11:25:46 +01:00
Rainer Gerhards
7f3d56e3ae
maintain ChangeLog 2026-02-26 11:21:34 +01:00
Rainer Gerhards
7aa63dcf07
maintain ChangeLog 2026-02-25 10:13:05 +01:00
Rainer Gerhards
7dd7d191a3
maintain ChangeLog 2026-02-24 15:33:51 +01:00
Rainer Gerhards
5897c9a804
maintain ChangeLog 2026-02-18 18:59:19 +01:00
Rainer Gerhards
f920a30e7a
prepare for next scheduled stable release cycle 2026-02-18 09:12:18 +01:00
Rainer Gerhards
b2f8b09c67
ChangeLog: correct overhyped feature
while there was some improvement, it was not as big as originally
thought. So leave it out. Detected after release.
2026-02-17 17:18:25 +01:00
Rainer Gerhards
e9f4d2ba24
ChangeLog: add missing entry 2026-02-17 12:35:24 +01:00
Rainer Gerhards
606c527bd3
prepare for 8.2602.0 scheduled stable release 2026-02-16 17:45:57 +01:00
Rainer Gerhards
04a4e1e60c
maintain ChangeLog 2026-02-16 16:59:58 +01:00
Rainer Gerhards
3a01046e6a
maintain ChangeLog 2026-02-12 14:02:25 +01:00
Rainer Gerhards
56d2da9350
maintain ChangeLog 2026-02-09 09:27:27 +01:00
Rainer Gerhards
e13d3dd6c0
maintain ChangeLog 2026-02-08 13:49:29 +01:00
Rainer Gerhards
c0e0ca5116
maintain ChangeLog 2026-02-08 09:59:38 +01:00