Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-410-g1701113
From: [email-masked]
To: [email-masked]
Date: Wed, 4 Jun 2014 07:01:55 GMT

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  bf720696533db77748b14385b3d1d8696b696c82 (commit)
  discards  59203bc29d69103175097a75981c71073ed22273 (commit)
  discards  7be4a13e92bdc63c74741d79e06de257b955b953 (commit)
  discards  04a36e5ceba0c8a3945dc1dd68175238d0ea4bab (commit)
  discards  03c7689c46adb29b260562c0511473388c7d12b3 (commit)
  discards  6d3a221a12defa741c4b833295efed034c563b08 (commit)
  discards  cc237cef96881fdc303754bbd82eee5e9ca6a1ca (commit)
  discards  fba5caf6f5dcbef28f697a8d47497035af475589 (commit)
  discards  c380a44b731996240534c231dbebcb1420818382 (commit)
       via  1701113e1867005b7d46d3b10a740df21f4688ea (commit)
       via  649ffc40a208dc4eb6d70942608d51caf8dca7ba (commit)
       via  caf68c97ac3c5144c7f228831bf279f3349af199 (commit)
       via  9fb7ffcbf311eadd07824753e9757ddb9b72535e (commit)
       via  ff71a4833e413a83a90e4c7d262f0fe4b1ea5c8d (commit)
       via  123e3de8d4cd10e108fed87feffb3252f5bd37ed (commit)
       via  3083bfea8a8715b03fddd63d85df429dd269117e (commit)
       via  04a044f499ad7c6e79dad779aa8089a7a87e01e1 (commit)
       via  29fa30991ecc26b08d39db4202c5ecbc55089bea (commit)
       via  cc84c9535ca7c5b2b328af900ae4ec70da60d940 (commit)
       via  889710c8907ae69636cc1ce3f521d91328016e53 (commit)
       via  0e4e73a8914eb59a9d11a36c001cea0f22b7e8c6 (commit)
       via  1e93b79cce4702fb79fa4fe8990a1bbcdb97b4f0 (commit)
       via  f0405068d8e53ecd6126af04e1c96155dce80e82 (commit)
       via  5308fffc5302ff36317852b7b25ad146376725e0 (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 (bf720696533db77748b14385b3d1d8696b696c82)
            \
             N -- N -- N (1701113e1867005b7d46d3b10a740df21f4688ea)

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=1701113e1867005b7d46d3b10a740df21f4688ea

commit 1701113e1867005b7d46d3b10a740df21f4688ea
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue May 27 13:49:04 2014 +0200

    gprs: Store gbproxy patching state per peer
    
    Currently, all patching state is stored globally in the gbproxy. Thus
    the feature cannot be used safely with a concentrating gbproxy (NAT).
    
    This patch moves the state and relevant counters to the gbprox_peer
    structure. It adds code to resolve the corresponding peer when
    packets are received by looking at BVCI, NSEI, and BSSGP IEs (BVCI,
    RAI/LAI/LAC) when the peer is not passed to the
    gbprox_patch_bssgp_message() function.
    
    Test cases are also added for the SGSN->BSS case including test cases
    with invalid identifiers.
    
    Note that this patch should make it possible to use RAI patching at a
    NAT gbproxy as long as the messages are not encrypted.
    
    Ticket: OW#1185
    Sponsored-by: On-Waves ehf

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

commit 649ffc40a208dc4eb6d70942608d51caf8dca7ba
Author: Jacob Erlbeck <[email-masked]>
Date:   Fri May 23 20:48:07 2014 +0200

    gprs: Add APN patch support for LLC/GSM messages
    
    Patch the APN in every 'Activate PDP Context Request' message to the
    value given by the 'core-access-point-name' command. If the command is
    given without an APN, the whole APN IE will be removed. If the
    command is being prefixed by a 'no', APN IE remain unmodified.
    
    The patch mode 'llc-gsm' is added to selectively enable the patching
    of LLC session management messages. This is enabled implicitely by
    the patch mode 'llc'.
    
    Note that the patch mode should not be set to a value not enabling
    the patching of LLC GSM messages ('llc-gsm', 'llc', and 'default' are
    sufficient to patch 'Activate PDP Context Request' messages).
    
    Ticket: OW#1192
    Sponsored-by: On-Waves ehf

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

commit caf68c97ac3c5144c7f228831bf279f3349af199
Author: Jacob Erlbeck <[email-masked]>
Date:   Wed May 28 10:59:10 2014 +0200

    gprs: Add MCC/MNC patch support for LLC/GMM messages
    
    This patch extends the BSSGP patch code to also patch LLC information
    elements along with MCC/MNC patching support for the following messages:
    
    - Attach Request
    - Attach Accept
    - Routing Area Update Request
    - Routing Area Update Accept
    - P-TMSI reallocation command
    
    Note that encrypted packets will not be patched.
    
    Ticket: OW#1185
    Sponsored-by: On-Waves ehf

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

commit 9fb7ffcbf311eadd07824753e9757ddb9b72535e
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon May 19 10:14:58 2014 +0200

    gprs: Implement BSSGP MCC/MNC patching
    
    This adds a feature to patch the BSSGP MNC/MCC fields of messages going
    to and coming from the SGSN. To enable this feature, the gbproxy's
    VTY commands 'core-mobile-country-code' and/or
    'core-mobile-network-code' must be used. All packets to the SGSN are
    patched to match the configured values. Packets received from the
    SGSN are patched to the corresponding values as last seen from the BSS
    side.
    
    Note that this will probably not work with a gbproxy used for several
    BSS simultaneously.
    
    Note also, that MCC/MNC contained in a LLC IE will not be patched.
    
    Ticket: OW#1185
    Sponsored-by: On-Waves ehf

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

commit ff71a4833e413a83a90e4c7d262f0fe4b1ea5c8d
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue May 27 14:44:13 2014 +0200

    gprs/test: Increase stderr log level
    
    Enable the generation of more log messages.
    
    Sponsored-by: On-Waves ehf

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

commit 123e3de8d4cd10e108fed87feffb3252f5bd37ed
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue May 27 14:39:05 2014 +0200

    gprs/test: Add additional gbproxy tests
    
    This adds a test case with several messages to test BSSGP patching.
    New messages:
    
    - BSSGP/DTAP Attach Request
    - BSSGP/DTAP Attach Accept
    - BSSGP/DTAP Routing Area Update Request
    - BSSGP/DTAP Routing Area Update Accept
    - BSSGP/DTAP Activate PDP Context Request
    - BSSGP SUSPEND
    - BSSGP SUSPEND ACK
    
    Sponsored-by: On-Waves ehf

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

commit 3083bfea8a8715b03fddd63d85df429dd269117e
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon May 19 14:53:27 2014 +0200

    gprs: Separate LLC parsing from LLC state handling
    
    Currently LLC parsing is part of gprs_llc.c which needs large parts
    of the SGSN code parsing to fulfill its link dependencies.
    
    This patch moves the functions that just do plain parsing, dumping,
    and FCS computation to a different file to avoid these dependencies
    if LLC stateful processing is not needed. It also exposes
    struct gprs_llc_hdr_parsed and enum gprs_llc_cmd publically.
    
    Sponsored-by: On-Waves ehf

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

commit 04a044f499ad7c6e79dad779aa8089a7a87e01e1
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon May 26 14:10:12 2014 +0200

    gprs: Use area terms LAI/RAI as defined in GSM 03.03
    
    Currently the terms 'Routing area code' (RAC) and 'Location area
    code' (LAC) are used in several places where 'Routing area
    identification' (RAI) or 'Location area identification' (LAI) are
    meant in fact.
    
    This patch replaces RAC/LAC by RAI/LAI and 'code' by 'identification'
    at these places.
    
    Note that RAI := MCC MNC LAC RAC, and RAC := MCC MNC LAC (see GSM
    03.03, sections 4.1 and 4.2).
    
    Sponsored-by: On-Waves ehf

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

commit 29fa30991ecc26b08d39db4202c5ecbc55089bea
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue May 27 14:23:57 2014 +0200

    gprs/test: Use valid MCC/MNC for BVC RESET
    
    The code currently uses an encoded sequence of (hex) 10 20 30 40 50
    60 as RAI, for which no bijective mapping to the set of
    representations MCC-MNC-LAC-RAC exists.
    
    This patch changes the hard-coded RAI to 11 22 33 40 50 60 which maps
    to 112-332-16464-96 (and vice-versa).
    
    Sponsored-by: On-Waves ehf

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

Summary of changes:
 openbsc/src/libbsc/abis_rsl.c        | 42 ++++++++++++++++++++++------------
 openbsc/src/libmgcp/mgcp_vty.c       |  2 +-
 openbsc/src/osmo-bsc/osmo_bsc_ctrl.c | 44 ++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 16 deletions(-)

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