简体   繁体   English

是否有开源的 netflow 收集器 C++ 库集?

[英]Is there an open source netflow collector C++ library set?

I am looking for a C++ library set to develop my own C++ daemon in Linux for collecting NetFlow information.我正在寻找一个 C++ 库,用于在 Linux 中开发我自己的 C++ 守护程序以收集 NetFlow 信息。 Does anyone know of an open source one or a library set that is available?有谁知道可用的开源软件或库集?

Many thanks非常感谢

Have you tried Googling?你试过谷歌搜索吗? There are plenty of daemons for NetFlow available, for Linux and BSD flavors:有许多适用于 Linux 和 BSD 风格的 NetFlow 守护进程:

FWIW - take a look also at http://code.google.com/p/flowd/ - it's small and BSD-licensed, so you should be able to tweak it according to your needs. FWIW - 也请查看http://code.google.com/p/flowd/ - 它很小且获得 BSD 许可,因此您应该能够根据需要对其进行调整。 (I'm not affiliated with it at all, just used a few times, and liked the tiny footprint). (我根本不隶属于它,只是使用了几次,并且喜欢它的小足迹)。

For a stand-alone library, you can try "libipfix".对于独立库,您可以尝试“libipfix”。 It implements the newer IETF IPFIX protocol, but also understands Netflow v9 (on which IPFIX is based).它实现了较新的 IETF IPFIX 协议,但也理解 Netflow v9(IPFIX 所基于的)。 But I don't think it can process older Netflow versions (v1 and v5 are common), so this is probably only useful if your Netflow-exporting devices support Netflow v9.但我认为它不能处理旧的 Netflow 版本(v1 和 v5 很常见),所以这可能只有在您的 Netflow 导出设备支持 Netflow v9 时才有用。

" Vermont " is an open source modular Ipfix/Netflow probe/aggregator/collector application written in C++. 佛蒙特”是一个用 C++ 编写的开源模块化 Ipfix/Netflow 探针/聚合器/收集器应用程序。 It can be configured in a wide variety of ways to collect and process flow related information.它可以通过多种方式进行配置,以收集和处理与流程相关的信息。 It has reasonable documentation with examples detailing how to combine it's modules.它有合理的文档和示例,详细说明如何组合它的模块。

佛蒙特

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM