Comments (6)
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.
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.
I have a fix for util.sh but need to back out a different commit before I submit a pull request.
from ossec-hids.
@mstarks01 sounds like you were close to having a PR for this. Any update?
from ossec-hids.
from ossec-hids.
Completed in #237
from ossec-hids.
Related Issues (20)
- ERROR: SSL read (unable to receive message) HOT 3
- No ossec-hids packages in repo for Amazon Linux 2 HOT 6
- Weak key generation in manage_agents HOT 4
- syslog_output on Solaris 11.4 (SPARC), OSSEC 3.7.0
- Change OSSEC_GROUP HOT 2
- OSSEC Version migration HOT 2
- Issues with File Integrity Monitoring (Syscheck) HOT 4
- Some vulnerabilities are not fixed since 2020 HOT 4
- It does not work in `Amazon Linux 2023` HOT 6
- Better error message for "ossec-testrule: currently_rule not set!" HOT 4
- Custom Rules HOT 1
- Null
- syscheck HOT 1
- incorect layout for debian bookworm and bullseye repos HOT 3
- ERROR: SSL read (unable to receive message) OSSEC HOT 1
- sslv3 alert handshake failure
- Missing repo data for Ubuntu Jammy HOT 1
- /var/ossec/etc/ossec.conf and Ansible community.general.xml
- [HELP]
- Problem with decoders HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ossec-hids.