openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-789-g9b0ac55

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Dec 9 07:24:41 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  f279de7e4c33f602a23badf71b2c17adfcb2d9e2 (commit)
  discards  410e93c21a8b695e818d65af39f7e3600c73d677 (commit)
  discards  65682b62e770cd7cc2dd70880d0742a789e7b296 (commit)
  discards  0350211ecc0542f5d3c921bd1b130af1b1ad6111 (commit)
  discards  4679832a916c5ea792c3312575bb5e4209365a77 (commit)
  discards  85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit)
  discards  ad8a578d6a6a2ae9ac693675946e4870170c601c (commit)
  discards  6a59acb3709f781517a245f6bdf89555272bf580 (commit)
  discards  bc903825595047e970a74064e548930b5bff68ec (commit)
  discards  877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit)
  discards  10a10844c85682ae9582cab66dbfa729b408b5ae (commit)
  discards  5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit)
  discards  d9beed523036eeec7872342c5ecc0452501d2a5a (commit)
  discards  045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit)
  discards  da03b777c23654dcf14b294c62cad2d781eeb93b (commit)
  discards  b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit)
       via  9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 (commit)
       via  0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 (commit)
       via  1ba89ae5029fb0f3778d4cdc10bc2743502ac13f (commit)
       via  b7084e3c4e33335d2309fd273c1727138b721dcc (commit)
       via  66b8c3d14fb21dd1540e37f58d5db160460ad333 (commit)
       via  aad7de8f3b00dec210021c11cf968da2147d9aaa (commit)
       via  43aa366a08d67654ac17452d8c2b5078d4294c24 (commit)
       via  82eda228b23569374eedc304dd2178e3fb04084b (commit)
       via  626357bc3c086735d2742266b6b3d637fc045a6c (commit)
       via  e2a2753a602f8fcfce71b26cb9df570d604b4ecc (commit)
       via  34d1ee49ee6d2c8633c0b08a75d19923d18437e9 (commit)
       via  e5974b50c72823ac091d8424d87c7211692aaa2a (commit)
       via  ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 (commit)
       via  6f881b9ff232f766f2e8ac8f10c763f45418f960 (commit)
       via  81bc955a9e9b2313306ad0121f37e37c2fbb1b11 (commit)
       via  8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit)
       via  bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 (commit)
       via  65d8273bf342944db12fecff9140bf4b9d3e6ad2 (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 (f279de7e4c33f602a23badf71b2c17adfcb2d9e2)
            \
             N -- N -- N (9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5)

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 -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5

commit 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Fri Nov 28 14:55:25 2014 +0100

    sgsn: Work on 2 phase authorization (WIP)
    
    This implements the MAP way of subscriber validation when the MS
    tries an Attach Request:
      1. perform authentication (optionally invoke the sendAuthInfo
      procedure), starts the AuthAndCiph procedure
      2. perform update location
      3. insert subscriber data
      4. finish the update location
      5. Attach Accept / Attach Reject
    
    This is currently accessible via the VTY interface.
    
    TODO:
      - Apply this to (periodic) RA Update Req
      - Delete Subscriber Data
      - Improve on procedure collisions (repeated Attach Req is sometimes
        not handled properly)
      - PDP info
      - Commit cleanup
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6

commit 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 8 15:52:00 2014 +0100

    sgsn: Add support for authentication triplets (TODO)
    
    TODO:
      - commit message
      - tests
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=1ba89ae5029fb0f3778d4cdc10bc2743502ac13f

commit 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 8 15:50:12 2014 +0100

    sgsn: Add VTY commitcommand (TODO)
    
    TODO:
      - merge with later changes
      - move this before last commit
    
    Ticket: OW#????
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=b7084e3c4e33335d2309fd273c1727138b721dcc

commit b7084e3c4e33335d2309fd273c1727138b721dcc
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 8 15:26:47 2014 +0100

    sgsn: Support authentication (TODO)
    
    TODO:
      - title
      - commit message
      - tests
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=66b8c3d14fb21dd1540e37f58d5db160460ad333

commit 66b8c3d14fb21dd1540e37f58d5db160460ad333
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Sep 30 13:53:26 2014 +0200

    sgsn: Added TODOs (TODO)
    
    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

http://cgit.osmocom.org/openbsc/commit/?id=aad7de8f3b00dec210021c11cf968da2147d9aaa

commit aad7de8f3b00dec210021c11cf968da2147d9aaa
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
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.
    
    TODO:
      - 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

http://cgit.osmocom.org/openbsc/commit/?id=43aa366a08d67654ac17452d8c2b5078d4294c24

commit 43aa366a08d67654ac17452d8c2b5078d4294c24
Author: Jacob Erlbeck <jerlbeck at 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=82eda228b23569374eedc304dd2178e3fb04084b

commit 82eda228b23569374eedc304dd2178e3fb04084b
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Dec 2 09:47:26 2014 +0100

    sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize
    
    Currently the Authentication and Ciphering procedure is not yet
    invoked by the GMM layer.
    
    This patch starts this procedure from within gsm48_gmm_authorize when
    the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call
    to gsm0408_gprs_authenticate has been issued directly or indirectly
    by the call to sgsn_auth_request.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=626357bc3c086735d2742266b6b3d637fc045a6c

commit 626357bc3c086735d2742266b6b3d637fc045a6c
Author: Jacob Erlbeck <jerlbeck at 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
    
    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.
    
    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=e2a2753a602f8fcfce71b26cb9df570d604b4ecc

commit e2a2753a602f8fcfce71b26cb9df570d604b4ecc
Author: Jacob Erlbeck <jerlbeck at 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=34d1ee49ee6d2c8633c0b08a75d19923d18437e9

commit 34d1ee49ee6d2c8633c0b08a75d19923d18437e9
Author: Jacob Erlbeck <jerlbeck at 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=e5974b50c72823ac091d8424d87c7211692aaa2a

commit e5974b50c72823ac091d8424d87c7211692aaa2a
Author: Jacob Erlbeck <jerlbeck at 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=ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136

commit ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136
Author: Jacob Erlbeck <jerlbeck at 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=6f881b9ff232f766f2e8ac8f10c763f45418f960

commit 6f881b9ff232f766f2e8ac8f10c763f45418f960
Author: Jacob Erlbeck <jerlbeck at 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=81bc955a9e9b2313306ad0121f37e37c2fbb1b11

commit 81bc955a9e9b2313306ad0121f37e37c2fbb1b11
Author: Jacob Erlbeck <jerlbeck at 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_sgsn.h      |  1 +
 openbsc/include/openbsc/gsm_subscriber.h |  1 -
 openbsc/src/gprs/gprs_sgsn.c             |  6 +++---
 openbsc/src/gprs/gprs_subscriber.c       | 25 +++++++++++++------------
 openbsc/src/gprs/sgsn_auth.c             | 21 ++++++++++-----------
 openbsc/src/gprs/sgsn_vty.c              |  2 ++
 openbsc/tests/sgsn/Makefile.am           |  3 ++-
 openbsc/tests/sgsn/sgsn_test.c           | 21 +++++++++++++++++++++
 8 files changed, 52 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list