https://osmocom.org/https://osmocom.org/favicon.ico?16647414092017-02-24T13:13:55ZOpen Source Mobile CommunicationsOsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=31202017-02-24T13:13:55Zneelsnhofmeyr@sysmocom.de
<ul></ul><p>Test all of these:</p>
<ul>
<li>No authentication</li>
<li>GSM AKA</li>
<li>UMTS AKA without AUTS sync</li>
<li>UMTS AKA with AUTS sync</li>
<li>UMTS AKA in pre-R99 compatibility mode</li>
</ul>
<p>Having in mind something like the msc_vlr tests where messages are fabricated<br />from the MS and the HLR sides from hex strings to play through the various cases.<br /><a class="external" href="https://git.osmocom.org/openbsc/tree/openbsc/tests/msc_vlr?h=neels/vlr">https://git.osmocom.org/openbsc/tree/openbsc/tests/msc_vlr?h=neels/vlr</a></p> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=31212017-02-24T13:14:12Zneelsnhofmeyr@sysmocom.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-2 priority-default closed" href="/issues/1956">Feature #1956</a>: UMTS AKA support in OsmoSGSN</i> added</li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=41832017-05-30T15:37:58Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>118</i> to <i>4368</i></li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=70282018-01-04T10:56:08Zlaforge
<ul></ul><p>Instead of a unit test, this could also be performed from a to-be-implemented SGSN test in TTCN-3.</p> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=89132018-04-16T16:26:51Zpespin
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-6 priority-1 priority-lowest closed" href="/issues/3177">Bug #3177</a>: gbproxy: gprs_gb_parse_dtap doesn't handle AUTH & CIPHER REQUEST messages</i> added</li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=93922018-05-17T13:55:34Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>4368</i> to <i>lynxis</i></li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=119232018-10-03T00:18:14Zlynxis
<ul><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>No auth</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' disabled> <i>GSM AKA</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>UMTS AKA without AUTS sync</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>UMTS AKA with AUTS sync</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' disabled> <i>UMTS AKA in pre-R99 compatibility mode</i> added</li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=119242018-10-03T00:21:18Zlynxis
<ul></ul><p><a class="user active" href="https://osmocom.org/users/91">neels</a> with GSM AKA you mean the old SRES based auth?<br /><a class="user active" href="https://osmocom.org/users/91">neels</a> what's UMTS aka in pre-R99 compatibility?</p> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=119952018-10-04T11:35:39Zneelsnhofmeyr@sysmocom.de
<ul><li><strong>File</strong> <a href="/attachments/3386">3GPP_33.102_Key_Agreement.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3386/3GPP_33.102_Key_Agreement.png">3GPP_33.102_Key_Agreement.png</a> added</li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=119962018-10-04T11:49:23Zneelsnhofmeyr@sysmocom.de
<ul></ul><p><img src="https://osmocom.org/attachments/download/3386/3GPP_33.102_Key_Agreement.png" alt="" /></p>
<p>I meant the second from the right, where everything is R99, i.e. UMTS capable, except for the MS.<br />So both HLR, SGSN and USIM can do UMTS, but the phone ignores / will not send AUTN and XRES.</p>
<p>Another valid variant of this that we see in the field is that the MS <strong>is</strong> R99, but it actually decides to not do UMTS aka.<br />So we send out AUTN to it, but it chooses to respond only with an SRES.</p>
<p>See vlr_auth_fsm.c in osmo-msc: auth_fsm_wait_auth_resp() and check_auth_resp().</p>
<p>For tests, see:</p>
<ul>
<li>msc_vlr_test_gsm_authen.c, test_gsm_milenage_authen() for pre-R99 with Milenage (UMTS in GSM compat mode)<br /> A log transcript of what happens is in osmo-msc/tests/msc_vlr/msc_vlr_test_gsm_authen.err</li>
</ul>
<ul>
<li>msc_vlr_test_umts_authen.c, test_umts_authen_only_sres_geran(), for an R99 MS responding with GSM AKA.<br /> osmo-msc/tests/msc_vlr/msc_vlr_test_umts_authen.err</li>
</ul>
<p>(shouldn't this issue be "in progress"?)</p> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=120052018-10-04T14:29:05Zlynxis
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Stalled</i></li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=138842019-04-11T13:50:43Zlynxis
<ul><li><strong>Status</strong> changed from <i>Stalled</i> to <i>In Progress</i></li></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=139322019-04-15T07:34:52Zlaforge
<ul></ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=140372019-04-18T11:03:43Zlynxis
<ul><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>GSM AKA</i> set to Done</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>UMTS AKA in pre-R99 compatibility mode</i> set to Done</li></ul><ul>
<li><b>UMTS AKA in pre-R99 compatibility mode added</b> is already checked since 0ecb2e351649 ("sgsn: test umts aka with gsm sres response")<br />[Wed May 2 09:14:36 2018]<br /> test case: SGSN.TC_attach_umts_aka_gsm_sres</li>
<li><b>GSM AKA</b> is checked by:<br /> test case: SGSN.TC_attach</li>
</ul> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=140392019-04-18T11:05:18Zlynxis
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>The only missing point here is the UTRAN UMTS AKA auth check, but as long we don't have a RANAP TTCN3 implementation we can not do that.</p> OsmoSGSN - Feature #1959: SGSN: write regression tests for Authenticationhttps://osmocom.org/issues/1959?journal_id=140442019-04-18T14:20:19Zlynxis
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>