Skip to content

Create input queue for Remoted#509

Merged
albertomn86 merged 1 commit into3.2from
dev-remoted-buffer
Apr 4, 2018
Merged

Create input queue for Remoted#509
albertomn86 merged 1 commit into3.2from
dev-remoted-buffer

Conversation

@vikman90
Copy link
Member

@vikman90 vikman90 commented Apr 4, 2018

This PR solves issue #501 partially.

A new queue has been introduced between the message receiving stage and the agent identification stage. This will prevent agent communication starvation.

This new option for secure connections in Remoted:

<remote>
  <queue_size>16384</queue_size>
</remote>

sets the size of that queue.

The buffer is consumed as fast as possible, no explicit delays here.

If the buffer gets full, Remoted will print a warning message in the ossec.log file (once per execution). All messages arriving while the buffer is full will be discarded.

@vikman90 vikman90 added the type/enhancement New feature or request label Apr 4, 2018
@vikman90 vikman90 force-pushed the dev-remoted-buffer branch from 5030872 to bc052c7 Compare April 4, 2018 04:42
@albertomn86 albertomn86 merged commit 00457f1 into 3.2 Apr 4, 2018
@albertomn86 albertomn86 deleted the dev-remoted-buffer branch April 4, 2018 05:33
Darioortegaleyva pushed a commit that referenced this pull request Feb 6, 2026
Add Google Cloud Pub/Sub rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants