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

[wazuh agent] Port configuration in wazuh agent settings #4293

Open
3 tasks done
paul8046 opened this issue Oct 14, 2024 · 0 comments
Open
3 tasks done

[wazuh agent] Port configuration in wazuh agent settings #4293

paul8046 opened this issue Oct 14, 2024 · 0 comments

Comments

@paul8046
Copy link

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
Not all setups do, or can, use standard ports for services. wazuh-manager may not be listening on port 1514 or have 1515 open for authd.

Describe the solution you'd like
/var/ossec/etc/ossec.conf allows configuration of the wazuh-manager remote and authd listen ports as follows:

<client>
    <server>
      <address>manager_url</address>
      <port>23052</port>
    </server>
    <enrollment>
      <agent_name>agent_name</agent_name>
      <port>23053</port>
      ...

A good solution would be to add input sections for these ports (with default values of 1514 and 1515 set) under that wazuh-agent options page.

Describe alternatives you've considered
You can edit /var/ossec/etc/ossec.conf directly but this goes against the modus operandi of OPNsense.

Additional context
It might also be nice to allow the agent name to be specified (as in the above ossec.conf snippet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant