Coder Social home page Coder Social logo

Comments (8)

cdeck avatar cdeck commented on July 19, 2024

👍

from ossec-hids.

mstarks01 avatar mstarks01 commented on July 19, 2024

This also results in "File deleted. Unable to retrieve checksum." alerts. I'm not sure if the inode of the file actually changed, resulting in this alert. I haven't looked into that.

from ossec-hids.

lazyp avatar lazyp commented on July 19, 2024

@mstarks01 this is inotify reason.

from ossec-hids.

ddpbsd avatar ddpbsd commented on July 19, 2024

How long of a delay would be necessary?

from ossec-hids.

mstarks01 avatar mstarks01 commented on July 19, 2024

@ddpbsd, probably just one second. Then again, I'm only postulating that this would even fix the problem.

from ossec-hids.

ddpbsd avatar ddpbsd commented on July 19, 2024

@mstarks01 It's worth trying. :)

from ossec-hids.

jrossi avatar jrossi commented on July 19, 2024

I have looked into the code for doing this and we need to put a lot more thought into then just a delay. I don't think that will be enough as it will push a fair amount of logic and state into root check/syscheck that it just does not have now.

I think the it needs to be redesigned so that everything is code like inotify event based queue system. And then for systems that dooes not have notations system we fake our own with timer and scan the file system.

This is fair amount of work and something I don't heart for right now, but someone could really take this one and make some killer code with.

from ossec-hids.

ddpbsd avatar ddpbsd commented on July 19, 2024

While @jrossi is probably right, this is what we have now.
https://github.com/ossec/ossec-hids/blob/master/src/syscheckd/run_realtime.c#L202

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.