MEMCAP traffic capturing
User Plane Gateway (UPG) extends the Fast Path Provider (FPP) MEMCAP integration to allow for capturing session traffic based on provided IMSI (International Mobile Subscriber Identity).
For the details about MEMCAP and its installation, refer to the FPP MEMCAP traffic capturing documentation. After installing MEMCAP Sink, no additional configuration is required on the UPG side. The system is designed to maintain a continuous connection with the MEMCAP Sink pod, automatically attempting to reconnect, if necessary.
Usage
Enable traffic capturing
To initiate traffic capturing on a specific IMSI, use the command:
The packet_max_bytes parameter is optional and it allows you to limit the size of collected data to reduce memory usage of traffic capture.
Disable traffic capturing
To disable traffic capturing on a specific IMSI, use the command:
Capture information
You can use the additional metadata provided in a .pcapng file for advanced filters in tools like Wireshark. When analyzing .pcapng files collected using MEMCAP in Wireshark, the IMSI associated with each packet is displayed in the frame.interface_name field.
Packets are captured immediately after the Packet Detection Rule (PDR) matching and before any processing by Usage Reporting Rule (URR) or Quality of Experience Rule (QER). This means packets are captured before potential drops due to various gateway control functions.
Note
Multiple sessions can share same IMSI and currently there is no way to distinguish traffic between them.