Coder Social home page Coder Social logo

Comments (6)

jrossi avatar jrossi commented on July 19, 2024

This a large problem and something we need to fix, but this is going to require a fair amount of changes over a lot of code. But saying that its a problem that we plan to address.

from ossec-hids.

awiddersheim avatar awiddersheim commented on July 19, 2024

The two files referenced in the original issue:

bin/util.sh
bin/ossec-batch-manager.pl

These are contrib files. They don't really get compiled and installed in the same way much of the C code does. I haven't really found anywhere in the C code where paths are hard coded but I don't doubt that they exist.

You could fix this semi easily by changing these two contrib files to having a default path hard coded as a single variable but then have install.sh use sed to replace the paths somewhere around here:

https://github.com/ossec/ossec-hids/blob/master/install.sh#L757

Not the greatest solution ever but since OSSEC doesn't really make use of the typical Make, automake, configure style solution most other projects do this might be the best option for now. Either that or we say they are contrib files and aren't fully supported in this fashion.

from ossec-hids.

mstarks01 avatar mstarks01 commented on July 19, 2024

I have a fix for util.sh but need to back out a different commit before I submit a pull request.

from ossec-hids.

awiddersheim avatar awiddersheim commented on July 19, 2024

@mstarks01 sounds like you were close to having a PR for this. Any update?

from ossec-hids.

mstarks01 avatar mstarks01 commented on July 19, 2024

#237

from ossec-hids.

jrossi avatar jrossi commented on July 19, 2024

Completed in #237

from ossec-hids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.