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.

HSS settings

Important

The Diameter, SBI API, and CDMP must be disabled if HSS is enabled. You can disable them using the scg.diameter.enabled, sbi.enabled, and cdmp.enabled configuration options.

To receive incoming Diameter requests from MME, you must specify a Diameter listener along with other Diameter options. Use these configuration options to enable the Diameter listener:

yaml

The listener address is specified in the aaa://address:port format. The hss.diameter.pool_size option controls the maximum number of Diameter connections that TPOSS can accept from the external Diameter agents.

The hss.diameter.transport configuration option specifies the underlying transport protocol that is used by the TPOSS HSS Diameter Service. The possible values are:

  • tcp
  • sctp

Important

If you set the hss.diameter.transport configuration option to sctp, make sure that the sctp kernel module is loaded on every node that runs the TPOSS HSS. Most distributions do not load it by default, and TPOSS refuses to open the S6a listener when it is missing. To load it, run this command on the node:

bash

To load the module on every boot, run this command:

bash

To check whether the module is already loaded, run lsmod | grep sctp. Empty output means it is not.

The hss.diameter.local_addresses configuration option specifies the local addresses that the S6a listener binds to. SCTP allows both sides of an association to use several addresses at once, so the association survives the loss of one network path. This is called multi-homing. For example:

yaml

A comma-separated string works as well, which is the shorter form for helm --set-string, where a list otherwise needs local_addresses[0], local_addresses[1] and so on:

yaml

Leave hss.diameter.local_addresses empty (the default) to bind the address resolved from hss.diameter.listener only.

Configure timeouts for outgoing Diameter requests

When a subscriber attaches to an MME, and this MME is different from one that the subscriber was attached before, TPOSS sends a Diameter S6 Cancel-Location request to previous MME that used to serve it. You can use the following configuration option to control how long TPOSS waits for the answer:

yaml

Number of authentication vectors per request

An MME can request several authentication vectors at once, so it does not have to request them again for every attach. You can limit how many vectors TPOSS returns using the following configuration option:

yaml

The hss.auc.max_vectors_per_request configuration option limits the number of vectors TPOSS returns for one Diameter S6a Authentication-Information request, even when the MME asks for more than the configured value.

Prometheus bucket settings

TPOSS provides the following metrics to measure the time that TPOSS needs to handle Diameter requests:

  • diameter_requests_rtt_milliseconds
  • diameter_if_requests_rtt_milliseconds

Both of these metrics are Prometheus histogramsOpens in a new tab for which you can configure buckets using these configuration options:

yaml

In addition, TPOSS HSS provides the following metrics to measure RTT of the interaction with the Authentication Centre:

  • hss_auc_vector_rtt_milliseconds
  • hss_auc_sqn_alloc_rtt_milliseconds metrics

You can configure the buckets for these histograms using the following configuration options:

yaml

For more information about the HSS metrics, see the HSS metrics section.

Additional Diameter settings

Here are the additional Diameter configuration options that you can use to control the size of buffers for the underlying sockets of the Diameter connections:

yaml

If any of these configuration options are unset, the default system-level value is used. For receive buffers, it is the value of the net.core.rmem_default kernel parameter. For send buffers, it is the value of the net.core.wmem_default kernel parameter. If the value of the hss.diameter.buffer is unset, the maximum value of the hss.diameter.recbuf and hss.diameter.sndbuf is used.