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

Hardcoded installation directory in host-deny.sh #1477

Closed
mobstef opened this issue Jul 28, 2018 · 2 comments
Closed

Hardcoded installation directory in host-deny.sh #1477

mobstef opened this issue Jul 28, 2018 · 2 comments

Comments

@mobstef
Copy link

mobstef commented Jul 28, 2018

I am the OSSEC FreeBSD port maintainer.
For a long time there is a bug in "active-response/host-deny.sh" where OSSEC installation directory is hardcoded to "/var/ossec". I have replaced it with "${PWD}" as seen in other active response scripts. Note however, that this will default to "/var/ossec/active-response" instead.
See attached patch.
patch-active-response_host-deny.sh.txt

ddpbsd added a commit to ddpbsd/ossec-hids that referenced this issue Jul 30, 2018
I am the OSSEC FreeBSD port maintainer.
For a long time there is a bug in "active-response/host-deny.sh" where OSSEC installation directory is hardcoded to "/var/ossec". I have replaced it with "${PWD}" as seen in other active response scripts. Note however, that this will default to "/var/ossec/active-response" instead.

A patch was included, but I made the changes by hand.
@atomicturtle
Copy link
Member

@mobstef I'd love to get your input on coordinating the releases on Freebsd with you, would you like an invite to our slack channel? I'm scott @ ossec.net

@mobstef
Copy link
Author

mobstef commented Jul 30, 2018

@atomicturtle
Yes, that would be great. I am happy to help. I've sent you an email.

@ddpbsd ddpbsd closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants