Skip to content

ENT-14104: Added GETPATCH protocol command for serving leech2 patches#6163

Open
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:leech2-patch-stream
Open

ENT-14104: Added GETPATCH protocol command for serving leech2 patches#6163
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:leech2-patch-stream

Conversation

@larsewi
Copy link
Copy Markdown
Contributor

@larsewi larsewi commented Jun 5, 2026

The hub sends 'GETPATCH ' over the established TLS connection, and the server replies with a leech2 patch using a new patch stream API, which reuses the wire format from the file stream protocol. The patch is created by an enterprise hook; CFEngine Community refuses the request. This introduces protocol version 5 - "leech2".

Ticket: ENT-14104

Together with:

Comment thread cf-serverd/cf-serverd-enterprise-stubs.c Fixed
Comment thread cf-serverd/server_tls.c Dismissed
@larsewi larsewi force-pushed the leech2-patch-stream branch 2 times, most recently from 6ae1b0d to 7023be6 Compare June 5, 2026 14:48
@larsewi
Copy link
Copy Markdown
Contributor Author

larsewi commented Jun 5, 2026

@cf-bottom Jenkins please :)

@larsewi larsewi marked this pull request as ready for review June 5, 2026 15:13
@larsewi larsewi force-pushed the leech2-patch-stream branch from 7023be6 to 55294e4 Compare June 5, 2026 16:01
@cfengine cfengine deleted a comment from cf-bottom Jun 5, 2026
@cf-bottom
Copy link
Copy Markdown

Comment thread cf-testd/cf-testd.c Fixed
The hub sends 'GETPATCH <hash>' over the established TLS connection, and
the server replies with a leech2 patch using a new patch stream API,
which reuses the wire format from the file stream protocol. The patch is
created by an enterprise hook; CFEngine Community refuses the request.
This introduces protocol version 5 - "leech2".

Ticket: ENT-14104
Changelog: Title
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi force-pushed the leech2-patch-stream branch from 55294e4 to 4054ba7 Compare June 5, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants