[Bug 291040] security/wazuh-manager: agent-manager connection doesn't work over TCP

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Nov 2025 11:43:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291040

            Bug ID: 291040
           Summary: security/wazuh-manager: agent-manager connection
                    doesn't work over TCP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: p+freebsd@krvtz.net
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

With wazuh-manager 4.12.0 and wazuh-agent 4.12.0 installed on the same network,
the agent is unable to obtain a working connection to the manager over TCP,
remaining always in the HC_STARTUP state. 

Changing the client-server connection type to <protocol>udp</protocol>
magically solves the problem.

This is happening on FreeBSD 14.3, but exactly the same issue had been
previously documented on FreeBSD 13.1 with Wazuh 4.3.7:

https://groups.google.com/g/wazuh/c/t0iSFb5ad9Q

I've spent significant amount of time debugging the TCP issues on both
machines, excluding possibility of any network or firewall problems, so it
seems like there's some nuanced OS-specific bug in Wazuh that prevents TCP
connections from working on FreeBSD.

-- 
You are receiving this mail because:
You are the assignee for the bug.