Thanks Neels, that was informative <br><br>On Tuesday, 22 May 2018, Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de">nhofmeyr@sysmocom.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, May 20, 2018 at 05:14:41AM -0400, loay abdelrazek wrote:<br>
> Hi Harald<br>
> <br>
> Yes yes I totally understand , so what could be the cases for sending the<br>
> IMSI and what would be the possible remediation for such thing<br>
<br>
It sounds like you actually don't "totally" understand and are asking for a 101<br>
on IMSI and TMSI?<br>
<br>
The subscriber is identified to the network by its IMSI, which stays constant.<br>
<br>
A new TMSI is given on every Location Update, meaning it changes all the time,<br>
which is good for privacy. The network does its best to remember the last TMSI<br>
the phone has been given.<br>
<br>
But before the network can know who that subscriber is, things have to start<br>
out with the IMSI. That's normally when the phone asks for a Location Update<br>
for the first time. Usually the new TMSI is sent to the phone ciphered, so that<br>
the IMSI <-> TMSI mapping is essentially secret.<br>
<br>
A TMSI is short-lived and an MSC may decide not to store IMSI<->TMSI mappings<br>
forever, for various/unknown reasons. So as soon as there is no TMSI left in<br>
the MSC's subscriber state, the only way to page is by IMSI.<br>
<br>
Also, the phone may have forgotten its TMSI, e.g. after roaming to a different<br>
network.<br>
<br>
But: AFAICT, under "proper" operations, a subscriber should have a TMSI after a<br>
Location Update, and either detach when it leaves or be implicitly detached by<br>
timeout. So as long as it is Page-able by the MSC, it should have a TMSI as<br>
well. In other words, the MSC should either have a TMSI to page for, or the<br>
subscriber's state should be "not attached", i.e. can't page anyway. Bottom<br>
line, whenever paging goes out by IMSI, the MSC has actively decided to not<br>
bother about privacy (by implementation, config or by licensing details).<br>
<br>
IIRC, the only way to get an IMSI paging out of osmo-msc is to globally switch<br>
off TMSI allocation.<br>
<br>
~N<br>
</blockquote>