Comments (3)
Hello, thanks for the comment.
1. Use many plugins in one command line (eg: basic,http,dns)
The default timeout on output interfaces is WAIT
. This will cause module to stop and wait when trying to send message to output interface with no connected clients. flow_meter -i t:11111,t:11112,t:11113 -p basic,http,dns -I eth1
was waiting for clients to connect to 11111
or 11112
port while you expected flows on 11113
port.
However WAIT
as default timeout is not the best choice for exporter. We will change the default timeout to HALF_WAIT
to prevent this behavior. You can always set timeout manually.
For more information about timeouts see logger -h trap
or flow_meter -h trap
2. Can not auto-kill logger if use unix socket process
I will need more info. What was the output of logger
when you killed flow_meter
with TCP socket?
I killed flow_meter
with TCP socket and logger
returned an trap_recv() error
if you mean this by auto-kill.
from nemea-modules.
Hi Havraji6,
- I just tested with timeout=HALF_WAIT, it works so well
- I just reconsider my old idea with auto-kill, with old commits, if used command pkill -9 meter and logger also be killed. Today with the same command (pkill -9 meter) and logger is still alive. It is my expected
Thanks you!
from nemea-modules.
@whitetiger21022014 generally, it should be better to kill NEMEA modules using SIGINT
- this usually breaks the main loop in modules...
That auto-kill "feature" you mentioned is something caused by "ending message". E.g. when we use logreplay
, it sends this message by default in order to stop connected modules when the CSV file is read till the end.
However, I wish to get so called "signalling" feature finished - it will improve internal mechanism of e.g. this ending message use-case.
Thank you very much for all feedback and notes you have already provided.
from nemea-modules.
Related Issues (20)
- Create a simple README.md for json_dump HOT 2
- logger bug: `-o` parameter doesn't work
- Module `sni_dataset_saver` is missing a `<cstdint>` include HOT 1
- unirecfilter: Unable to filter fields containing number
- Feature request: Add DNS A record for dns plugin (flow_meter)
- Question: DIR_BIT_FIELD of interface network HOT 2
- 'uint64 BYTES' in openWRT always has zero value HOT 2
- Improvement of README (merger)
- Reporter modules crash on db connection error HOT 1
- Unirecfilter startup race HOT 5
- Unirecfilter infinite loop
- ipblacklist does not list dst IP address in idea message HOT 1
- anonymizer: unchecked rv of fgets! HOT 4
- vportscan aggregation logger does not work HOT 4
- json_dump.py flushing HOT 2
- vportscan AggrWin is fixed HOT 2
- Warning shebang in python scripts/modules HOT 10
- flow_meter: incompatible http template HOT 2
- Unirecfilter: Support for "IN" operator for IP prefix HOT 2
- Build fails on openSUSE 15 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 nemea-modules.