openbsc.git branch max/pol updated. 0.15.0-248-g98ec8f9

gitosis at osmocom.org gitosis at osmocom.org
Wed May 4 09:56:01 UTC 2016


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, max/pol has been updated
  discards  0e4a1961d3398ed5c8ec4563f53079e94a5b1fcb (commit)
       via  98ec8f950c226b95f179fb94bedd8a7d24a2c36d (commit)
       via  a87b30cbc95728d1073e4b969e0432d77616b101 (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 (0e4a1961d3398ed5c8ec4563f53079e94a5b1fcb)
            \
             N -- N -- N (98ec8f950c226b95f179fb94bedd8a7d24a2c36d)

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=98ec8f950c226b95f179fb94bedd8a7d24a2c36d

commit 98ec8f950c226b95f179fb94bedd8a7d24a2c36d
Author: Max <msuraev at sysmocom.de>
Date:   Wed May 4 11:14:29 2016 +0200

    Make random MSISDN assignment optional
    
    Previously if subscriber was automatically created it got assigned
    random MSISDN number between 20000 and 49999. Make it
    optional (defaulting to previous behavior) by adding following:
    
    * optional "no-extension" argument to subscriber-create-on-demand
    * db unit tests
    * vty test
    
    The range for random extension can now be specified with
    "subscriber-create-on-demand random" command.
    
    Note: using the db made with new code might result in subscribers with
    empty extension. Such subscribers cannot be deleted using old
    code. Make sure not to mix db versions or manually fix it by editing
    sqlite with external program.
    
    Fixes: OS#1658

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

commit a87b30cbc95728d1073e4b969e0432d77616b101
Author: Max <msuraev at sysmocom.de>
Date:   Tue May 3 18:36:04 2016 +0200

    Add IMSI-prefix authorization policy
    
    * extend "auth policy" vty command with new option "prefix"
    * add vty command "authorize-prefix" for setting arbitrary prefix
    * add basic vty test
    * add optional "imsi-prefix" argument to subscriber-create-on-demand vty
      command
    
    With those in place we can now set the prefix against which MS's IMSI
    will be checked.
    
    If IMSI's prefix match our configuration than MS is allowed to access
    the network. If subscriber is already marked as authorized in HLR than
    it'll be allowed regardless of IMSI prefix.
    
    The same way we can decide whether to create subscribers on-demand
    basesd on IMSI prefix match. Similar to authorization this restriction
    can be overridden by manually creating subscriber via vty, ctrl
    interface or directly in HLR.
    
    Note: this is NITB option, not to be confused with SGSN option with the
    same name.
    
    Fixes: OS#1647

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

Summary of changes:
 openbsc/include/openbsc/db.h                |  8 +++-
 openbsc/include/openbsc/gsm_data.h          |  3 ++
 openbsc/include/openbsc/gsm_subscriber.h    |  5 ++-
 openbsc/src/libbsc/net_init.c               |  3 +-
 openbsc/src/libcommon/gsm_subscriber_base.c |  1 +
 openbsc/src/libmsc/ctrl_commands.c          |  9 ++++-
 openbsc/src/libmsc/db.c                     | 37 ++++++++++++-------
 openbsc/src/libmsc/gsm_04_08.c              | 10 +++--
 openbsc/src/libmsc/gsm_subscriber.c         |  6 ++-
 openbsc/src/libmsc/vty_interface_layer3.c   | 57 +++++++++++++++++++++++++++--
 openbsc/tests/db/db_test.c                  | 18 ++++++---
 openbsc/tests/vty_test_runner.py            | 51 +++++++++++++++++++++++++-
 12 files changed, 174 insertions(+), 34 deletions(-)


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



More information about the osmocom-commitlog mailing list