This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit)
via a1e0373224e02784f85eb47306a689fce45fb9e3 (commit)
via 207f4a5deba610b34d5e140f512e538e34a7115f (commit)
via 98647ca0ef59430f3cd7ddb7530d85db7fa2688f (commit)
via be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 (commit)
via 33b6dadc884ec1060e401ba097523086ac34b552 (commit)
via 70d8e31a748026a92e5739147411dcf512df7205 (commit)
via 901c40f55041d72220403c653646a2e8f82f1924 (commit)
via af792d6bb272e14585d26c6c488d592b20fcf9c4 (commit)
from 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=416c08f9ed340aae21a1d947bcf3a8ab…
commit 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 9 19:13:00 2014 +0100
nat: Fix copy and paste in the test code
The test didn't test that the access-list has been properly
removed. Fix the test to only remove the list once and verify
that it is gone.
http://cgit.osmocom.org/openbsc/commit/?id=a1e0373224e02784f85eb47306a689fc…
commit a1e0373224e02784f85eb47306a689fce45fb9e3
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 11:28:38 2014 +0100
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per
subscriber. Instead of extending gsm_subscriber accordingly, a single
struct sgsn_subscriber_data object is assigned to it. The talloc
context used to allocated that object is the subscr object itself.
Therefore it will be freed automatically along with the subscr
object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=207f4a5deba610b34d5e140f512e538e…
commit 207f4a5deba610b34d5e140f512e538e34a7115f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:01:48 2014 +0100
sgsn: Add VTY commands to manage subscriber cache
This adds the following commands to the ENABLE node:
- show subscriber cache
- update-subscriber imsi IMSI insert authorized (0|1)
- update-subscriber imsi IMSI cancel
- update-subscriber imsi IMSI commit
These commands are mainly testing tools and maintenance helpers. The
update commands work asynchronously and can be used to complete a
pending update request or to terminate an existing connection. The
'insert' command just update the subscriber records but does not
notify the GMM layer. Invoke the 'commit' command to continue with
pending procedures.
Note that the subscriber cache is not stored persistently and will
always be empty after an SGSN restart.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=98647ca0ef59430f3cd7ddb7530d85db…
commit 98647ca0ef59430f3cd7ddb7530d85db7fa2688f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Nov 11 14:47:38 2014 +0100
sgsn: Add gsm0408_gprs_access_cancelled
This function is called to delete an established MM context
silently without invoking a detach procedure.
It is called when a subscriber is cancelled by the HLR. This
generally happens, when an MS has moved to another routing area and
has to use another SGSN.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=be2c8d9358084092281e7d02dc7ae0b7…
commit be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:18:09 2014 +0100
sgsn: Integrate subscriber handling into the SGSN
This commit adds a new authorization policy 'remote' and uses
the subscriber cache for authorization when this policy is being used.
Note that there is no remote backend implemented yet. After the
IMSI/IMEI have been acquired, a request would be sent to the remote
peer. The attach/auth-ciph procedure continues when authorization
info has been received from the peer. This means, that
gprs_subscr_update() must be called then to tell the GMM layer
that it can proceed. A later commit will add VTY commands to do this
manually.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=33b6dadc884ec1060e401ba097523086…
commit 33b6dadc884ec1060e401ba097523086ac34b552
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Nov 12 10:12:11 2014 +0100
sgsn: Add gprs_subscriber.c
This patch adds GPRS specific functions for gsm_subscriber objects
(allocation, retrieval, deletion) and subscriber data
requests/updates. The sgsn_update_subscriber_data callback is used to
notify the sgsn about updates and is extended by a parameter that
passes a reference to a gsm_subscriber.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=70d8e31a748026a92e5739147411dcf5…
commit 70d8e31a748026a92e5739147411dcf512df7205
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 3 11:08:23 2014 +0100
msc: Add per subscriber keep_in_ram flag
Currently the keep_subscr flag in gsm_subscriber_group refers to a
whole group of subscribers which makes it difficult to really delete
single entries if the flag is set.
This patch adds a keep_in_ram field to gsm_subscriber which allows for
keeping subscriber objects in RAM while deleting others.
Note that really deleting an entry requires that both flags
(subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So
only the latter should be used if a specification requires the
deletion of a subscriber entry.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=901c40f55041d72220403c653646a2e8…
commit 901c40f55041d72220403c653646a2e8f82f1924
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Dec 8 11:53:34 2014 +0100
sgsn: Remove warnings
Remove warnings related to the SGSN specific code.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=af792d6bb272e14585d26c6c488d592b…
commit af792d6bb272e14585d26c6c488d592b20fcf9c4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 2 14:22:53 2014 +0100
msc: Add net parameter to trans_alloc
The trans_alloc function still uses the subscr object to access the
network object.
This patch adds an explicit net parameter to this function and
removes the access to subscr to obtain it.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_gmm.h | 1 +
openbsc/include/openbsc/gprs_sgsn.h | 18 +-
openbsc/include/openbsc/gsm_subscriber.h | 7 +-
openbsc/include/openbsc/sgsn.h | 3 +-
openbsc/include/openbsc/transaction.h | 3 +-
openbsc/src/gprs/Makefile.am | 2 +-
openbsc/src/gprs/gprs_gmm.c | 27 +++
openbsc/src/gprs/gprs_sgsn.c | 30 ++-
openbsc/src/gprs/gprs_subscriber.c | 156 ++++++++++++++++
openbsc/src/gprs/sgsn_auth.c | 34 +++-
openbsc/src/gprs/sgsn_main.c | 3 -
openbsc/src/gprs/sgsn_vty.c | 151 ++++++++++++++-
openbsc/src/libcommon/gsm_subscriber_base.c | 4 +-
openbsc/src/libmsc/gsm_04_08.c | 5 +-
openbsc/src/libmsc/gsm_04_11.c | 6 +-
openbsc/src/libmsc/transaction.c | 4 +-
openbsc/tests/ctrl_test_runner.py | 4 +-
openbsc/tests/sgsn/Makefile.am | 6 +
openbsc/tests/sgsn/sgsn_test.c | 272 +++++++++++++++++++++++++++-
openbsc/tests/sgsn/sgsn_test.ok | 5 +-
openbsc/tests/subscr/subscr_test.c | 19 +-
openbsc/tests/vty_test_runner.py | 19 ++
22 files changed, 745 insertions(+), 34 deletions(-)
create mode 100644 openbsc/src/gprs/gprs_subscriber.c
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)