Skip to content

Design and implement FlatBuffers-based persistent communication protocol #30216

@TomasTurina

Description

@TomasTurina

Description

Develop a new communication protocol using FlatBuffers to enable reliable, categorized, and resumable communication between agent modules (FIM, SCA, Inventory) and the server.

Tasks

  • Define FlatBuffers schema as described in this comment
  • Implement persistence layer
  • Implement message creation logic in C++
  • Develop module API to accept input from FIM, SCA, and Inventory
  • Interface with wazuh-agentd for actual sending of messages
  • Handle retries, EndAck, ReqRet, and other protocol flows
  • Implement sequence tracking and message categorization

DoD

  • FlatBuffers schema reviewed and approved
  • Unit and integration tests for all message types
  • Simulated flow covering all protocol steps
  • Protocol module correctly communicates with wazuh-agentd
  • Resilience tested (e.g., server unavailable, interrupted flow)

Sub-issues

Metadata

Metadata

Projects

Status

Pending final review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions