IPFIX with Extensions combines standard flow information with SonicWall enterprise-defined fields. The SonicWall Enterprise ID is 8741. Collectors must support the applicable SonicWall templates to interpret the exported data.
IPFIX Extension Version 2 (Ve2) exports connection data and associated URL data using separate records. The URL Ve2 template includes the URL name, five URL rating values, and URL reputation.
The following templates are used for Ve2 reporting:
Template 456: IPv4 connection flow
Template 556: IPv6 connection flow
Template 457: URL information, including URL ratings and reputation
IPFIX Extension Version 3 (Ve3), introduced in SonicOS 8.2.3, embeds the associated URL information directly in the connection flow record. It also includes source and destination zone names and the CFS policy name.
The following templates are used for Ve3 reporting:
Template 656: IPv4 connection flow with inline URL information, source and destination zone names, and the CFS policy name.
Template 756: IPv6 connection flow with inline URL information, source and destination zone names, and the CFS policy name.
IPv6 template support does not turn on IPv6 flow reporting automatically. To report IPv6 flows, clear Disable Reporting IPv6 Flows (ALL) on the DEVICE | AppFlow > Flow Reporting page, Settings tab.
IPFIX with Extensions Template IDs lists the template IDs and table names for IPFIX with extensions. See also IPFIX with Extensions Template Example: Template ID 257 (Flow IPFIX extn), 39 elements, total length 148 bytes.
The following tables show an example of the fields in the IPFIX with extensions templates. All fields use the SonicWall Enterprise ID 8741.
| Field ID | Field bytes | Type | Name |
|---|---|---|---|
| 28 | 4 | unsigned int-32bits | template identifier |
| 29 | 32 | string-null terminated | table name |
| Field ID | Field bytes | Type | Name |
|---|---|---|---|
| 30 | 4 | unsigned int-32bits | column identifier |
| 31 | 32 | string-null terminated | column name |
| 32 | 4 | unsigned int-32bits | column type |
| 33 | 4 | unsigned int-32bits | column standard IPFIX ID |