osmo-msc/openbsc/src
Jacob Erlbeck 423f8bfa02 sgsn: Make authorization asynchronous
Currently the authorization of an IMSI is done by checking ACLs
synchronously which is not feasible when the subscriber data has to
be retrieved from an external source.

This patch changes this by using a callback when the information is
available. This is also done when only ACL are checked, in this case
the callback is invoked from within sgsn_auth_request(). The callback
function sgsn_update_subscriber_data calls sgsn_auth_update which
in turn calls either gsm0408_gprs_access_granted or
gsm0408_gprs_access_denied. gsm48_gmm_authorize is extended by a call
to sgsn_auth_request when IMSI and IMEI are available but the
auth_state is unknown.

The change has been successfully tested with single phones (E71 and
IPhone 5c).

Sponsored-by: On-Waves ehf
2014-11-14 09:58:28 +01:00
..
gprs sgsn: Make authorization asynchronous 2014-11-14 09:58:28 +01:00
ipaccess adopt recent IPA related symbol rename 2014-08-20 23:47:56 +02:00
libbsc bsc: Move gsm_subscriber_base.c to libcommon 2014-11-11 22:52:21 +01:00
libcommon bsc: Move gsm_subscriber_base.c to libcommon 2014-11-11 22:52:21 +01:00
libgb Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
libmgcp mgcp: Count the incoming data instead of the modified one 2014-10-09 17:22:33 +02:00
libmsc nitb/ctrl: Fix access to freed memory in verify_subscriber_modify 2014-10-28 15:17:02 +01:00
libtrau trau: Cast to remove compiler warning 2014-07-24 21:09:31 +02:00
osmo-bsc bsc: Allow to disable sending ping/pong to the MSC 2014-10-29 10:11:21 +01:00
osmo-bsc_mgcp Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
osmo-bsc_nat bsc: Move gsm_subscriber_base.c to libcommon 2014-11-11 22:52:21 +01:00
osmo-nitb nitb: Don't mention the broken PCAP generation option 2014-09-16 18:13:44 +02:00
utils bsc: Move gsm_subscriber_base.c to libcommon 2014-11-11 22:52:21 +01:00
Makefile.am move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00