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 Travelping Open Subscriber Server 6.19, an older release. The newest release is 6.20. Read this page in 6.20

Capturing TPOSS traffic

You can monitor and capture the incoming and outgoing TPOSS traffic with tools like tcpdumpOpens in a new tab. However, the main TPOSS container is rootless, meaning it doesn't have permission to write data to disk. This may prevent you from capturing and storing traffic within the TPOSS container. For this case, TPOSS provides support for a sidecar containerOpens in a new tab. You can add a sidecar container in the TPOSS deployment for debugging purposes using the following configuration options:

yaml

TPOSS provides the following interfaces and ports on which you can capture and collect traffic:

  • RADIUS - The underlying protocol is UDP. The default ports are 1812 (RADIUS authentication), 1813 (RADIUS accounting) and 3799 (RADIUS CoA and DisconnectOpens in a new tab). The ports of the TPOSS RADIUS servers might be different in a live deployment. For more information, see the RADIUS settings.
  • Diameter - The underlying protocol is TCP. The default port is 3868. The port of the TPOSS Diameter server might be different in a live deployment. For more information, see the Diameter settings.
  • TPOSS HTTP API - The underlying protocol is TCP. The default port is 8080. The port of the TPOSS HTTP server might be different in a live deployment. For more information, see the API overview.
  • SBI - The underlying protocol is TCP. The default port is the same as the TPOSS HTTP API.

Using the debug sidecar container, you can run tcpdump utility for the temporary traffic capturing. To do so, run this command:

bash

The output from tcpdump is redirected to locally launched WiresharkOpens in a new tab. It allows you to observe and filter the captured traffic. To rotate files with the captured traffic, you can use the standard tcpdump optionsOpens in a new tab -G and -w with the suitable values:

bash

To simplify capturing and analysing the traffic, you can collect only a certain part using the tcpdump or Wireshark filtering. Here is the list of the Wireshark filters that you can use to analyze the incoming and outgoing traffic:

  • radius - filter the RADIUS packets only.
  • diameter - filter the Diameter packets only.
  • radius || diameter - filter the RADIUS and Diameter packets only.
  • diameter.cmd.code != 280 - exclude Diameter watchdog messages.
  • e212.imsi = {IMSI} - filter requests by IMSI.
  • radius.Framed-IP-Address == {FRAMED-IP-ADDRESS} || diameter.Framed-IP-Address == "{FRAMED-IP-ADDRESS}" - filter requests by RADIUS and Diameter packets with the given Framed-IP-Address.
  • diameter.Session-Id == {SESSION-ID} || e212.imsi == {IMSI} - filter requests by the Session-Id and IMSI to catch the network and service sessions related to each other.
  • frame.number in {100, 102} - filter packets with the given frame numbers. It can be useful to show the RADIUS or Diameter responses for the filtered requests.

You can find more information on filtering RADIUS and Diameter packets in the RADIUS protocol filter referenceOpens in a new tab and Diameter protocol filter referenceOpens in a new tab.