<SessionDatabase REDIS> provides support for
using GossipRedis as session database backend. For more information about
GossipRedis, see Section 3.134. <GossipRedis>.
<SessionDatabase REDIS> supports
SessionDatabase methods to query all sessions and specific sessions for a
user. These provide support for RFC 5176 dynamic authorisation support for
sending Disconnect-Request and CoA-Request messages. See SessionDatabase
REDIS sample file goodies/sess-redis.cfg.<SessionDatabase REDIS> has currently
experimental features and will be fully documented later.<SessionDatabase REDIS> understands also the
same parameters as <SessionDatabase xxxxxx>.
For more information, see Section 3.17. <SessionDatabase xxxxxx>.# This vendor sends id of subsequent accounting session during authentication SessionIdentifier Vendor-Session-Id
SessionKey:
SessionKey Radiator:SessREDIS:Session:%1:%2:%3:%0
SessionEndedKey:
SessionEndedKey Radiator:SessREDIS:EndedSession:%0
SessionUpdateKey:
SessionUpdateKey Radiator:SessREDIS:SessionUpdates:%0
NasKey:NasKey Radiator:SessREDIS:NAS:%0
UserKey:
UserKey Radiator:SessREDIS:User:%0
AddSessionParamDef redishashattributename, radiusattributename[, defaultvalue[, type[, formatted]]]There is no default.
formatted flag
is set.
type are:
AddSessionParamDef:AddSessionParamDef username,%0,'unknown-user',request,formatted
AddSessionParamDef nas_id,%1,'unknown-nas',request,formatted
AddSessionParamDef nas_port,%2,'0',request,formatted
AddSessionParamDef session_id,%3,'unknown-session',request,formatted
AddSessionParamDef framed_ip,%{Framed-IP-Address},'unknown-address',request,formatted
UpdateSessionParamDef redishashattributename, radiusattributename[, defaultvalue[, formatted[, operator[, attribtype]]]]There is no default.
formatted flag
is set.
operator are:
attribtype are:
operator and
attribtype can be used for example with a hotspot
service, see goodies/README.hotspot and
goodies/hotspot.cfg for a configuration sample. Both
operator and attribtype are
currently experimental.
UpdateSessionParamDef:UpdateSessionParamDef username,%0,'unknown-user',formatted
UpdateSessionParamDef nas_id,%1,'unknown-nas',formatted
UpdateSessionParamDef nas_port,%2,'0',formatted
UpdateSessionParamDef session_id,%3,'unknown-session',formatted
UpdateSessionParamDef framed_ip,%{Framed-IP-Address},'unknown-address',formatted
DeleteSessionParamDef redishashattributename, radiusattributename[, defaultvalue[, formatted[, operator[, attribtype]]]]There is no default.
formatted flag
is set.
operator are:
attribtype are:
operator and
attribtype can be used for example with a hotspot
service, see goodies/README.hotspot and
goodies/hotspot.cfg for a configuration sample. Both
operator and attribtype are
currently experimental.
DeleteSessionParamDef:DeleteSessionParamDef username,%0,'unknown-user',formatted
DeleteSessionParamDef nas_id,%1,'unknown-nas',formatted
DeleteSessionParamDef nas_port,%2,'0',formatted
DeleteSessionParamDef session_id,%3,'unknown-session',formatted
DeleteSessionParamDef framed_ip,%{Framed-IP-Address},'unknown-address',formatted
ContextTimeout is
2.
ContextTimeout:
ContextTimeout 2