Traffic Stream Reporter
Traffic Stream Reporter (TSR) is a project that receives and processes IPFIX information.
TSR consists of four components:
- TSR Collector - listens for IPFIX packets and forwards the packets to the next hop, for example another Collector or the Sink
- TSR Sink - receives IPFIX packets and stores the relevant information of the packets into a MySQL database
- TSR Engine - runs once or periodically and generates reports for traffic from and to external IP addresses (only for FlowUsageReport)
- TSR Cleaner - runs periodically and removes outdated data from the MySQL database
IPFIX messages
TSR can handle two types of IPFIX messages:
- NatEvent
- FlowUsage
NatEvent
When TSR is configured to handle NatEvent IPFIX messages, you can use the following information:
TSR can handle messages with natEvent create(4) (start of NAT binding) and delete(5) (end of NAT binding).
As a result, the following data items are known:
- UE IP address and port
- IMSI
- Start/end of NAT binding
- Destination IP and port
- NAT IP and Port
- Protocol
- Number of bytes sent and received
- Number of packets sent and received This information is stored in a database and used for analysing or debugging the traffic of devices.
FlowUsage
There are two variants of FlowUsage IPFIX messages:
- Bidirectional
- Unidirectional
When TSR is configured to handle FlowUsage bidirectional IPFIX messages, you can use the following information:
When TSR is configured to handle FlowUsage unidirectional IPFIX messages, you can use the following information: