On Sun, Feb 25, 2018 at 12:50:54AM -0300, Rafael Diniz wrote:
osmo-sgsn gives me:
MM(250026920931392/e550701e) Updating authorization (unknown ->
authenticate)
20180225034309988 DMM <0002> sgsn_auth.c:236
MM(250026920931392/e550701e) Missing auth tuples, authorization not possible
20180225034309988 DMM <0002> sgsn_auth.c:248
MM(250026920931392/e550701e) Got authorization update: state unknown ->
rejected
20180225034309988 DMM <0002> gprs_gmm.c:1140
MM(250026920931392/e550701e) Not authorized, rejecting ATTACH REQUEST
with cause 'IMSI unknown in HLR' (2)
Hi Rafael,
as Vadim pointed out, you won't be able to do Authentication without the actual
auth tuples, which you most likely do not know for an arbitrary SIM.
In 2G however, it is possible to connect without Authentication. I think
that's done by 'auth-policy closed' and using 'ismi-acl add
<your-imsi>', in
the osmo-sgsn.cfg under 'sgsn'. Then you're not using the HLR at all.
In the MSC, we have added a configuration option 'authentication optional' so
that you can use the HLR and allow missing auth data there, but the SGSN hasn't
seen attention to that detail yet. There it's all or nothing, IIRC.
Looking forward to hear your results on it...
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte