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 "Osmocom code for Iuh interface".

The branch, master has been updated
       via  c964a2cfa1b08e5bbda5d721a7a0095d26b53791 (commit)
      from  e1c01a02624b12a5c6396d47902482fa97217b23 (commit)

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/osmo-iuh/commit/?id=c964a2cfa1b08e5bbda5d721a7a0095d26b53791

commit c964a2cfa1b08e5bbda5d721a7a0095d26b53791
Author: Stefan Sperling <ssperl...@sysmocom.de>
Date:   Mon Feb 19 17:02:12 2018 +0100

    ensure unique CellIDs in HNB-GW
    
    If we receive a HNB-REGISTER-REQ with a cell ID which is already used
    by another registered NNB, log an error and send HNB-REGISTER-REJECT.
    
    Tested manually by running two 'hnb-test' programs concurrently (they
    need to listen on different telnet ports; this port is hard-coded so
    I compiled two different hnb-test binaries).
    Then I issued the 'hnbap hnb register' command on the telnet interface
    of each, and verified that the correct action is logged by osmo-hnbgw.
    Both hnb-test programs can connect, but only one of them can register
    at a time. Killing a registered 'hnb-test' program terminates its
    connection and allows the previously rejected one to register.
    
    The new rejection log message looks like this:
     hnbgw_hnbap.c:429 rejecting HNB-REGISTER-REQ with duplicate cell
     identity MCC=901,MNC=99,LAC=49406,RAC=66,SAC=43947,CID=182250155
     from (r=127.0.0.1:42828<->l=127.0.0.1:29169)
    
    This change depends on a new API in libosmo-netif, which is added in
    https://gerrit.osmocom.org/#/c/6844/
    
    Change-Id: Iffd441eb2b6b75dfbe001b49b01bea015ca6e11c
    Depends: I8ed78fe39c463e9018756700d13ee5ebe003b57f
    Related: OS#2789

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

Summary of changes:
 include/osmocom/iuh/hnbgw.h |  6 ++++-
 src/hnbgw.c                 | 16 +++++++++----
 src/hnbgw_hnbap.c           | 57 ++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 73 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Osmocom code for Iuh interface

Reply via email to