Comments (6)
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
from maltrail.
@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 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.
@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.
@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
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.
The command to run the container does not expose port 8337 correctly, as it should be UDP and not TCP.
from maltrail.
Related Issues (20)
- api:how to curl maltrail info HOT 5
- How to add severity to local logs? HOT 4
- [BUG]False Positive 185.199.109.133 HOT 1
- Custom image HOT 5
- Netflow or Span Port HOT 1
- [Feature Request] Show Number Of Past Entries HOT 1
- IP: 117.17.191.45 | Malware HOT 1
- [Feature Request] HOT 1
- Maltrail won't boot HOT 8
- Running a docker container built with your Dockerfile both server.py and sensor.py fail to restart. HOT 4
- [Questions and Support] ModuleNotFoundError: No module named 'thirdparty.six.moves' HOT 4
- [Feature Request] Integrate IPinfo's free database for ASN+country enrichment, filters, and eliminating HTTP calls HOT 4
- External IP Flagged in Blocklist in Maltrail and Appears to also be affecting blocks on other sites... HOT 18
- Windows 11 Returns HOT 9
- [BUG] cruzit URL changed HOT 1
- [BUG] python six module HOT 4
- [BUG] Fortinet block page (fortinet-block-page-55.fortinet.com) listed as malicious. HOT 2
- Bad domains HOT 1
- [Questions and Support] Maltrail not listening on port 8337/udp HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maltrail.