openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-804-g5b4c44f

gitosis at gitosis at
Thu Dec 18 14:02:39 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  363a67f814b5864ec6e28fda525a59da129792ea (commit)
  discards  486d80c7fee30540ddcdbc48f5901347de723c09 (commit)
  discards  116d9aac200398f15d408435efe492acfd51b1e1 (commit)
  discards  9c5fbdcc5d4a8b3822f2e5009e8a36e9c5a55d79 (commit)
  discards  55ef4c0f5d145cd435b8a28545643b9e48d36add (commit)
  discards  45666f3ee24d32b6a1f7d22a89f1394db052ff32 (commit)
  discards  35c839172fdc09c9a9a25bec29ad0efd9951a4fc (commit)
  discards  d46917036068afa8eade633e63aa9542fada8e4d (commit)
  discards  677da180780e04b9ef9c9b21dba0a37f84f2cc86 (commit)
  discards  662ed57a219ae62efdf6c80f61226a7b4f6bd09d (commit)
  discards  d26b234117c4a7fd4c3574d66a047715b136a6f7 (commit)
  discards  e21aa8f0e5249f4fe841fccbd8ab37055636e73d (commit)
       via  5b4c44f4f0f902fa3762793b9a10b3392031f140 (commit)
       via  b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 (commit)
       via  52678bb8dcd0da85496e6351afe6f068fe94e0b6 (commit)
       via  16a158c64e65b0361888b6cc00e77c6e5e6afeed (commit)
       via  fbbc4a98998840a98402f75c2caa5e0bd548e724 (commit)
       via  449619df45c76003b3d276b11e3ce03f57caac92 (commit)
       via  1083ca12326f3f51d2822371603a83eb45dbd5e8 (commit)
       via  f49426120f298adcbacd93635a2b86042d059266 (commit)
       via  e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c (commit)
       via  67b6f95811cfa2599e483457fcd3516b815bb7db (commit)
       via  28fe5af26e62e0ac770de4c2d92de6387564eb34 (commit)
       via  d32673d270c4331682cd8f9125c8af5e4f220e78 (commit)
       via  a0a1cfd7b31296e990c934b3606e69f5b0b0c071 (commit)
       via  707858260d79b533a86b4c055a980a184d3b8339 (commit)
       via  ea8279db8b9566d8864c05e13800fa88b0cfc014 (commit)
       via  94b669fa7d70192eb75764d6228c0a5e2a20cede (commit)
       via  89d84efdeb1a26d3294a360ecbcc1ac1012742ee (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 (363a67f814b5864ec6e28fda525a59da129792ea)
             N -- N -- N (5b4c44f4f0f902fa3762793b9a10b3392031f140)

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 5b4c44f4f0f902fa3762793b9a10b3392031f140
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 18 15:00:29 2014 +0100

    sgsn: GSUP client reconnect (WIP)
      - basically works
      - commit text
      - when requests are lost, the SGSN is (sometimes?) in a state,
        where when it receives repeated Attach Req message, it sends
        Update Location via GSUP, receives the Res but doesn't continue
        with the procedure.
    Ticket: OW#????
    Sponsored-by: On-Waves ehf

commit b26b9383507a0b11db0f97c6e6e3f3b1cb403f37
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 52678bb8dcd0da85496e6351afe6f068fe94e0b6
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 16a158c64e65b0361888b6cc00e77c6e5e6afeed
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 17 14:03:35 2014 +0100

    sgsn: Add PDP info to subscriber data (TODO)
      - commit message
      - raw binary representation ???
      - tests
    Sponsored-by: On-Waves ehf

commit fbbc4a98998840a98402f75c2caa5e0bd548e724
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 17 13:20:08 2014 +0100

    sgsn: Replace subscr.authenticate by global require_authentication flag
    Currently the flag 'authenticate' is managed per subscriber.
    This patch replaces that flag by a global cfg.require_authentication
    flag that enables/disables the use of the Auth & Ciph procedure for
    every subscriber. The flag is set by the VTY, if and only if the
    authorization policy is 'remote'.
    The VTY command
      - update-subscriber imsi IMSI insert authenticate <0-1>
    is removed.
    Sponsored-by: On-Waves ehf

commit 449619df45c76003b3d276b11e3ce03f57caac92
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Dec 16 08:41:34 2014 +0100

    openbsc: Ignore generated coverage analysis files
    This patch adds *.gcda and *.gcno to .gitignore to skip files that
    are generated by gcc --coverage and related tools.
    Sponsored-by: On-Waves ehf

commit 1083ca12326f3f51d2822371603a83eb45dbd5e8
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 18 12:46:47 2014 +0100

    sgsn: Integrate the GSUP client into the SGSN
    This commit adds GSUP client configuration (via VTY), connection set
    up, and real message sending.
    The following configuration commands are added:
     - gsup remote-ip A.B.C.D            set server IP address
     - gsup remote-port PORT             set server TCP port
    Sponsored-by: On-Waves ehf

commit f49426120f298adcbacd93635a2b86042d059266
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 18 12:28:21 2014 +0100

    sgsn: Add GSUP client
    This commit adds the client code to get subscriber information from a
    remote server. It provides an IPA over TCP connection to transmit and
    receive GSUP messages.
    Sponsored-by: On-Waves ehf

commit e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Dec 15 10:16:02 2014 +0100

    sgsn/doc: Add IPA default parameters
    This commit adds the default protocol identifiers that should be used
    for GSUP by the IPA protocol.
    Sponsored-by: On-Waves ehf

commit 67b6f95811cfa2599e483457fcd3516b815bb7db
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 12 15:01:37 2014 +0100

    gprs: Add subscriber functions to create/handle GSUP messages
    This patch extends gprs_subscr_query_auth_info and
    gprs_subscr_location_update to create GSUP messages with the help of
    a static gprs_subscr_tx_gsup_message function. A corresponding
    gprs_subscr_rx_gsup_message is added which takes a messages, gets the
    subscr, and updates it accordingly.
    Sponsored-by: On-Waves ehf

commit 28fe5af26e62e0ac770de4c2d92de6387564eb34
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 11 16:54:14 2014 +0100

    gprs: Add encoder/decoder for the Subscriber Update Protocol
    This patch adds functions to encode and decode GSUP messages. This
    does not include the layer 1 framing (IPA). The messages so far
    supported are: send_auth_info_*, update_location_*,
    Sponsored-by: On-Waves ehf

commit d32673d270c4331682cd8f9125c8af5e4f220e78
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 11 15:14:14 2014 +0100

    sgsn/doc: Add protocol specification for remote subscriber update
    This is the first version of the specification for the GPRS
    Subscriber Update Protocol.
    Sponsored-by: On-Waves ehf

commit a0a1cfd7b31296e990c934b3606e69f5b0b0c071
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 11 12:05:29 2014 +0100

    gprs: Add gprs_shift_tlv function
    This function is similar to gprs_match_tlv with the exception, that
    the tag is not compared but returned in *tag instead.
    Sponsored-by: On-Waves ehf

commit 707858260d79b533a86b4c055a980a184d3b8339
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 11 11:01:46 2014 +0100

    gprs: Move TLV parser functions to gprs_utils.c and rename them
    Currently the parser functions for single information elements are
    defined within gprs_gb_parse.c and not exported explicitely. In
    addition they are named like libosmocore's TLV parser functions and
    do not have a proper name prefix. Since it is planned to use them for
    other protocols, they need to be globally accessible.
    This patch moves them to gprs_utils.c and renames them.
    The new names are:
        lv_shift             -> gprs_shift_lv
        v_fixed_shift        -> gprs_shift_v_fixed
        lv_shift             -> gprs_shift_lv
        v_fixed_shift        -> gprs_shift_v_fixed
    In the long term, these functions should be moved to libosmocore (and
    renamed again).
    Sponsored-by: On-Waves ehf

commit ea8279db8b9566d8864c05e13800fa88b0cfc014
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 18 09:53:07 2014 +0100

    sgsn: Add missing LF in log message
    Sponsored-by: On-Waves ehf

commit 94b669fa7d70192eb75764d6228c0a5e2a20cede
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Nov 28 14:55:25 2014 +0100

    sgsn: Add a subscriber based authentication phase
    This implements the MAP way of subscriber validation when the MS
    tries to perform an Attach Request:
      1. perform authentication (optionally invoke the sendAuthInfo
         procedure), starts the Auth & Ciph procedure
      2. perform update location
      3. insert subscriber data
      4. finish the update location
      5. Attach Accept / Attach Reject
    The authentication triplet are used and eventually updated if all of
    them have been used.
    This is currently accessible via the VTY interface by the following
      - update-subscriber imsi IMSI update-auth-info
      - update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE)
    Sponsored-by: On-Waves ehf

commit 89d84efdeb1a26d3294a360ecbcc1ac1012742ee
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Dec 8 15:52:00 2014 +0100

    sgsn: Add support for authentication triplets
    This commit add data structures, functions, initialization, and VTY
    commands for per subscriber authentication triplets.
    The following VTY command is added:
      - update-subscriber imsi IMSI \
        insert auth-triplet <1-5> sres SRES rand RAND kc KC
    Note that the triplets are not really used by the SGSN yet.
    Sponsored-by: On-Waves ehf


Summary of changes:
 openbsc/doc/sgsn-remote-protocol.txt       |  70 +++++----
 openbsc/include/openbsc/gprs_gsup_client.h |  10 +-
 openbsc/include/openbsc/gprs_sgsn.h        |   2 +-
 openbsc/include/openbsc/sgsn.h             |   2 +
 openbsc/src/gprs/gprs_gsup_client.c        | 167 ++++++++-------------
 openbsc/src/gprs/gprs_gsup_messages.c      |  29 +++-
 openbsc/src/gprs/gprs_subscriber.c         |  80 ++++++++--
 openbsc/src/gprs/sgsn_auth.c               |   4 +-
 openbsc/src/gprs/sgsn_vty.c                |  17 ++-
 openbsc/tests/gprs/gprs_test.c             |  23 +--
 openbsc/tests/sgsn/sgsn_test.c             | 228 ++++++++++++++++++++++++++++-
 openbsc/tests/sgsn/sgsn_test.ok            |   2 +
 12 files changed, 451 insertions(+), 183 deletions(-)

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

More information about the osmocom-commitlog mailing list