Skip to content

Comments

Replace hard coded directories with the appropriate variables#1482

Merged
atomicturtle merged 1 commit intoossec:masterfrom
ddpbsd:1477_host-deny
Jul 31, 2018
Merged

Replace hard coded directories with the appropriate variables#1482
atomicturtle merged 1 commit intoossec:masterfrom
ddpbsd:1477_host-deny

Conversation

@ddpbsd
Copy link
Member

@ddpbsd ddpbsd commented Jul 30, 2018

From @mobstef in issue #1477:

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.

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.
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 this pull request may close these issues.

2 participants