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

RADIUS settings

TPOSS receives RADIUS requests from a packet gateway (PGW) to authorize sessions and maintain their state based on RADIUS accounting requests. To enable receiving the incoming RADIUS requests, you must specify RADIUS listeners in the TPOSS configuration.

For example:

yaml

TPOSS RADIUS servers accept only RADIUS requests from the known source addresses. You can configure this behaviour using these configuration options:

yaml

Caution

Most RADIUS metrics have labels that specify the NAS name (PGW-AUTH, PGW-ACCT, SCG-AUTH, and SCG-ACCT in the example above) and source IP of the incoming request. Setting wide IP ranges in the configuration of the accepted source addresses may lead to high resource consumption and performance degradation.

The configuration example above represents four source ranges from where the incoming RADIUS requests can be accepted. The format of each auth_source or acct_source is:

yaml

The source-key can be one of:

  • ggsn
  • scg
  • ruckus

NAS-Identifier is optional and used in RADIUS metrics, if defined. If the NAS-Identifier is not defined in the RADIUS source, the value of the nas_id label in the RADIUS-related metrics is constructed by combining auth or acct with the source IP address of the incoming request.

For example, the configuration of the RADIUS sources below may produce the metric radiusServAcctUpdateRequests{nas_id="auth_192.0.2.1"} 206 for the RADIUS request received from the 192.0.2.1 address:

yaml

The secret part is a shared secret (password) exchanged between the client and the RADIUS server. The source itself is represented by the IP address or the range of IP addresses. The range of IP addresses consists of an IP address and a subnet mask.

Both authorization and accounting listeners may track time of the incoming requests handling. For this purpose, you can configure the Prometheus histograms bucketsOpens in a new tab using this option:

yaml

As TPOSS does not only receive RADIUS requests but also may send RADIUS Disconnect requests towards PGWs, provide the addresses of PGWs or RADIUS agents that are able to forward requests towards PGW:

yaml

The radius.disconnect_request_retries and the radius.disconnect_request_timeout configuration options are applicable only if TPOSS can send RADIUS Disconnect request towards PGW (radius.ggsn_creation_on_accounuting set to false):

yaml

When TPOSS receives RADIUS requests, it stores them in a cache to avoid duplicated requests. The following configuration option represents how long such requests are preserved by TPOSS:

yaml

If the RADIUS request fails and TPOSS does not receive a response, TPOSS may re-send the request. You can specify the number of tries to re-send the RADIUS request and the request timeout using the following configuration options:

yaml

The radius.request_retries and the radius.request_timeout configuration options are applicable in environments where PCEF uses only RADIUS. In such environments, Diameter, SBI, and CDMP interface support is usually disabled (scg.diameter.enabled, sbi.enabled, and cdmp.enabled set to false).

In addition, you can specify the size of the UDP buffer using the following configuration option:

yaml