This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Ciaby ciaby at autistici.orgOn 07/14/2015 01:32 PM, Holger Hans Peter Freyther wrote:
> From: Holger Hans Peter Freyther <holger at moiji-mobile.com>
>
> In case foreign simcards are used we can not do authentication
> and ciphering. In case a TMSI is re-used too early and we do
> page using TMSI we can't know which of the two MS is responding
> to us. We could change the "secure channel" routine to ask for
> the IMSI and only then stop the paging.
>
> As we don't have ciphering there is not much use in using the
> TMSI. Add a mode "no assign-tmsi" that will not assign the TMSI
> during LU. Now CM Service Request and Paging Response will
> work using the IMSI. There can't be a clash with that.
[...]
> static int config_write_nitb(struct vty *vty)
> {
> struct gsm_network *gsmnet = gsmnet_from_vty(vty);
> vty_out(vty, "nitb%s", VTY_NEWLINE);
> vty_out(vty, " %ssubscriber-create-on-demand%s",
> gsmnet->create_subscriber ? "" : "no ", VTY_NEWLINE);
> + vty_out(vty, " %suse-tmsi%s",
> + gsmnet->avoid_tmsi ? "no" : "", VTY_NEWLINE);
> return CMD_SUCCESS;
> }
This part is broken. Whenever you try to set it it will put "use-tmsi"
instead of "assign-tmsi". The moment you save it and restart, it barfs
on the "use-tmsi" line. If you put a no in front, it will be saved as
"nouse-tmsi". I fixed both problems with the attached patch.
Cheers
Ciaby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nitb-Rename-use-tmsi-into-assign-tmsi-add-a-missing-.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20150728/fed88d5b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20150728/fed88d5b/attachment-0001.bin>