commit | 79d438a3dda6d23da1f5034f9a2be093cf5025d6 | [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 | 0a6a02e9f7aae2f4c9e09a4f3397876a04189c0d [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