Giter Club home page Giter Club logo

Comments (6)

moltenbit avatar moltenbit commented on May 8, 2024 1

This helped: https://carteryagemann.com/psad-on-pi.html
But when using psad -H it still says [-] psadwatchd daemon not running.

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 8, 2024

So it looks like you have to set another setting for psadwatchd to start. I will update the guide.

from how-to-secure-a-linux-server.

DevLomoSE avatar DevLomoSE commented on May 8, 2024

This helped: https://carteryagemann.com/psad-on-pi.html
But when using psad -H it still says [-] psadwatchd daemon not running.

in the config file adding (/etc/psad/psad.conf):
ENABLE_PSADWATCHD Y;
and then follow the instructions at https://carteryagemann.com/psad-on-pi.html
worked for me

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 8, 2024

Yup. I added the ENABLE_PSADWATCHD thing to my guide.

from how-to-secure-a-linux-server.

faxotherapy avatar faxotherapy commented on May 8, 2024

HIi, I'm still having the “psad: psadwatchd is not running on” after I added “ENABLE_PSADWATCHD Y;” and followed the above guide.

I also correctly added this in before.rules:

# log all traffic so psad can analyze
-A INPUT -j LOG --log-tcp-options --log-prefix "[IPTABLES] "
-A FORWARD -j LOG --log-tcp-options --log-prefix "[IPTABLES] "

However, I still see:

psad --fw-analyze
[+] Parsing INPUT chain rules.
[+] Parsing INPUT chain rules.
[-] Errors found in firewall config.
    emailed to root@localhost
[+] Results in /var/log/psad/fw_check
[+] Exiting.

Mail shows:

You may just need to add a default logging rule to the 'filter' 'INPUT' chain on

I'm not good with iptables.

from how-to-secure-a-linux-server.

faxotherapy avatar faxotherapy commented on May 8, 2024

I'm still having the “psad: psadwatchd is not running on” after I added “ENABLE_PSADWATCHD Y;”

psadwatchd does indeed start and run, but stops running after a few seconds. Is it expected?

psad --fw-analyze
[+] Parsing INPUT chain rules.
[+] Parsing INPUT chain rules.
[-] Errors found in firewall config.
emailed to root@localhost
[+] Results in /var/log/psad/fw_check
[+] Exiting.

This is due to the fact I set IPV6 to no in /etc/default/ufw file.

from how-to-secure-a-linux-server.

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.