<3GPPAuthHSS>
.HSSRealm
is
not defined, DiaPeerDef
entries need to be configured
and DestinationRealm from Diameter Peer's DiaPeerDef configuration is used
as the Destination-Realm. If no HSSRealm
or
Destination-Realm for the chosen DiaPeerDef is configured,
Destination-Realm in the outgoing SWx request is empty.HSSRealm
and leave DiaPeerDef
parameters undefined. This allows Radiator to use Diameter routing to
resolve the peer to send SWx requests to.# Always use this as SWx Destination-Realm in requests HSSRealm aaa.mnc001.mcc001.3gppnetwork.org
DiaPeerDef
defines how to select the peer
to use when sending SWx requests to HSS. The HSS may be a directly
connected peer, or reachable with Diameter Routing Agent or some other
type of agent that routes the messages towards the HSS.
DiaPeerDef
parameter value can be a configuration
file Identifier
value or Diameter Auth-Application-Id
or Vendor-Specific-Application-Id/Auth-Application-Id that the peer has
advertised.DiaPeerDef
are allowed. The first entry is the primary peer to use. Entries will be
tried in the order they appear in the configuration file.HSSRealm
and leave DiaPeerDef
parameters undefined. This allows Radiator to use Diameter routing to
resolve the peer to send SWx requests to.
# We peer directly with HSS <DiaPeerDef ...> Identifier diapeer-hss </DiaPeerDef> # The configuration file Identifier to locate DiaPeerDef to use with HSS requests DiaPeerDef DiaPeerDef-Identifier=diapeer-hss #DiaPeerDef DiaPeerDef-Identifier=diapeer-hss-secondary # An alternative is to use a peer that has advertised SWx #DiaPeerDef Peer-Auth-Application-Id=3GPP:3GPP SWx
<DiaPeerDef>
.
<DiaPeerDef>
defines the Diameter peer this
Radiator instance connects to. Both Radiator instance and the Diameter
peer can initiate the connection.<DiaPeerDef>
clause for all used Diameter-based
AuthBys. If there is no <ServerDIAMETERTelco>
clause defined, <DiaPeerDef>
clauses must have
the Initiator
flag set to connect to the Diameter
peers.<ServerDIAMETERTelco>
clause
allows accepting incoming Diameter connections. When the
<ServerDIAMETERTelco>
is configured, Radiator
acts as a Diameter responser. The settings for the connecting peers are
fetched from the <DiaPeerDef>
clauses.The
clauses are matched against the incoming CER (Capabilities Exchange Request)
from the peer.<DiaPeerDef>
clause is always
required.<ServerDIAMETERTelco>
clause is configured but there are no
<DiaPeerDef>
clauses, the incoming
CER messages are rejected by Radiator. A
<DiaPeerDef>
is required to form a successful
CEA (Capabilities Exchange Answer) back to the peer.<DiaPeerDef>
with an empty parameter list
matches to any Diameter peer. This is useful when defining default
settings for incoming connections from any Diameter peer.<DiaPeerDef>
clause and
its configuration. When defined, this allows you to choose the correct
Diameter peer when configuring Diameter-relaying support.OriginHost
and OriginRealm
.
The request object is created when a Diameter request message is received.
The request object is then sent to the handler with the correct
application AuthBy for this request.<AuthBy
DiaRelay>
relays the request to the correct peer and
processes the answer, which is returned from the relay peer.NoReplyHook
is called if the request stored in proxy does not receive a reply. The
default value is 5
.Destination-Host
for Diameter requests. The usage of this parameter depends on the Diameter
application that uses this <DiaPeerDef>
. This
is an optional parameter.Destination-Realm
for Diameter requests. The usage of
this parameter depends on the Diameter application that uses this
<DiaPeerDef>
. This is an optional
parameter.DictVendors
for all supported vendors.# Advertise Open System Consultants and 3GPP SupportedVendorIds 9048, 3GPP
Vendor-Specific-Application-Id
attributes announced
in the CER and CEA messages. The
Vendor-Specific-Application-Id
is not announced by
default. The parameter value is a comma-separated list of
vendor:application
values. Both names and direct numeric
values are accepted.VendorAuthApplicationIds 3GPP:3GPP-Rx, 3GPP:3GPP-Gx
Vendor-Specific-Application-Id
attributes announced
in the CER and CEA messages. The
Vendor-Specific-Application-Id
is not announced by
default. The parameter value is a comma-separated list of
vendor:application
values. Both names and direct numeric
values are accepted.VendorAcctApplicationIds OSC:Example accounting app
Initiator
must be set if Radiator instance has to
act as an initiator and create a connection to the Diameter peer defined
by this <DiaPeerDef
>. If
Initiator
is not set, the Radiator instance does not
initiate connections but other instances, such as ePDG, must act as a initiator.<DiaPeerDef>
is configured to act as an
initiator.<ServerDIAMETERTelco>
listens to for
connections from Diameter peers. For more information, see Radiator reference manual under section
<ServerDIAMETER>.SCTPPeer
parameters are supported. When
SCTPPeer
is defined, it is used instead of
Host
or Peer
parameters. Special
formatting characters are supported. If SCTP multihoming is not supported,
connection is attempted to each peer at a time.SCTPPeer
must be either
IPv4 or IPv6 addresses
SCTPPeer
:# Peer has multiple IPv6 addresses SCTPPeer 2001:db8:1500:1::a100 SCTPPeer 2001:db8:1500:2::a100
LocalPort
is a string, it can be a port
number or name. It binds the local port if
LocalAddress
is defined. If
LocalPort
is not specified or if it is set to
0
, a port number is allocated in the usual
way.LocalAddress
must be either IPv4 or IPv6
addresses.LocalAddress 203.63.154.29 LocalPort 12345
0
. When connections are known to be short-lived, a
non-default value may be useful. This parameter is available for all
Stream based modules, such as <ServerDIAMETER>
and <AuthBy RADSEC>
.# Debug logging is enough for peer disconnects DisconnectTraceLevel 4
TLS_Protocols
configuration parameter with the other
TLS related parameters, such as certificates, that depend on your
operating environment.UseTLS
and
UseSSL
are obsolete and should not be used. Use
TLS_Protocols
instead.<3GPPAuthMAP>
.<AAAServerSWx>
does not have any
configurable parameters at the moment except
Identifier
.<AAAServerSWm>
does not have any
configurable parameters at the moment except
Identifier
.<AAAServerS6b>
does not have any
configurable parameters at the moment except
Identifier
.<EAPContextInternal>
.3
. Usually there is no need to change this
value.<EAPContextGossip>
.3
. Usually there is no need to change this
value.<AAASessionInternal>
does not have any
configurable parameters at the moment except
Identifier
. It keeps the session information of
active SWm and S6b sessions and profiles fetched from HSS. The information is stored in internal memory.<AAASessionGossip>
keeps the session
information of active SWm and S6b sessions and profiles fetched from
HSS. The information is stored in Gossip. The
Gossip framework is documented in Radiator
reference manual under section <GossipRedis> and Gossip
framework. <AAASessionGossip>
supports also
Identifier
.CloseAction
defines how to update Gossip
when the session is closed. This is not set by default and the session is
deleted when closed. The functionality is similar as when the value is set
to delete
. When set to timestamp
, the
session is not deleted but the stopping time timestamp is marked when the
session is closed.<AAASessionSQL>
. It keeps the session
information of active SWm and S6b sessions and profiles fetched from
HSS. The information is stored in SQL
database.AddSessionQuery
:Session-Id
AVP (Attribute-Value Pair).Origin-Host
AVP.Origin-Realm
AVP.Application
Id
value.Application Id
.Service-Selection
attribute value, for example,
SSID (Service Set Identifier) or NAI (Network Access Identifier).Emergency-Services
attribute. There is no need to
store this attribute if emergency services are not enabled.User-Name
attribute. Storing this is only needed
when IMSI privacy is enabled and the ePDG requires anonymous username
instead of permanent user identity.AddSessionQuery
. See AddProfileQuery
for more information about the available bind variables.GetSessionQuery
:Session-Id
AVP.GetSessionQuery
. See GetSessionQuery
for more information about the available bind variables.GetSessionQuery
statement. The format is
'GetSessionColumnDef n, item'
, where n
is the index of the column in the GetSessionQuery
or
GetAllSessionsQuery
result and item
is the name of the value used in later
processing. See GetSessionQuery
for an example.CloseSessionQuery
:%0
GetSessionSelect
.CloseSessionQuery
. See CloseSessionQuery
for more information about the available bind variables.CloseAllSessionsQuery
:%0
CloseAllSessionsQuery
. See CloseAllSessionsQuery
for more information about the available bind variables.CountSessionsQuery
:%0
CountSessionsQuery
. See CountSessionsQuery
for more information about the available bind variables.GetAllSessionsQuery
:GetAllSessionsQuery
. See GetAllSessionsQuery
for more information about the available bind variables.SaveProfileQuery
:SaveProfileQuery
. See SaveProfileQuery
for more information about the available bind variables.GetProfileQuery
:GetProfileQuery
. See GetProfileQuery
for more information about the available bind variables.DeleteProfileQuery
:%0
DeleteProfileQuery
.See DeleteProfileQuery
for more information about the available bind variables.<AuthBy Dia3GPPAAAServer>
. Apart from the
parameters listed here, <AuthBy
Dia3GPPAAAServer>
inherits other parameters from
<AuthBy AKA>
. These parameters are documented
in Radiator SIM Module reference manual.OriginHost
and OriginRealm
are optional parameters that define values for Diameter attributes
Origin-Host
and Origin-Realm
in
SWm
, S6b
and SWx
application messages Radiator 3GPP AAA Server sends. These parameters are
typically used when multiple parallel Radiator 3GPP AAA workers with the
same Diameter identity used in conjunction with Radiator Service Provider
Module hashbalance support.Origin-Host
and Origin-Realm
attributes get their values from the DiaPeerDef
clause use for forwarding the message. Special formatting characters are
supported. Formatting is done when the configuration is loaded and
AuthBy Dia3GPPAAAServer
clause is activated.3gpp-aaa-server-hashbalance.cfg
for a sample configuration.# We use local Diameter identity for peering with relay and # this global identity for 3GPP AAA Server messages. OriginHost radiator-3gpp.aaa.mnc001.mcc232.3gppnetwork.org OriginRealm aaa.mnc001.mcc232.3gppnetwork.org
EmergencyServcies
is not enabled, SWm or S6b
requests with Emergency-Services
AVP that have
Emergency-Indication
bit set are logged and rejected.
Defaults to not set.IMSICrypt
clause to use for IMSI decryption. For more
about IMSI encryption, see Section 4.13. <IMSICrypt>.DiaEIR
clause. This is an optional parameter.accept
and
reject
.colon
, which removes
everything starting after @ and ending with the first :.# Our ePDG can not strip MAC addresses StripMACFromUserName colon
<IMSICrypt>
clause. This clause provides
support for Permanent Identity encryption, sometimes also called IMSI
encryption or IMSI privacy. IMSI encryption is specified in 3GPP document
S3-170116 and Wireless Broadband Alliance technical specification
IMSI Privacy Protection for Wi-Fi. <IMSICrypt>
clause with
an Identifier
parameter.IMSICrypt
configuration parameter in
AuthBy
clauses.goodies/imsicrypt.cfg
DefaultPrivateKeyFile
defines a private
key file name for a key that is used when an encrypted permanent identity
does not have key identifier. You can configure multiple key files to
support key roll over. Decryption is attempted with all key files until
the first one succeeds. If no key is able to correctly decrypt an
encrypted identity, an error is returned to the client and the
authentication fails.DefaultPrivateKeyPassword
defines the
password for decrypting a default private key defined with
DefaultPrivateKey
. Key encryption is optional. If a
key is stored without encryption, this parameter is not needed. An
encrypted key file and its respective password must be configured in
pairs.PrivateKeyFile
defines a private key file
name in name=value,filename
format. This key is used when
an encrypted permanent identity sent by the client has a key identifier.
Decryption is attempted only with the key that matches the key identifier
the client sends. If the key is not able to correctly decrypt the
encrypted identity, an error is returned to the client and the
authentication fails. You should not configure more than one
PrivateKeyFile
parameter with the same
name=value
because only the latest parameter is
used.PrivateKeyPassword
defines the password
for decrypting a private key defined with PrivateKey
.
The format for this parameter is name=value,password
where name
and value
must match the
respective values of a PrivateKeyFile
parameter. Key
encryption is optional. If a key is stored without encryption, this
parameter is not needed.goodies/eir-client.cfg
and
goodies/eir-server.cfg
.<DiaEIR>
. <DiaEIR>
implements the interface for querying EIR.EIRCache
is Identifier of the EIRCache
clause. If this is not set, no caching is done. This is not set by
default.<EIRCacheInternal>
.
<EIRCacheInternal>
is an optional module for
caching EIR responses.CacheTimeout
defines (in seconds) for how
long the successful EIR responses are cached.
The default value is 1800
(30 minutes).<Server3GPPTest>
.goodies/simcards.dat
for a sample
file.<ServerDIAMETERTelco>
.<DiaPeerDef>
is configured to act as an
initiator.<ServerDIAMETERTelco>
listens to for
connections from Diameter peers. For more information, see Radiator reference manual under section
<ServerDIAMETER>.10
. For more
information, see Radiator reference manual under section
<ServerDIAMETER>.0
. When connections are known to be short-lived, a
non-default value may be useful. This parameter is available for all
Stream based modules, such as <ServerDIAMETER>
and <AuthBy RADSEC>
.# Debug logging is enough for peer disconnects DisconnectTraceLevel 4
TLS_Protocols
configuration parameter with the other
TLS related parameters, such as certificates, that depend on your
operating environment.UseTLS
and
UseSSL
are obsolete and should not be used. Use
TLS_Protocols
instead.