Skip to content

Hardcoded installation directory in host-deny.sh #1477

@mobstef

Description

@mobstef

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions