Manual Chapter : IPFIX Templates for AFM DNS Events

Applies To:

Show Versions Show Versions

BIG-IP AFM

  • 11.5.10, 11.5.9, 11.5.8, 11.5.7, 11.5.6, 11.5.5, 11.5.4, 11.5.3, 11.5.2, 11.5.1
Manual Chapter

IPFIX Templates for AFM DNS Events

Overview: IPFIX Templates for AFM DNS Events

The IP Flow Information Export (IPFIX) Protocol is a logging mechanism for IP events. This appendix defines the IPFIX Information Elements (IEs) and Templates used to log F5’s Application Firewall Manager (AFM) DNS events. An IE is the smallest form of useful information in an IPFIX log message, such as an IP address or a timestamp for the event. An IPFIX template is an ordered collection of specific IEs used to record one IP event, such as the denial of a DNS query.

About IPFIX Information Elements for AFM DNS events

Information Elements (IEs) are individual fields in an IPFIX template. An IPFIX template describes a single Advanced Firewall Manager™ (AFM™) DNS event.

IANA-defined IPFIX Information Elements

IANA maintains a list of standard IPFIX Information Elements (IEs), each with a unique Element Identifier. The F5® AFM™ DNS IPFIX implementation uses a subset of these IEs to publish AFM DNS events. This subset is summarized in the table.

Information Element (IE) Size (Bytes) IANA ID
destinationIPv4Address 4 12
destinationIPv6Address 16 28
destinationTransportPort 2 11
ingressVRFID 4 234
observationTimeMilliseconds 8 323
sourceIPv4Address 4 8
sourceIPv6Address 16 27
sourceTransportPort 2 7

IPFIX enterprise Information Elements

IPFIX provides for enterprises to define their own Information Elements. F5® currently uses the following non-standard IEs for AFM™ DNS events:

Information Element (IE) Size (Bytes)
action Variable
attackEvent Variable
attackId 4
attackName Variable
bigipHostName Variable
bigipMgmtIPv4Address 4
bigipMgmtIPv6Address 16
contextName Variable
deviceProduct Variable
deviceVendor Variable
deviceVersion Variable
dnsQueryType Variable
errdefsMsgNo 4
flowId 8
ipfixMsgNo 4
messageSeverity 1
msgName Variable
packetsDropped 4
packetsReceived 4
partitionName Variable
queryName Variable
vlanName Variable
Note: IPFIX, unlike NetFlow v9, supports variable-length IEs, where the length is encoded within the field in the Data Record. NetFlow v9 collectors (and their variants) cannot correctly process variable-length IEs, so they are omitted from logs sent to those collector types.

About individual IPFIX Templates for each event

This section enumerates the IPFIX templates used by F5 to publish AFM DNS Events.

IPFIX template for DNS security

Information Element (IE) Size (Bytes) Notes
action Variable This IE is omitted for NetFlow v9.
bigipHostName Variable This IE is omitted for NetFlow v9.
bigipMgmtIPv4Address 4  
bigipMgmtIPv6Address 16  
contextName Variable This IE is omitted for NetFlow v9.
observationTimeMilliseconds 8  
destinationIPv4Address 4  
destinationIPv6Address 16  
destinationTransportPort 2  
deviceProduct Variable This IE is omitted for NetFlow v9.
deviceVendor Variable This IE is omitted for NetFlow v9.
deviceVersion Variable This IE is omitted for NetFlow v9.
queryName Variable This IE is omitted for NetFlow v9.
dnsQueryType Variable This IE is omitted for NetFlow v9.
errdefsMsgNo 4  
flowId 8  
ipfixMsgNo 4  
messageSeverity 1  
partitionName Variable This IE is omitted for NetFlow v9.
ingressVRFID 4  
sourceIPv4Address 4  
sourceIPv6Address 16  
sourceTransportPort 2  
vlanName Variable This IE is omitted for NetFlow v9.
msgName Variable This IE is omitted for NetFlow v9.

IPFIX template for DNS DoS

Information Element (IE) Size (Bytes) Notes
action Variable This IE is omitted for NetFlow v9.
attackEvent Variable This IE is omitted for NetFlow v9.
attackId 4  
attackName Variable This IE is omitted for NetFlow v9.
bigipHostName Variable This IE is omitted for NetFlow v9.
bigipMgmtIPv4Address 4  
bigipMgmtIPv6Address 16  
contextName Variable This IE is omitted for NetFlow v9.
observationTimeMilliseconds 8  
destinationIPv4Address 4  
destinationIPv6Address 16  
destinationTransportPort 2  
deviceProduct Variable This IE is omitted for NetFlow v9.
deviceVendor Variable This IE is omitted for NetFlow v9.
deviceVersion Variable This IE is omitted for NetFlow v9.
queryName Variable This IE is omitted for NetFlow v9.
dnsQueryType Variable This IE is omitted for NetFlow v9.
errdefsMsgNo 4  
flowId 8  
ipfixMsgNo 4  
messageSeverity 1  
partitionName Variable This IE is omitted for NetFlow v9.
ingressVRFID 4  
sourceIPv4Address 4  
sourceIPv6Address 16  
sourceTransportPort 2  
vlanName Variable This IE is omitted for NetFlow v9.
msgName Variable This IE is omitted for NetFlow v9.
packetsDropped 4  
packetsReceived 4