New input/process plugin to accept IPFIX flow records on a socket#281
Open
lokeshdh wants to merge 7 commits intoCESNET:masterfrom
Open
New input/process plugin to accept IPFIX flow records on a socket#281lokeshdh wants to merge 7 commits intoCESNET:masterfrom
lokeshdh wants to merge 7 commits intoCESNET:masterfrom
Conversation
Systems were ipfix traffic is metered/counted by the hardware support this new input plugin sock and the corresponding process plugin sockpktinfo can be useful to receive and process ipfix flow information in form of switch records via a unix domain socket which then can be formatted in ipfix data packet and exported to a collector via ipfixprobe. Add some new fields for IPv4 and IPv6 that could be useful.
Make sure fd is valid before exporting data to the collector.
If the sock stream connection with the collector is disrupted and socket is still being written to then it can generate a SIGPIPE which is not being handled. This patch allows SIGPIPE signal to be ignored. The EPIPE error is handled after the sendto call.
Collaborator
|
Hi Lokesh, sorry for not getting back to your MR earlier. At the moment we are working on major changes in the processing plugins, which will be integrated soon. After that, I will be able to review and merge your MR, potentially adapting it to the new API. Thanks a lot for your contribution and patience! Pavel |
Author
|
Hi Siska, If you can, please find some time to review this MR? Kind regards, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The devices that we use have IPFIX support in the silicon which allows us to identify IPFIX flows. This new plugin allows the IPFIX flow data to be passed onto the IPFIXPROBE's sock(Unix domain socket) plugin which allows the tool to generate IPFIX data packets and export them to the collector.
Additional changes:
Making LZ4 conditionally compile via -DENABLE_OUTPUT_LZ4=ON
Making UNWIND conditionally compile via -DENABLE_UNWIND=ON