Coder Social home page Coder Social logo

Comments (4)

jrossi avatar jrossi commented on September 28, 2024

ok I have used ossec-vagrant to repo reproduce your set and here is what i get in my alerts:

** Alert 1395434447.14224: mail  - local,syslog,
2014 Mar 21 20:40:47 precise32->/var/log/auth.log
Rule: 100126 (level 10) -> 'Unexpected user logged into a Secure machine'
Src IP: 10.0.2.2
User: vagrant
Mar 21 20:40:46 precise32 sshd[8698]: Accepted publickey for vagrant from 10.0.2.2 port 55963 ssh2

Now I made a mistake the first time in testing and just want to make sure you have restarted the ossec master ? This would explain why log test is working and the server is not. I have read the code paths and they are the same for both programs.

from ossec-hids.

jrossi avatar jrossi commented on September 28, 2024

Sorry just finished redoing this test and still get the expect test working. You made sure to restart which i missed on my first read.

Given this I would like to see a more complete view of the setup. I know you might not want to post this on the interview so you can send it directly if you would like http://github.com/jrossi has how to email me.

Could you send the following:

  1. Full contacts of master servers /var/ossec/etc/* /var/ossec/rules/* /var/ossec/lists/
  2. Full contacts of A agents servers /var/ossec/etc/*
  3. Anything else you think I could use
  4. OS Name and versions

from ossec-hids.

jrossi avatar jrossi commented on September 28, 2024

Closing this as I could not reproduce. See my questions above if you are still having this problem. Thank you

from ossec-hids.

sebeka avatar sebeka commented on September 28, 2024

Hi had the same problem yesterday. I also wanted to use a hostname match.
After debugging a little bit, I figured out, that in src/analysisd/analysisd.c the hostname (the cdb key)
lf->hostname had different values in logtest and analysisd.
So in logtest it was "myhost"
but in analysisd it was "(myhost.mydomain) myip->/var/log/auth.log"

Sebastian

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.