Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-404-gbf72069
From: [email-masked]
To: [email-masked]
Date: Mon, 2 Jun 2014 12:29:41 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  bb7dbcd07e59e2c278699ca1872e6225ee2047e0 (commit)
  discards  450cebd4622dda8d337b0a426dd4bd20480ce585 (commit)
  discards  ccd28c016ea95d7a40d8a524f965a745e1813abf (commit)
  discards  19baa7f03e52a2be0f6e9db0df782db3d7de68d4 (commit)
  discards  4e94b4802f4e36f4f02d34fdd4a596a7bc7bc1f9 (commit)
       via  bf720696533db77748b14385b3d1d8696b696c82 (commit)
       via  59203bc29d69103175097a75981c71073ed22273 (commit)
       via  7be4a13e92bdc63c74741d79e06de257b955b953 (commit)
       via  04a36e5ceba0c8a3945dc1dd68175238d0ea4bab (commit)
       via  03c7689c46adb29b260562c0511473388c7d12b3 (commit)
       via  6d3a221a12defa741c4b833295efed034c563b08 (commit)
       via  cc237cef96881fdc303754bbd82eee5e9ca6a1ca (commit)
       via  fba5caf6f5dcbef28f697a8d47497035af475589 (commit)
       via  c380a44b731996240534c231dbebcb1420818382 (commit)
       via  4f0381b1c32a7d238d5ef1bb3146ec5f299c0e9e (commit)
       via  b691bf1d54231a1bbabe7b4d7083603f9841d7de (commit)
       via  f6b61e61543959482731f2042584773b7fa0d7be (commit)
       via  ee41ecff98379e38c2dcfb35c86ae8bd19c7b811 (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 (bb7dbcd07e59e2c278699ca1872e6225ee2047e0)
            \
             N -- N -- N (bf720696533db77748b14385b3d1d8696b696c82)

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=bf720696533db77748b14385b3d1d8696b696c82

commit bf720696533db77748b14385b3d1d8696b696c82
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=59203bc29d69103175097a75981c71073ed22273

commit 59203bc29d69103175097a75981c71073ed22273
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=7be4a13e92bdc63c74741d79e06de257b955b953

commit 7be4a13e92bdc63c74741d79e06de257b955b953
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=04a36e5ceba0c8a3945dc1dd68175238d0ea4bab

commit 04a36e5ceba0c8a3945dc1dd68175238d0ea4bab
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=03c7689c46adb29b260562c0511473388c7d12b3

commit 03c7689c46adb29b260562c0511473388c7d12b3
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=6d3a221a12defa741c4b833295efed034c563b08

commit 6d3a221a12defa741c4b833295efed034c563b08
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=cc237cef96881fdc303754bbd82eee5e9ca6a1ca

commit cc237cef96881fdc303754bbd82eee5e9ca6a1ca
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=fba5caf6f5dcbef28f697a8d47497035af475589

commit fba5caf6f5dcbef28f697a8d47497035af475589
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=c380a44b731996240534c231dbebcb1420818382

commit c380a44b731996240534c231dbebcb1420818382
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/include/openbsc/mgcp_internal.h |   4 +-
 openbsc/src/gprs/gb_proxy.c             | 950 +++++++++++++++++++-------------
 openbsc/src/gprs/gb_proxy_vty.c         |  12 +-
 openbsc/src/libbsc/abis_rsl.c           |   1 -
 openbsc/src/libmgcp/mgcp_protocol.c     |   2 +-
 openbsc/tests/channel/channel_test.c    |   5 +-
 openbsc/tests/gbproxy/gbproxy_test.c    |  65 ++-
 openbsc/tests/gbproxy/gbproxy_test.ok   | 312 +++++++----
 8 files changed, 814 insertions(+), 537 deletions(-)

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