<AuthBy DIAMETER>
converts and
forwards all RADIUS authentication and accounting messages to another
(possibly remote) DIAMETER server. The DIAMETER replies are converted back
to RADIUS messages and returned to the requesting client which might be a
remote client or this Radiator instance itself.<AuthBy DIAMETER>
is to advertise values
0
and 1
(Diameter common message and
NASREQ) with Auth-Application-Id. Value 3
(Diameter base
accounting) is advertised with Acct-Application-Id.goodies/diameter-authby.cfg
for an example
configuration file.<AuthBy DIAMETER>
understands also the same parameters as <AuthBy
xxxxxx>
. For more information, see Section 3.32. <AuthBy xxxxxx>.
<AuthBy DIAMETER>
supports TLS. For more
information about TLS parameters, see Section 3.11. TLS configuration.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
testdestinationrealm
. Special formatting characters are
supported. Formatting is done when the configuration is loaded and
<AuthBy DIAMETER> clause is activated.EAP_ApplicationId
defines the Diameter
message's Application-ID value and Auth-Application-Id AVP value for the
converted RADIUS EAP requests. The default is to convert RADIUS EAP
authentication to Diameter EAP application. This parameter allows, for
example, converting RADIUS EAP-AKA to Diameter 3GPP SWm.
EAP_ApplicationId
defaults to value Diameter-EAP. For
more information, see configuration sample
goodies/diameter-authby.cfg
# We can convert EAP-AKA to SWm EAP_ApplicationId 3GPP SWm
Protocol sctp
AuthApplicationIds 0, 1
AcctApplicationIds 3
# Tell the peer we support all the vendors in our # default and DiameterDictionaryFile dictionaries SupportedVendorIds DictVendors
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