<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/9817">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">hlr: clarify that aud_3g also applies to 2G<br><br>(and tweak wording)<br><br>Related: OS#3091<br>Change-Id: I2ae03625ccc1364f953db0611e9a29d935dab803<br>---<br>M OsmoHLR/chapters/subscribers.adoc<br>1 file changed, 17 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/OsmoHLR/chapters/subscribers.adoc b/OsmoHLR/chapters/subscribers.adoc</span><br><span>index b2024d2..bb57d24 100644</span><br><span>--- a/OsmoHLR/chapters/subscribers.adoc</span><br><span>+++ b/OsmoHLR/chapters/subscribers.adoc</span><br><span>@@ -3,15 +3,16 @@</span><br><span> Subscribers are kept in a local SQLite database file and can be managed via VTY</span><br><span> and CTRL interfaces.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-See this section for some examples, and also refer to the OsmoHLR VTY reference</span><br><span style="color: hsl(120, 100%, 40%);">+This section provides some examples; also refer to the OsmoHLR VTY reference</span><br><span> manual <<vty-ref-osmohlr>> as well as the Control interface described in</span><br><span> <<hlr-ctrl>>.</span><br><span> </span><br><span> === Example: Add/Update/Delete Subscriber via VTY</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-The following telnet VTY session adds a subscriber complete with 2G and 3G</span><br><span style="color: hsl(0, 100%, 40%);">-authentication tokens, and finally removes the subscriber again; it assumes</span><br><span style="color: hsl(0, 100%, 40%);">-that osmo-hlr is running and listening for telnet VTY connections on localhost:</span><br><span style="color: hsl(120, 100%, 40%);">+The following telnet VTY session adds a subscriber complete with GSM (2G) and</span><br><span style="color: hsl(120, 100%, 40%);">+UMTS (3G and 2G) authentication tokens, and finally removes the subscriber</span><br><span style="color: hsl(120, 100%, 40%);">+again; it assumes that osmo-hlr is running and listening for telnet VTY</span><br><span style="color: hsl(120, 100%, 40%);">+connections on localhost:</span><br><span> </span><br><span> ----</span><br><span> $ telnet localhost 4258</span><br><span>@@ -23,7 +24,16 @@</span><br><span> </span><br><span> The following parameters are managed for each subscriber of the HLR, modelled</span><br><span> roughly after 3GPP TS 23.008, version 13.3.0; note that not all of these</span><br><span style="color: hsl(0, 100%, 40%);">-parameters are necessarily in active use:</span><br><span style="color: hsl(120, 100%, 40%);">+parameters are necessarily in active use.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+The `aud3g` table also applies to 2G networks: it provides UMTS AKA tokens for</span><br><span style="color: hsl(120, 100%, 40%);">+Milenage authentication, which is available both on 3G and 2G networks. On 2G,</span><br><span style="color: hsl(120, 100%, 40%);">+when both MS and network are R99 capable (like OsmoMSC and OsmoSGSN are), the</span><br><span style="color: hsl(120, 100%, 40%);">+full UMTS AKA with Milenage keys from `aud_3g`, using AUTN and extended RES</span><br><span style="color: hsl(120, 100%, 40%);">+tokens, is available. With pre-R99 MS or network configurations, the GSM AKA</span><br><span style="color: hsl(120, 100%, 40%);">+compatible variant of Milenage, still using the Milenage keys from `aud_3g` but</span><br><span style="color: hsl(120, 100%, 40%);">+transceiving only RAND and SRES, may be applicable. (See 3GPP TS 33.102, chapter</span><br><span style="color: hsl(120, 100%, 40%);">+6.8.1, Authentication and key agreement of UMTS subscribers.)</span><br><span> </span><br><span> .OsmoHLR's subscriber parameters</span><br><span> [options="header",width="100%",cols="20%,20%,60%"]</span><br><span>@@ -32,9 +42,9 @@</span><br><span> |imsi|901700000014701|identity of the SIM/USIM, 3GPP TS 23.008 chapter 2.1.1.1</span><br><span> |msisdn|2342123|number to dial to reach this subscriber (multiple MSISDNs can be stored per subscriber), 3GPP TS 23.008 chapter 2.1.2</span><br><span> |imeisv|4234234234234275|identity of the mobile device and software version, 3GPP TS 23.008 chapter 2.2.3</span><br><span style="color: hsl(0, 100%, 40%);">-|aud2g.algo|comp128v3|Authentication algorithm ID for 2G, corresponds to enum osmo_auth_algo</span><br><span style="color: hsl(120, 100%, 40%);">+|aud2g.algo|comp128v3|Authentication algorithm ID for GSM AKA, corresponds to enum osmo_auth_algo</span><br><span> |aud2g.ki||Subscriber's secret key (128bit)</span><br><span style="color: hsl(0, 100%, 40%);">-|aud3g.algo|milenage|Authentication algorithm ID for 3G and UMTS AKA, corresponds to enum osmo_auth_algo</span><br><span style="color: hsl(120, 100%, 40%);">+|aud3g.algo|milenage|Authentication algorithm ID for UMTS AKA (applies to both 3G and 2G networks), corresponds to enum osmo_auth_algo</span><br><span> |aud3g.k|(32 hexadecimal digits)|Subscriber's secret key (128bit)</span><br><span> |aud3g.op|(32 hexadecimal digits)|Operator's secret key (128bit)</span><br><span> |aud3g.opc|(32 hexadecimal digits)|Secret key derived from OP and K (128bit), alternative to using OP which does not disclose OP to subscribers</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9817">change 9817</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9817"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-manuals </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I2ae03625ccc1364f953db0611e9a29d935dab803 </div>
<div style="display:none"> Gerrit-Change-Number: 9817 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>