For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading User Plane Gateway 2.16, an older release. The newest release is 3.2. Go to 3.2

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:

text

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:

text

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.