openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-782-g85a3619

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
Mon Dec 8 11:20:48 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  0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit)
  discards  6f3f49f0e8a56763033d525eaac1904c716eb014 (commit)
  discards  7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit)
  discards  5115593a1691de7435e06ca9c2a501e7105ba73a (commit)
  discards  f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit)
  discards  94668b91701108382798d1d41f01fbada1c3345e (commit)
  discards  85351066bec2d23fd5a27bc0081475ca649c30ae (commit)
  discards  ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit)
  discards  f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit)
  discards  aa4f556f669be4976b955df1ead4991a0497173e (commit)
  discards  fd1983f37608169199e0d260452c36ca3f993c07 (commit)
  discards  e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit)
  discards  69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit)
  discards  ee2db53e97841b165f68441f4f4347c06f351c85 (commit)
  discards  27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit)
  discards  fd56e58f1383d36caf35f5eea979a71266f474d7 (commit)
  discards  521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (commit)
  discards  d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 (commit)
  discards  f95603d7e77982ecb2e63704b1276ae23136d695 (commit)
       via  85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit)
       via  ad8a578d6a6a2ae9ac693675946e4870170c601c (commit)
       via  6a59acb3709f781517a245f6bdf89555272bf580 (commit)
       via  bc903825595047e970a74064e548930b5bff68ec (commit)
       via  877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit)
       via  10a10844c85682ae9582cab66dbfa729b408b5ae (commit)
       via  5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit)
       via  d9beed523036eeec7872342c5ecc0452501d2a5a (commit)
       via  045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit)
       via  da03b777c23654dcf14b294c62cad2d781eeb93b (commit)
       via  b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit)
       via  0acc0018d9a395ded0408f5c95061562d0c528b3 (commit)
       via  1e30a28e51b5e8a14b977233858f267f839197d5 (commit)
       via  dae1f64ba688eaa24aad6ce15a8529bdef788146 (commit)
       via  f07c605361d21b7bc36b741297c6ecf8e4162782 (commit)
       via  1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 (commit)
       via  5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a (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 (0e1f5ad735ca326c34fd7758e1f1304341eacde7)
            \
             N -- N -- N (85a3619c1ce96d9a81776b7e3776a952ee61fb54)

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=85a3619c1ce96d9a81776b7e3776a952ee61fb54

commit 85a3619c1ce96d9a81776b7e3776a952ee61fb54
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=ad8a578d6a6a2ae9ac693675946e4870170c601c

commit ad8a578d6a6a2ae9ac693675946e4870170c601c
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 1 12:44:24 2014 +0100

    sgsn: Do authentication based on SRES values
    
    Currently the SRES value in the Auth & Ciph Response is ignored.
    
    This patch checks the SRES value in response against the value stored
    in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject
    message is sent to the MS. If they match, the mm->is_authenticated
    flag is set.
    
    Note that the procedure will not be started yet.
    
    Sponsored-by: On-Waves ehf

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

commit 6a59acb3709f781517a245f6bdf89555272bf580
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 1 12:33:33 2014 +0100

    sgsn: Change Auth&Ciph timer handling
    
    Currently mmctx_timer_start is called from within
    gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the
    identification procedure is implemented. It also makes it more
    difficult to restart the procedure after timeout, which is not
    implemented yet. In addition, the timer is not properly stopped when
    an AUTH & CIPH response is received.
    
    This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req,
    adds the retransmission of Auth & Ciph requests to the timer callback
    function, and properly stops the timer in
    gsm48_rx_gmm_auth_ciph_resp.
    
    Sponsored-by: On-Waves ehf

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

commit bc903825595047e970a74064e548930b5bff68ec
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 1 10:36:17 2014 +0100

    sgsn: Fix and enable auth/ciph message generation
    
    Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In
    addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element.
    
    This patch fixes the encoding of the CKSN IE and enables the
    functions mentioned above.
    
    Sponsored-by: On-Waves ehf

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

commit 877b98bb1664fadecf59fc23ec4d75b9711c0262
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=10a10844c85682ae9582cab66dbfa729b408b5ae

commit 10a10844c85682ae9582cab66dbfa729b408b5ae
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=5d67f73eb71ac578254ef2cabd8d9db6d18c7a42

commit 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42
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=d9beed523036eeec7872342c5ecc0452501d2a5a

commit d9beed523036eeec7872342c5ecc0452501d2a5a
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=045f8f3dfa810ecfd7f528c32ebbef128f169797

commit 045f8f3dfa810ecfd7f528c32ebbef128f169797
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=da03b777c23654dcf14b294c62cad2d781eeb93b

commit da03b777c23654dcf14b294c62cad2d781eeb93b
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=b66502c27779853ee5556e1bf9e8e41a138a2a87

commit b66502c27779853ee5556e1bf9e8e41a138a2a87
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/.gitignore                          |   1 +
 openbsc/include/openbsc/gprs_sgsn.h         |  38 +-----
 openbsc/include/openbsc/gsm_subscriber.h    |   6 +-
 openbsc/include/openbsc/transaction.h       |   3 +-
 openbsc/src/gprs/gprs_llc.c                 |  29 ++---
 openbsc/src/gprs/gprs_sgsn.c                |   2 +-
 openbsc/src/gprs/gprs_subscriber.c          | 138 ++++++---------------
 openbsc/src/gprs/sgsn_auth.c                | 126 +------------------
 openbsc/src/gprs/sgsn_vty.c                 | 185 ++--------------------------
 openbsc/src/libbsc/bsc_ctrl_commands.c      |  80 ++++++++++++
 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           |  21 ++++
 openbsc/tests/sgsn/Makefile.am              |   3 +-
 openbsc/tests/sgsn/sgsn_test.c              | 180 +++++++++++++++++++++++++--
 openbsc/tests/sgsn/sgsn_test.ok             |   4 +-
 openbsc/tests/subscr/subscr_test.c          |   9 +-
 19 files changed, 360 insertions(+), 484 deletions(-)


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



More information about the osmocom-commitlog mailing list