Giter Club home page Giter Club logo

Comments (4)

stamparm avatar stamparm commented on July 29, 2024
  1. That ValueError is patched now. I hasn't caused problems (shown only on SHOW_DEBUG)
  2. To begin, in documentation, you don't use sudo to start the webserv daemon, and i got a perm error to read logs. It could be awesome to dos something who will work at the begin without needs of chown or chmod. - if you start sensor first (which requires sudo privileges) it should put all necessary permissions so the server could read logs without any problems. I have thought about this before and this should be implemented.

But.. If you say that you have perm error to read logs can you please give some more details. Has there been any error message?

from maltrail.

o-be-one avatar o-be-one commented on July 29, 2024

It seems to appears only with the current day logs (started without sudo) :

[i] using configuration file '/home/admin/maltrail/maltrail.conf'
[i] running UDP server at '0.0.0.0:8337'
[i] starting HTTP server at 'http://0.0.0.0:8338/'
[o] running...
Traceback (most recent call last):
  File "/home/admin/maltrail/core/log.py", line 97, in handle
    handle = get_event_log_handle(int(sec))
  File "/home/admin/maltrail/core/log.py", line 41, in get_event_log_handle
    _thread_data.event_log_handle = os.open(_thread_data.event_log_path, flags)
OSError: [Errno 13] Permission denied: '/var/log/maltrail/2015-12-30.log'

from maltrail.

stamparm avatar stamparm commented on July 29, 2024

@o-be-one you are right. There was a bug in case of non-sudo usage of server.py if UDP_SERVER is set up. Now you are being warned in such cases to run it in sudo environment

from maltrail.

o-be-one avatar o-be-one commented on July 29, 2024

Thank you, good job, happy to see that you are active and listening users :).

from maltrail.

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.