libIPFIX HOWTO

Lutz Mark

Fraunhofer FOKUS, 

2006-09-06

Revision History
Revision 0.22006-09-06Revised by: lutz
second draft, db tables overview
Revision 0.12006-01-05Revised by: lutz
first draft

This HOWTO lists some examples how to use the libipfix library.


Table of Contents
1. Introduction
1.1. Copyright and License
1.2. Feedback
2. IPFIX library
2.1. Installation
2.2. Compilation and linking
2.3. Logging
3. Exporting IPFIX data
3.1. Exporting IPFIX data using ipfix_export()
3.2. Exporting IPFIX data using ipfix_export_array()
4. Collecting and processing IPFIX data
4.1. Collect IPFIX data and store into files
4.2. IPFIX data file format
4.3. Collect IPFIX data and store into mysql database
4.4. IPFIX database layout
4.4.1. IPFIX general tables
4.4.2. IPFIX data tables
5. Answers to Frequently Asked Questions
6. Further Information / Links

1. Introduction

The IPFIX protocol has been developed for the purpose of exporting IP packet flow information from IP devices such as routers or measurement stations to mediation, accounting, and network management systems. This export includes (a) attributes derived from the IP packet headers and (b) attributes known only to the exporter (e.g., ingress and egress ports, network prefix). The IPFIX protocol defines the data mapping, a way to specify templates for data record definition and a transport mapping to export flow information records across the network from an IPFIX exporter to an IPFIX collector. It is intended for the purposes of Internet research, measurement, attack and intrusion detection, accounting, and billing.

1.1. Copyright and License

This document, libIPFIX HOWTO, is copyrighted (c) 2006 by Lutz Mark. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html.

1.2. Feedback

Feedback is welcome for this document. Please send your additions, comments and criticisms to .