commit | 0c06f98ced2b70801147eb52d6596079e473dfc9 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Wed Oct 29 22:12:20 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Nov 14 09:27:23 2014 +0100 |
tree | 11808bb72a07e2413c07a5ec381794400019fa5d | |
parent | b1c074f62c1d04138b751f71e3b07fbb0a521898 [diff] |
sgsn: Move IMSI authorization to gsm48_gmm_authorize Currently the IMSI is only checked immediately when an Attach Request is received that contains an IMSI IE. If it contains a P-TMSI instead, access is always granted. This commit moves the IMSI check to gsm48_gmm_authorize where it is applied when IMSI and IMEI have been acquired. This fixes the authorization when the Attach Accept doesn't contain an IMSI. Sponsored-by: On-Waves ehf