Comments (5)
This issue seems to be an invalid database file. Can you post the content of the config_basic.json
file?
from f2k.
config is:
{
"sensors_networks": {
"10.211.28.227":{
"observations_id": {
"16777224":{
"enrichment":{
"sensor_ip":"10.211.28.227",
"sensor_name":"flow_test",
"observation_id":16777224
}
},
"16777248":{
"enrichment":{
"sensor_ip":"10.211.28.227",
"sensor_name":"flow_test",
"observation_id":16777248
}
},
"16777240":{
"enrichment":{
"sensor_ip":"10.211.28.227",
"sensor_name":"flow_test",
"observation_id":16777240
}
}
}
}
}
}
this does not explain why f2k will actually run after trying a few times. makes me think of a race condition....but that is just a guess.
from f2k.
I can't reproduce this issue. I tried your configuration and no segfault is produced. Maybe the problem is due to a different library version. There is an available a docker image which contains all the required dependencies with the correct versions.
You can take a look to the Dockerfile or use the image available on Docker Hub.
Using f2k with Docker:
- Clone the repo and cd to the project folder
- The following command will open a shell inside the container:
docker run -it --rm -v $(pwd):/app redborder/dev-containers:f2k
- Compile with
./cofigure
andmake
- Run
f2k
from f2k.
something that might be different is that the netflow packets are send continuously while f2k attempts to startup. not sure if that will have an impact?
will try the docker instance. thank you for the tip.
from f2k.
Related Issues (20)
- Segmentation fault when executing f2k without config files on centos 7 HOT 1
- Errors in Make manuf
- run travis with BOUND_CHECKS HOT 1
- Parse serial numbers
- Create serial numbers database
- Send "unknown_ip" flag to workers
- Don't produce messages with "unknown_ip"
- Get serial numbers from option template
- Add IP address to database after verify serial number
- Allow sensors with dynamic IP address
- Discard Netflow to a Kafka topic
- Parse options for discard topic
- Dump discarded data to Kafka
- Flow from sensors with unknown observation IDs should be discarded
- Change ptr dns field names on JSON
- Process the product type dictionary from a JSON file HOT 1
- Enrich exported JSON with the product name HOT 1
- Show product type name instead of number HOT 1
- lots of erros while executing step "configure && make && make install" HOT 1
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 f2k.