alexbredo / ipfix-receiver Goto Github PK
View Code? Open in Web Editor NEWIPFIX Receiver and Conversation-Aggregator
License: BSD 2-Clause "Simplified" License
IPFIX Receiver and Conversation-Aggregator
License: BSD 2-Clause "Simplified" License
Message: INFO@OpenSocketAggregator: Ignoring flow, because not Layer 3 (IP).
Currently Layer 2 flows (MAC-Src + Dst) can't be aggregated, because there is no aggregator available. So this L2-flows are ignored.
TODO:
--> Rewrite Aggregator, so that it handles L2, L3 and probably physical :-D
Idea:
ERROR: Overall Queue-Size is extremly long ((Queue-Size) Flows: 0. Corrector: 916. Stats: 25. Conversation: 88949. Security: 0. Postprocessing: 0. Finisher: 0.)
Conversation-Aggregator is currently a bottleneck. Rewrite of Aggregator is necessary, as already written in #4.
Non-Standard Field-Size
https://docs.python.org/3/library/struct.html#format-characters
Solution: "6s" ? (to be checked)
Implement Logrotation, because Log gets very big.
Method old: POST, new: PUT:
Content:
PUT /ipfix
{
"mappings": {
"conversation": {
"properties": {
"sourceIPv6Address": {
"type": "ip"
},
"sourceIPv4Address": {
"type": "ip"
},
"destinationIPv6Address": {
"type": "ip"
},
"destinationIPv4Address": {
"type": "ip"
},
"@timestamp": {
"type": "date",
"format": "epoch_millis"
},
"sourceHostname" : {"type" : "string", "index" : "not_analyzed"},
"destinationHostname" : {"type" : "string", "index" : "not_analyzed"},
"destinationTransportPortName" : {"type" : "string", "index" : "not_analyzed"},
"sourceTransportPortName" : {"type" : "string", "index" : "not_analyzed"},
"protocolIdentifierName" : {"type" : "string", "index" : "not_analyzed"},
"networkLocation" : {"type" : "string", "index" : "not_analyzed"},
"securityReason" : {"type" : "string", "index" : "not_analyzed"}
}
}
}
}
If multiple IPFIX-Senders send messages with same the Template-ID, but different template data, there is an error while parsing: "Length of Template and Data not equal". So packets can't be parsed, because they will use a wrong template.
Solution (todo): Implement a datastructure, which holds and finds templates by source ip of ipfx-sender.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.