en:statistics_ipfix [Документация VAS Experts]

This is an old revision of the document!


netflow control can be changed by next setting:

netflow_full_collector_type=1

где
0 - export netflow5 ( default )
1 - export UDP ipfix
2 - export TCP ipfix

Export template for IPFIX format (Netflow v10)

Size Type IANA Descriptionnetflow9 analogy
1 8 int64 0 octetDeltaCount IN_BYTES
2 8 int64 0 packetDeltaCount IN_PKTS
4 1 int8 0 protocolIdentifier PROTOCOL
5 1 int8 0 ipClassOfService TOS
7 2 int16 0 sourceTransportPortL4_SRC_PORT
8 4 int32 0 sourceIPv4AddressIPV4_SRC_ADDR
11 2 int16 0 destinationTransportPortL4_DST_PORT
12 4 int32 0 destinationIPv4AddressIPV4_DST_ADDR
16 4 int32 0 bgpSourceAsNumberSRC_AS
17 4 int32 0 bgpDestinationAsNumberDST_AS
152 8 int64 0 FlowStartMillisecond
153 8 int64 0 FlowEndMillisecond
10 2 int16 0 INPUT_SNMPingressInterface
14 2 int16 0 OUTPUT_SNMPegressInterface
60 1 int8 0 ipVersionIP_PROTOCOL_VERSION
2000 8 int64 43823 SESSION ID
2001 - string 43823 HTTP HOST или CN HTTPS
2002 2 int16 43823 DPI PROTOCOL
2003 - string 43823 LOGIN (Radius UserName)
225 4 int32 0 postNATsourceIPv4Address
227 2 int16 0 postNAPTsourceTransportPort

IPFIX export pattern for IPv6 differs just by absence of sourceIPv4Address, destinationIPv4Address, postNATsourceIPv4Address, postNAPTsourceTransportPort fields and by availability of the following fields

Number of bytes Data type IANA Description Netflow9 analogue
27 16 int128 0 sourceIPv6AddressIPV6_SRC_ADDR
28 16 int128 0 destinationIPv6AddressIPV6_DST_ADDR

Using this format allows to generate a report on the visiting site traffic, on the subscribers with dinamically assigned addresses and to link session and volume data with metadata transmitted within the session.

Supplied nfsen is limited by Netflow 5 fields only. For nfdump/nfsen netflow5 is reconended, because of compact format.

For extended information in IPFIX format can be used any universal IPFIX collector, for instance - CESNET ipfixcol or our utility IPFIX Receiver