Hi,
We have 2 servers running Wazuh 3.1.0 manager on AWS EC2 and recently both servers logged a number of messages similar to the following:
>2018/09/07 00:00:12 ossec-remoted: ERROR: Incorrect message size from xxx.xxx.xxx.xxx: expecting 375, got 111
We also observed that all clients disconnected from the server (netstat showed no TCP connections to port 1514). When checking the status of ossec, ossec-control showed that the ossec-remoted process was no longer running.
On one of the servers I had previously added debug to the /etc/local_internal_options.conf file with option 'remoted.debug=2', however I don't see anything specific in the more detailed log as to the cause of the events.
Would anyone be able to help me understand:
1) It seems strange that both servers encountered the same issue around the same time. In looking over outside logs I don't see any events to correlate to the ossec logs. Any suggestions as to what might trigger this particular event?
2) Is this a known issue and would an upgrade resolve this? I can see in subsequent releases that there is more multi-threading in remoted not sure if this would help out for this situation.
3) Any suggestions for additional debugging/understanding of root cause of this issue?
Thanks in advance!
Brendan