<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US">Thank you very much for your response,
<o:p></o:p></span></p>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">This make me believe in this project, I have just found that there are released Nightly Builds for Osmocom GSM related software.<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">I will reinstall my server with one of this builds and try everything again,<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">Basically I was following procedure from Site, on my Debian server but was stucked with dependencies which I were not able to compile, Libosmo-sccp,
 Libosmo-netif, libosmo-abis<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal"><a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_Source"><b>https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_Source</b></a><o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">I will come back with questions after I tried again.<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">BR<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal">Goran<o:p></o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal"><o:p> </o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal"><o:p> </o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal"><o:p> </o:p></span></h1>
<h1 style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US;font-weight:normal"><o:p> </o:p></span></h1>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Tomcsányi, Domonkos [mailto:domi@tomcsanyi.net]
<br>
<b>Sent:</b> Thursday, September 28, 2017 1:07 PM<br>
<b>To:</b> Popovic Goran <Goran.Popovic@kapsch.net><br>
<b>Cc:</b> openbsc@lists.osmocom.org<br>
<b>Subject:</b> Re: OpenBSC Digest, Vol 35, Issue 30<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Goran,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Without any exact details, like error messages and commands that you tried we cannot give you much help sadly.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please provide all details possible in text format, and I’m sure someone will help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Domi<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
2017. szept. 28. dátummal, 11:18 időpontban Popovic Goran <<a href="mailto:Goran.Popovic@kapsch.net">Goran.Popovic@kapsch.net</a>> írta:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">HI,<br>
My name is Goran, I have femto cell would like test osmo iuh. Installed libosmocore on debian server, but got lot of problems with osmo IuH compiling. Curenlty I am stucked with osmo-sccp library.<br>
Also tried Vagrant IuH image, but there is issue with permisions,<br>
Is there a way to get some help for solving this issues,<br>
Thanks<br>
Goran<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: OpenBSC [<a href="mailto:openbsc-bounces@lists.osmocom.org">mailto:openbsc-bounces@lists.osmocom.org</a>] On Behalf Of
<a href="mailto:openbsc-request@lists.osmocom.org">openbsc-request@lists.osmocom.org</a><br>
Sent: Thursday, September 28, 2017 4:36 AM<br>
To: <a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a><br>
Subject: OpenBSC Digest, Vol 35, Issue 30<br>
<br>
Send OpenBSC mailing list submissions to<br>
   <a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
   <a href="https://lists.osmocom.org/mailman/listinfo/openbsc">https://lists.osmocom.org/mailman/listinfo/openbsc</a><br>
or, via email, send a message with subject or body 'help' to<br>
   <a href="mailto:openbsc-request@lists.osmocom.org">openbsc-request@lists.osmocom.org</a><br>
<br>
You can reach the person managing the list at<br>
   <a href="mailto:openbsc-owner@lists.osmocom.org">openbsc-owner@lists.osmocom.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific than "Re: Contents of OpenBSC digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
  1. Re: branches in openbsc.git (Harald Welte)<br>
  2. Re: randomness of identifiers (Harald Welte)<br>
  3. Re: Retrieve OP from OPc and Ki (Harald Welte)<br>
  4. Re: ctrl interface: GET a variable with parameter (Harald Welte)<br>
  5. Re: Retrieve OP from OPc and Ki (Kathryn Heckman)<br>
  6. Re: Retrieve OP from OPc and Ki (Mychaela Falconia)<br>
  7. Re: Retrieve OP from OPc and Ki (Tomcs?nyi)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 28 Sep 2017 07:05:09 +0800<br>
From: Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><br>
To: Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de">nhofmeyr@sysmocom.de</a>><br>
Cc: <a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a><br>
Subject: Re: branches in openbsc.git<br>
Message-ID: <<a href="mailto:20170927230509.pw4xug7jntrfvts2@nataraja">20170927230509.pw4xug7jntrfvts2@nataraja</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Thu, Sep 28, 2017 at 12:22:31AM +0200, Neels Hofmeyr wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">another call for anyone aware of important branches on openbsc.git to
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">please name them, so that they can be migrated to the new repositories.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">But foremost, please name them, thanks!<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">From "my" branches, I can see the following:<o:p></o:p></p>
</blockquote>
<p class="MsoNormal">* laforge/bssgp_fc -> osmo-sgsn<br>
* laforge/gprs-suspend -> osmo-bsc<br>
* laforge/power_control -> osmo-bsc<br>
<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                 (ETSI EN 300 175-7 Ch. A6)<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 28 Sep 2017 07:15:01 +0800<br>
From: Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><br>
To: Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de">nhofmeyr@sysmocom.de</a>><br>
Cc: <a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a><br>
Subject: Re: randomness of identifiers<br>
Message-ID: <<a href="mailto:20170927231501.zyqrali3onodi4iw@nataraja">20170927231501.zyqrali3onodi4iw@nataraja</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Neels,<br>
<br>
On Wed, Sep 27, 2017 at 06:06:48PM +0200, Neels Hofmeyr wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">On Wed, Sep 27, 2017 at 07:57:43PM +0800, Harald Welte wrote:<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">For TMSI allocation, my "cryptographic gut feeling"[tm] is that
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">something like rand() or any other pseudo-random generator of
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">significantly large period is sufficient *if* it is seeded by a
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">non-predictable value.  So something like seeding with getrandom() result should be fine?<o:p></o:p></p>
</blockquote>
</blockquote>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Might also make sense to periodically re-seed from /dev/urandom /
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">getrandom(), like every 100 TMSIs, or based on a timeout might be
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">easier to implement.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
I would try to avoid any predictability here.  Having a fixed time interval would be known to an attackers.  So if he was somehow able to reduce/exhaust the entropy at the known time for re-seeding, it would be bad.<br>
<br>
Similar for "every 100 TMSIs", which is something under control of any attacker as he can control the number of location updates via the public radio interface [to some extent] and thus control the time at whcih re-seeding is done.<br>
<br>
Maybe I'm going overboard here, but I think if you want to re-seed, you want to ideally do it at a non-predictable and non-controllable point in time.  Like a random time interval ;)<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">For long-term stable key (Ki/Op) generation for provisioning SIM
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">cards + populating a HLR, I would certainly opt for using stronger
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">randomness sources.  However, I don't think we actually implement
<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">that anywhere, do we?<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">what does openssh use for public/private keypair generation?<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
I'm not sure you can compare the requirements for generation of RSA public/private keys with those for generation of symmetric keys. You can find different recommendations in the literature.  But I guess that's mainly due to the fact that people usually assume
 you have long-term stable public/private keys and short-lived symmetric session keys.  In our case, it's long-lived symmetric keys.<br>
<br>
But as indicated, I think our focus is to find a proper solution for generation of TMSIs and for random numbers used in authentication challenges.  K/OPc pair generation is not supported in current Osmocom tools anyway, as we presume the SIM cards already have
 sufficiently random key material and those keys are entered into the HLR.<br>
<br>
Regards,<br>
   Harald<br>
<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                 (ETSI EN 300 175-7 Ch. A6)<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 28 Sep 2017 06:52:28 +0800<br>
From: Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><br>
To: Kathryn Heckman <<a href="mailto:exuberant.kathryn.heckman@gmail.com">exuberant.kathryn.heckman@gmail.com</a>><br>
Cc: "<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>" <<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>><br>
Subject: Re: Retrieve OP from OPc and Ki<br>
Message-ID: <<a href="mailto:20170927225228.u4udbuhk2fyebrl5@nataraja">20170927225228.u4udbuhk2fyebrl5@nataraja</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Kathryn,<br>
<br>
On Wed, Sep 27, 2017 at 05:37:36PM -0400, Kathryn Heckman wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Is there any way to retrieve the value of OP from OPc and Ki?<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
No, that defeats the entire purpose of having card-individual OPc values.<br>
<br>
If you could just revert that operation, there would be no [security] advantage of card-individual OPc values over a global OP value, and hence that entire option could be dropped from the specifications altogether.<br>
<br>
Regards,<br>
   Harald<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                 (ETSI EN 300 175-7 Ch. A6)<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 28 Sep 2017 06:50:03 +0800<br>
From: Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><br>
To: Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de">nhofmeyr@sysmocom.de</a>><br>
Cc: Holger Freyther <<a href="mailto:holger@freyther.de">holger@freyther.de</a>>,
<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a><br>
Subject: Re: ctrl interface: GET a variable with parameter<br>
Message-ID: <<a href="mailto:20170927225003.ix4qgulake4gugyu@nataraja">20170927225003.ix4qgulake4gugyu@nataraja</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Neels,<br>
<br>
On Wed, Sep 27, 2017 at 05:27:38PM +0200, Neels Hofmeyr wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Also we do have a concept of nesting CTRL nodes separated by dots in
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">the variable name, looking at bsc_ctrl_node_lookup() and fsm_ctrl_node_lookup().<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
correct.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I notice though that we do still have open doors for a lot of nonsense
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">being sent to it without proper validation or error messages.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET 42 existing-variable.trailing.names.ignored more nonsense
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">following being ignored<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">in effect is identical to:<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET 42 existing-variable<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">So we should probably enforce that there is no ignored nonsense...<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
I agree.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Should we also enforce a numeric command ID?<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
I'm not following here. Where would that numeric command ID comning from?<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET currently-any-id-is-possible-even-\t-\n-is-accepted my-command<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
this is also not intended, I'm quite sure.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Going back to the OsmoHLR CTRL commands -- they are implemented in a
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">way that doesn't match the CTRL interface ways. Let's collapse them.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET enable-ps <IMSI><o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET disable-ps <IMSI><o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET status-ps <IMSI><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
indeed, this is not proper.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET subscriber.by-imsi.123456789098765.ps-enabled 1<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET subscriber.by-imsi.123456789098765.ps-enabled 0<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET subscriber.by-imsi.123456789098765.ps-enabled<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
makes a lot of sense to me.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">We can also expand this later to things like<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET subscriber.by-imsi.123456789098765.status<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET subscriber.by-imsi.123456789098765.msisdn 2345<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET subscriber.by-msisdn.2342.status<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> SET subscriber.by-msisdn.2342.ps-enabled 0<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> GET subscriber.by-imei.987654321234565.imsi<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
looks good!<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">We could leave the enable-ps, disable-ps, status-ps commands in place
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">in case anyone is using it yet. I assume no-one is though.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
I don't think we need to keep compatibility at this point.<br>
<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                 (ETSI EN 300 175-7 Ch. A6)<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 833 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.osmocom.org/pipermail/openbsc/attachments/20170928/d568b5f9/attachment-0001.bin">http://lists.osmocom.org/pipermail/openbsc/attachments/20170928/d568b5f9/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 27 Sep 2017 21:46:27 -0400<br>
From: Kathryn Heckman <<a href="mailto:exuberant.kathryn.heckman@gmail.com">exuberant.kathryn.heckman@gmail.com</a>><br>
To: Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><br>
Cc: "<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>" <<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>><br>
Subject: Re: Retrieve OP from OPc and Ki<br>
Message-ID:<br>
   <<a href="mailto:CAHmN-qT=5x=5XZnwhjYBSByw2ZJpWtCRMiWHu3iWxDysBQT6cA@mail.gmail.com">CAHmN-qT=5x=5XZnwhjYBSByw2ZJpWtCRMiWHu3iWxDysBQT6cA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I really appreciate your quick replies.<br>
<br>
I have a USIM that I wanted to program. However, I am getting the runtime error for exceeding the number of attempts to enter the ADM1 key. Is there any fix for it?<br>
<br>
--<br>
Kathryn<br>
<br>
On Wed, Sep 27, 2017 at 6:52 PM, Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>> wrote:<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi Kathryn,<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">On Wed, Sep 27, 2017 at 05:37:36PM -0400, Kathryn Heckman wrote:<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Is there any way to retrieve the value of OP from OPc and Ki?<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">No, that defeats the entire purpose of having card-individual OPc
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">values.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">If you could just revert that operation, there would be no [security]
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">advantage of card-individual OPc values over a global OP value, and
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">hence that entire option could be dropped from the specifications
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">altogether.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Regards,<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">       Harald<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">--<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>><o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><a href="http://laforge.gnumonks.org/">http://laforge.gnumonks.org/</a><o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">============================================================<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">================<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">"Privacy in residential applications is a desirable marketing option."<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">                                                 (ETSI EN 300 175-7 Ch.<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">A6)<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<p class="MsoNormal">-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osmocom.org/pipermail/openbsc/attachments/20170927/620a2963/attachment-0001.html">http://lists.osmocom.org/pipermail/openbsc/attachments/20170927/620a2963/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 27 Sep 2017 18:04:35 -0800<br>
From: Mychaela Falconia <<a href="mailto:mychaela.falconia@gmail.com">mychaela.falconia@gmail.com</a>><br>
To: Kathryn Heckman <<a href="mailto:exuberant.kathryn.heckman@gmail.com">exuberant.kathryn.heckman@gmail.com</a>><br>
Cc: openbsc <<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>><br>
Subject: Re: Retrieve OP from OPc and Ki<br>
Message-ID:<br>
   <<a href="mailto:CA+uuBqbtTfsrADC-ENCfGt2RY=XYUYN0d466=ZR3Mrn_up-L8A@mail.gmail.com">CA+uuBqbtTfsrADC-ENCfGt2RY=XYUYN0d466=ZR3Mrn_up-L8A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On 9/27/17, Kathryn Heckman <<a href="mailto:exuberant.kathryn.heckman@gmail.com">exuberant.kathryn.heckman@gmail.com</a>> wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I have a USIM that I wanted to program. However, I am getting the
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">runtime error for exceeding the number of attempts to enter the ADM1
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">key. Is there any fix for it?<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
Someone please correct me if I am wrong, but I would assume that having exceeded the number of attempts to enter the ADM1 key means that the USIM is bricked beyond recovery.<br>
<br>
But the sysmoUSIM cards sold at <a href="http://shop.sysmocom.de">shop.sysmocom.de</a> are fairly inexpensive for a pack of 10, so a bricked (U)SIM shouldn't be too big of a tragedy - or is there another dimension to this problem which I am missing?<br>
<br>
If you are anywhere near local to me (California, USA) I could give you one of my sysmoUSIM cards, but I am guessing it probably won't help you as I bought the cheaper version without the ADM1 keys - for my application (production testing of my GSM MS hardware)
 it doesn't matter what the programming of the (U)SIM happens to be.<br>
<br>
M~<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 28 Sep 2017 04:35:24 +0200 (CEST)<br>
From: Tomcs?nyi, Domonkos <<a href="mailto:domi@tomcsanyi.net">domi@tomcsanyi.net</a>><br>
To: Mychaela Falconia <<a href="mailto:mychaela.falconia@gmail.com">mychaela.falconia@gmail.com</a>><br>
Cc: Kathryn Heckman <<a href="mailto:exuberant.kathryn.heckman@gmail.com">exuberant.kathryn.heckman@gmail.com</a>>, openbsc<br>
   <<a href="mailto:openbsc@lists.osmocom.org">openbsc@lists.osmocom.org</a>><br>
Subject: Re: Retrieve OP from OPc and Ki<br>
Message-ID: <<a href="mailto:1A1DD58D-617B-4FBE-B363-21A25EBCFA83@tomcsanyi.net">1A1DD58D-617B-4FBE-B363-21A25EBCFA83@tomcsanyi.net</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Kathryn and Mychaela,<br>
<br>
2017. szept. 28. d?tummal, 4:04 id?pontban Mychaela Falconia <<a href="mailto:mychaela.falconia@gmail.com">mychaela.falconia@gmail.com</a>> ?rta:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Someone please correct me if I am wrong, but I would assume that
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">having exceeded the number of attempts to enter the ADM1 key means
<o:p></o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">that the USIM is bricked beyond recovery.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
This is my understanding as well.<br>
<br>
Cheers,<br>
<br>
Domi<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osmocom.org/pipermail/openbsc/attachments/20170928/c99fe291/attachment.html">http://lists.osmocom.org/pipermail/openbsc/attachments/20170928/c99fe291/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
OpenBSC mailing list<br>
<a href="mailto:OpenBSC@lists.osmocom.org">OpenBSC@lists.osmocom.org</a><br>
<a href="https://lists.osmocom.org/mailman/listinfo/openbsc">https://lists.osmocom.org/mailman/listinfo/openbsc</a><br>
<br>
<br>
------------------------------<br>
<br>
End of OpenBSC Digest, Vol 35, Issue 30<br>
***************************************<br>
<br>
<br>
<br>
The information contained in this e-mail message is privileged and confidential and is for the exclusive use of the addressee. The person who receives this message and who is not the addressee, one of his employees or an agent entitled to hand it over to the
 addressee, is informed that he may not use, disclose or reproduce the contents thereof, and is kindly asked to notify the sender and delete the e-mail immediately.<o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
<span style="font-size: 9px;"><br><br><br>The information contained in this e-mail message is privileged and confidential and is for the exclusive use of the addressee. The person who receives this message and who is not the addressee, one of his employees or an agent entitled to hand it over to the addressee, is informed that he may not use, disclose or reproduce the contents thereof, and is kindly asked to notify the sender and delete the e-mail <span style="font-size: 11px;"></span>immediately.<br><br></span></body>
</html>