Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reconnect capability to agent-simulator #3093

Closed
AdriiiPRodri opened this issue Jul 13, 2022 · 1 comment · Fixed by #3111
Closed

Add reconnect capability to agent-simulator #3093

AdriiiPRodri opened this issue Jul 13, 2022 · 1 comment · Fixed by #3111
Assignees

Comments

@AdriiiPRodri
Copy link
Contributor

Description

Due to the recent development of Agents reconnect, we need to add the reconnect capability to the agent simulator. This new functionality will allow us to perform several tests necessary to verify the correct functioning of Agents reconnect.

We need to replicate the behavior of the Wazuh agents when they receive the HC_FORCE_RECONNECT (force_reconnect) command, in order to replicate the loss of connection with the manager and the reconnection to the same manager or a different one (depending on the load balancer configuration).

Current behavior

Agent-simulator does not have the capability to reconnect when requested from a manager.

Expected behavior

Agent-simulator is able to receive and correctly process (close the connection and establish it again) the reconnection request.

@vicferpoy
Copy link
Contributor

I'm reopening this issue to further investigate why the agent-simulator sometimes fails to reconnect.

@vicferpoy vicferpoy reopened this Sep 15, 2022
@jmv74211 jmv74211 removed this from the Development 4.4 milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants