openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-747-g320360e

gitosis at gitosis at
Tue Nov 4 12:57:21 UTC 2014

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, jerlbeck/wip/gprs-patching has been updated
  discards  d4e5342b0f3b28caaf10bc51e916904572074e25 (commit)
  discards  c6abb6e5708fb85bdcba0e02b06f4d4bdc246fbe (commit)
  discards  279b012bd62518c45a4fa300a94cd9bfe5219665 (commit)
       via  320360e2a5f79585c86b5b4260c8266b3ee18d31 (commit)
       via  bfe6df93178cc46c317edb4aa53cd5643a30896b (commit)
       via  2d193dc608e8cd15482ca477f04fa24762136707 (commit)
       via  a1f9bd765cda631ddcd7c0f6700b6ad013f5c31a (commit)
       via  3edce24bbad14d2c205678df1373e23d639eaf65 (commit)
       via  d63d2bbe52d4cd789559cd18fa4d01548b8a6e3f (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (d4e5342b0f3b28caaf10bc51e916904572074e25)
             N -- N -- N (320360e2a5f79585c86b5b4260c8266b3ee18d31)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 -----------------------------------------------------------------

commit 320360e2a5f79585c86b5b4260c8266b3ee18d31
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Sep 30 13:53:26 2014 +0200

    sgsn: Added TODOs (TODO)
      - fix and remove TODOs
      - add test cases for Detach(reattach)
      - add test cases for PDP context deletion (OW#1311)
      - add test cases for Cancel pending timer in sgsn_mm_ctx_free
      - remove this commit
    Sponsored-by: On-Waves ehf

commit bfe6df93178cc46c317edb4aa53cd5643a30896b
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Oct 17 10:08:02 2014 +0200

    sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
    Currently an OSMO_ASSERT fails, if the message's and the mmctx's
    TLLIs do not match.
    This commit turns the assertion into an ERROR log message and uses
    the default values for IMSI, DRX, and RA CAP instead of the MM
    context values in this case.
      - find the real source for the problem
      - add test cases derived from what is being described in the ticket
    Ticket: OW#1322
    Sponsored-by: On-Waves ehf

commit 2d193dc608e8cd15482ca477f04fa24762136707
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Nov 4 12:44:15 2014 +0100

    sgsn: Notify an affected MM context if an ACL rule is removed
    Currently if an ACL access rule is removed, MS already attached are
    not affected until they try to reattach to the SGSN.
    This patch extends sgsn_acl_del to re-authenticate an MM context if
    it matches the IMSI.
    Sponsored-by: On-Waves ehf

commit a1f9bd765cda631ddcd7c0f6700b6ad013f5c31a
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Nov 4 10:08:37 2014 +0100

    sgsn: Add 'acl-only' authentication policy
    Currently the VTY 'auth-policy' command results in setting or clearing
    the acl_enabled flag. This also enables the matching of the MCC/MNC
    prefix of the IMSI.
    This patch adds an additional policy 'acl-only' which disables the
    MCC/MNC matching and relies on the ACL only.
    Sponsored-by: On-Waves ehf

commit 3edce24bbad14d2c205678df1373e23d639eaf65
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Nov 4 11:15:01 2014 +0100

    sgsn/test: Add VTY tests for the SGSN
    This patch adds some basic SGSN tests to
    - check for config tree nodes
    - check specific show commands
    Sponsored-by: On-Waves ehf

commit d63d2bbe52d4cd789559cd18fa4d01548b8a6e3f
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Oct 24 18:09:54 2014 +0200

    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


Summary of changes:
 openbsc/include/openbsc/gprs_sgsn.h |  2 +
 openbsc/include/openbsc/sgsn.h      |  8 +++-
 openbsc/src/gprs/gprs_gmm.c         |  7 +++-
 openbsc/src/gprs/sgsn_auth.c        | 74 +++++++++++++++++++++++++++----------
 openbsc/src/gprs/sgsn_main.c        |  2 +-
 openbsc/src/gprs/sgsn_vty.c         | 25 +++++++++----
 openbsc/tests/sgsn/sgsn_test.c      |  3 +-
 openbsc/tests/    | 69 ++++++++++++++++++++++++++++++++++
 8 files changed, 156 insertions(+), 34 deletions(-)

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list