Code Monkey home page Code Monkey logo

Comments (6)

gabrielbasetti avatar gabrielbasetti commented on June 3, 2024 1

Thank you very much for your help.
I have found the problem.
I was trying to configure the multi-sensor feature with containers and was blaming docker and NAT, but the problem was that the container where the server is, was not receiving information on udp port 8337
The command to run the container does not expose port 8337 correctly, as it should be UDP and not TCP.

docker run -d --name maltrail-docker --privileged -p 8337:8337/udp -p 8338:8338 -v /var/log/maltrail/:/var/log/maltrail/ maltrail
image

from maltrail.

MikhailKasimov avatar MikhailKasimov commented on June 3, 2024

@Chelito4 Hello! Please, take a look on point 2. You've mentioned in #19202 (comment) , that solved, Please, put a hint how it was solved. Thank you!

from maltrail.

Chelito4 avatar Chelito4 commented on June 3, 2024

@Chelito4 Hello! Please, take a look on point 2. You've mentioned in #19202 (comment) , that solved, Please, put a hint how it was solved. Thank you!

Hi Mikhail i solved it by installing as an maltrail as application not in a container.

from maltrail.

MikhailKasimov avatar MikhailKasimov commented on June 3, 2024

@Chelito4 Hello! Please, take a look on point 2. You've mentioned in #19202 (comment) , that solved, Please, put a hint how it was solved. Thank you!

Hi Mikhail i solved it by installing as an maltrail as application not in a container.

OK, thank you for the info!

from maltrail.

stamparm avatar stamparm commented on June 3, 2024

@gabrielbasetti you are most probably running it wrong. please post your "Dockerfile" here

also, I don't see what does the UDP_ADDRESS have to do with that error. have you tried to run your maltrail configuration file (with maltrail) outside of the Docker container?

in #19202, guy said "I solved", so I guess that in your case you should try to properly configure environment too? We have zero useful information here

p.s.:
image

you can try the following:

instead of (https://github.com/stamparm/maltrail/blob/master/sensor.py#L1305-L1307):

    except IOError:
        log_error("\n\n[!] session abruptly terminated\n[?] (hint: \"https://stackoverflow.com/a/20997655\")")
        code = 1

use

    except IOError as err:
        log_error("\n\n[!] session abruptly terminated\n[?] (%s)" % err)
        code = 1

from maltrail.

MikhailKasimov avatar MikhailKasimov commented on June 3, 2024

The command to run the container does not expose port 8337 correctly, as it should be UDP and not TCP.

437fd5d

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.