openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-784-g0e1f5ad

gitosis at osmocom.org gitosis at osmocom.org
Fri Dec 5 08:34:50 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  70c53a622635f1770b2eef375c260ac731d40780 (commit)
  discards  674fe423e6e9eb11bc787a5976943554d3f0fb82 (commit)
  discards  5d97e6bf73833e024ee84cb348a2680c3ecc112b (commit)
  discards  9c98d0a61cf5ca78e21031c5bcad86b778a054cb (commit)
  discards  c973693742619eaf999f56c5e3a9c08c1190eb9d (commit)
  discards  6e80ec48a7dbe901072695876f2df6f1876cf79c (commit)
  discards  9b083d517b832440b9245781180c946940673d11 (commit)
  discards  590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 (commit)
  discards  b1a65e9430115771a9ae14a06b21172910011937 (commit)
  discards  62c9877ecd1586769eb354a047938a84e194fcd6 (commit)
  discards  7b84828af0982f52de7eb8327d874cb97560605b (commit)
  discards  0dffd57ce21d3966677097ac6fce831f9ece97cb (commit)
  discards  31780d3e9eb0a901178368efee950fffdfbe76d6 (commit)
  discards  f76452152dcfae0982446c7188a06e6288557ada (commit)
  discards  a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 (commit)
  discards  0185390bec605d0b9f024259fc27c6acc09bd332 (commit)
  discards  2aa3e6c3f74f9b6353cd8b484615481ff8ba207a (commit)
       via  0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit)
       via  6f3f49f0e8a56763033d525eaac1904c716eb014 (commit)
       via  7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit)
       via  5115593a1691de7435e06ca9c2a501e7105ba73a (commit)
       via  f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit)
       via  94668b91701108382798d1d41f01fbada1c3345e (commit)
       via  85351066bec2d23fd5a27bc0081475ca649c30ae (commit)
       via  ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit)
       via  f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit)
       via  aa4f556f669be4976b955df1ead4991a0497173e (commit)
       via  fd1983f37608169199e0d260452c36ca3f993c07 (commit)
       via  e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit)
       via  69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit)
       via  ee2db53e97841b165f68441f4f4347c06f351c85 (commit)
       via  27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit)
       via  fd56e58f1383d36caf35f5eea979a71266f474d7 (commit)
       via  521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (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 (70c53a622635f1770b2eef375c260ac731d40780)
            \
             N -- N -- N (0e1f5ad735ca326c34fd7758e1f1304341eacde7)

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=0e1f5ad735ca326c34fd7758e1f1304341eacde7

commit 0e1f5ad735ca326c34fd7758e1f1304341eacde7
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=6f3f49f0e8a56763033d525eaac1904c716eb014

commit 6f3f49f0e8a56763033d525eaac1904c716eb014
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Dec 2 11:35:41 2014 +0100

    gsn: Auth and Ciph (WIP)
    
    TODO:
     - split this commit into several smaller ones (fixes, integration,
       triplet management, ...)
     - tests
    
    Sponsored-by: On-Waves ehf

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

commit 7d91723132285170d012caf5b8bb6fd6fb9fe051
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 (TODO)
    
    TODO:
      - commit message
      - remove _alloc entirely (also in 'Add gprs_subscriber.c' patch)
      - also move mm into this struct
    
    Sponsored-by: On-Waves ehf

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

commit 5115593a1691de7435e06ca9c2a501e7105ba73a
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=f416810ffb3a3c224705fa12d97b3eb7f541eb5d

commit f416810ffb3a3c224705fa12d97b3eb7f541eb5d
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=94668b91701108382798d1d41f01fbada1c3345e

commit 94668b91701108382798d1d41f01fbada1c3345e
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=85351066bec2d23fd5a27bc0081475ca649c30ae

commit 85351066bec2d23fd5a27bc0081475ca649c30ae
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=ee0a289a1bd1db2d7883bfe799b450c64659abc5

commit ee0a289a1bd1db2d7883bfe799b450c64659abc5
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=f565ef74ac74a3d78b796fac9579846c1f0e73a7

commit f565ef74ac74a3d78b796fac9579846c1f0e73a7
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Nov 4 12:44:15 2014 +0100

    sgsn: Notify an affected MM context if an ACL rule is removed (TODO)
    
    Currently if an ACL access rule is removed, MS already attached are
    not affected until they try to reattach to the SGSN.
    
    This patch adds sgsn_auth_update_all() that iterates through allMM
    contexts and calls sgsn_auth_update() on each of them. This function
    is then called when 'imsi-acl del IMSI' is executed after the ACL has
    been removed.
    
    TODO:
     - decide, whether ito replace that by a dedicated update command in
       the VTY ENABLE node
    
    Sponsored-by: On-Waves ehf

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

commit aa4f556f669be4976b955df1ead4991a0497173e
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=fd1983f37608169199e0d260452c36ca3f993c07

commit fd1983f37608169199e0d260452c36ca3f993c07
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=e1cead48ce8678b5d9f6bda503d8b2eecc708363

commit e1cead48ce8678b5d9f6bda503d8b2eecc708363
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Tue Nov 11 14:47:38 2014 +0100

    sgsn: Add gsm0408_gprs_access_cancelled (TODO)
    
    This function is called to delete an established MM context
    without invoking a detach procedure that could disable the GPRS
    functionality of the MS until the next power cycle.
    
    It is called when a subscriber is cancelled.
    
    Sponsored-by: On-Waves ehf

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

commit 69b4280e38a3e575beb4a687dbb83393bb1f26a1
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Wed Nov 12 10:18:09 2014 +0100

    sgsn: Integrate subscriber handling into the SGSN (TODO)
    
    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.
    
    TODO:
     - tests
     - decide, whether 'remote' could be named better, e.g. sth based on
       'subscriber'
    
    Ticket: OW#????
    Sponsored-by: On-Waves ehf

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

commit ee2db53e97841b165f68441f4f4347c06f351c85
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=27b6dd2ad05f4837500ca91a6e9efe09fe351cb2

commit 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Wed Dec 3 11:08:23 2014 +0100

    msc: Add per subscriber keep flag
    
    Currently the keep_subscr flag 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 force_no_keep field to gsm_subscriber which allows for
    deleting single subscribers even if group->keep_subscr is set.
    
    Sponsored-by: On-Waves ehf

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

commit fd56e58f1383d36caf35f5eea979a71266f474d7
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Wed Dec 3 13:05:16 2014 +0100

    bsc/test: Add tests for gsm_subscriber base
    
    This commit adds test for the generic part of gsm_subscriber like
    reference counting and flag usage.
    
    Sponsored-by: On-Waves ehf

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

commit 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Wed Dec 3 09:28:24 2014 +0100

    msc: Add and use gsm_subscriber_group
    
    Currently every subcriber object directly refers to the gsm_network
    which contains a flag shared by every related subscriber
    (keep_subscr). This adds a dependency on gsm_network even if only the
    function defined in gsm_subscriber_base.c are used.
    
    This patch adds a new struct gsm_subscriber_group which contains the
    keep_subscr flag and a back reference to the network object. The
    latter is not dereferenced in gsm_subscriber_base.c, so it can safely
    be set to NULL when only that part of the gsm_subscriber API is being
    used. It also changes that API to use gsm_subscriber_group instead of
    gsm_network parameters.
    
    Since there are some places where a pointer to the gsm_network is
    needed but where only a gsm_subscriber is available, a 'net' back
    pointer is added to the group struct, too. Nevertheless subscr group
    and network could be separated completely, but this is not the topic
    of this commit.
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 openbsc/src/libbsc/net_init.c        | 1 +
 openbsc/tests/channel/channel_test.c | 3 +++
 2 files changed, 4 insertions(+)


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



More information about the osmocom-commitlog mailing list