openbsc.git branch neels/gtphub updated. 0.15.0-68-g4cde7cb

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Mon Nov 23 13:37:56 UTC 2015


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, neels/gtphub has been updated
  discards  3747d8553f028b0857a0ca71c7170a8936ff1602 (commit)
  discards  6bc37b2a774d62c0d7ce140344d9ce64326a83bd (commit)
  discards  c571a0550f912b7a2ebe85c45143471dd187a660 (commit)
  discards  d0073ad283c652a9ec1c05dd0bf0b623a6c9e97d (commit)
  discards  131fc4edf6301f712d0afaf3e3072dc45de13cb5 (commit)
  discards  0fd87fd88965c25bb9e0ec7c67012706d6ff8e83 (commit)
  discards  d4237299ec335497df47979faf4bcd498eeac252 (commit)
  discards  d7f934218dbe41f0ef8d2f217bfac26d5df466fe (commit)
  discards  fd79faead12ae06f1c187bcb962a801f8a250252 (commit)
  discards  9eb20d33ba59fee35c0a91b0e2b24452d2be423c (commit)
  discards  c113189009c69fcefe42a245107503ec723502b6 (commit)
  discards  493d49b98e52978917b4a01eaeb5ea7489c419f4 (commit)
  discards  9f50c610b9b2851defb9323bff402edebe1420e4 (commit)
  discards  5d60b06c58b1b3849c7b56991e722bcd11767783 (commit)
  discards  84f8f38b5c1cd7ceeaafc221987421943e7a2040 (commit)
       via  4cde7cb8ea5667afce800970ffc2945f3ba1cd75 (commit)
       via  356d231b1cdb5eb1fafdfac9d8378039b88ee3a2 (commit)
       via  5f0796331427fc48a9f04147ca38ef4309216b4c (commit)
       via  d2c292fdf2cf0c7fa949007b29c14716292653c8 (commit)
       via  8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce (commit)
       via  fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f (commit)
       via  f67625170594f7b167da5859d6df3cfa93a0e2d6 (commit)
       via  ee8903a9883bd2e5bd80214bb3615edec2c77b8d (commit)
       via  c10068a843415610ddf5a3e5bb1d20c563b78815 (commit)
       via  14a0c123d41bbea39cd241f197838514cbcfdc72 (commit)
       via  744411d58ca51a26202baca6906e0cc6987d1b6c (commit)
       via  4fe3b009ab21a2a910d7dbe581bc927b86fa7820 (commit)
       via  5560de4a426f9a0aed7e5d78a59f871504cdb7a4 (commit)
       via  e51e687880aa82c37554c302251f357d502d8a58 (commit)
       via  d0ccf2c1e297df7c10c11a4b8d252636c569602a (commit)
       via  835a3220f449aed048a97dee581d3feddb552fd3 (commit)
       via  3b480dfc5eab36337ccd614e7383e772ac6236ee (commit)
       via  e9b541ceede3503ea6de5f870e904af1e0a9e675 (commit)
       via  6a8cbe9718d2fdf2c0ace0b70508de6e0a406345 (commit)
       via  97b6bfa996ed1745d27c5598186c4583f7e90861 (commit)
       via  1b9c815024a1f863d83b70d0bb48c513f8e4cbeb (commit)
       via  557c84e9f7d3273734685049f628d65a035265c7 (commit)
       via  a2bbc5ec0e6481bb5b65da7bdbde03a424437af4 (commit)
       via  ae2c18c57b5b8d2133a42297fb7ce02a8f332cce (commit)
       via  0d21ac8f5a4563e10d887e610a8cffff2a5672b8 (commit)
       via  24e3c3e13657210f2ac5f41942da82341ff7b25d (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 (3747d8553f028b0857a0ca71c7170a8936ff1602)
            \
             N -- N -- N (4cde7cb8ea5667afce800970ffc2945f3ba1cd75)

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=4cde7cb8ea5667afce800970ffc2945f3ba1cd75

commit 4cde7cb8ea5667afce800970ffc2945f3ba1cd75
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:37:09 2015 +0100

    gtphub: test TEI refreshing

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

commit 356d231b1cdb5eb1fafdfac9d8378039b88ee3a2
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:19:24 2015 +0100

    vty

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

commit 5f0796331427fc48a9f04147ca38ef4309216b4c
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:18:05 2015 +0100

    refresh TEI

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

commit d2c292fdf2cf0c7fa949007b29c14716292653c8
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 05:51:32 2015 +0100

    tei map histogram

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

commit 8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 04:20:47 2015 +0100

    tei stats

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

commit fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 03:16:19 2015 +0100

    vty_show

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

commit f67625170594f7b167da5859d6df3cfa93a0e2d6
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:28:40 2015 +0100

    gtphub: add first rate counters

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

commit ee8903a9883bd2e5bd80214bb3615edec2c77b8d
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:27:22 2015 +0100

    gtphub: cosmetic: bind pointer clarification.
    
    Partly in preparation for upcoming rate counters.

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

commit c10068a843415610ddf5a3e5bb1d20c563b78815
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:08:28 2015 +0100

    gtphub: add explicit cleanup handles.
    
    Clean up functionality is added for the test suite only, to be able to clean
    out all allocations and test against memory leaks.
    
    So far, it was sufficient to expire everything to free a gtphub. In preparation
    for the upcoming rate counters, which will need to be freed explicitly, add
    gtphub functions to clean up everything.
    
    As added bonus, also close the sockets explicitly -- not really needed upon
    program exit, neither by the test suite, but *if* we have a cleanup function,
    it should clean up everything properly.
    
    Closing the sockets is however kept separate, for the test suite.
    gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
    and gtphub_init() and gtphub_free() are for the test suite, without sockets.
    
    In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
    expire everything by timeout, assert emptiness, then call the cleanup function.
    Call from each test in the end.
    
    Sponsored-by: On-Waves ehi

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

commit 14a0c123d41bbea39cd241f197838514cbcfdc72
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:04:41 2015 +0100

    gtphub: ensure cleanup of peer addresses.
    
    Upon calling gtphub_peer_del(), all addresses and ports should already have
    expired (by force). Make sure the code heeds that with a so far missing
    assertion.

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

commit 744411d58ca51a26202baca6906e0cc6987d1b6c
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Nov 19 00:44:52 2015 +0100

    gtphub: always send gtphub's own restart counter.

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

commit 4fe3b009ab21a2a910d7dbe581bc927b86fa7820
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:32 2015 +0100

    gtphub: ares vty and init
    
    From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
    sgsn_instance.
    
    This is sort of preliminary. As described in comments, the sgsn_ares functions
    should actually be separated from the static sgsn structure. gtphub keeps such
    an sgsn structure just for the sgsn_ares functions.

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

commit 5560de4a426f9a0aed7e5d78a59f871504cdb7a4
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:09 2015 +0100

    gtphub: review some logging.
    
    Sponsored-by: On-Waves ehi

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

commit e51e687880aa82c37554c302251f357d502d8a58
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 17:53:00 2015 +0100

    gtphub: cosmetic: rename a file.
    
    gtphub_ext.c's initial purpose was to wrap a specific function. The file
    then turned into everything related to DNS, which fits pretty well. Rename
    to gtphub_ares.c.
    
    Tweak the header comment to reflect the new file name.
    
    Sponsored-by: On-Waves ehi

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

commit d0ccf2c1e297df7c10c11a4b8d252636c569602a
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 17:09:22 2015 +0100

    gtphub: properly add to debian build
    
    Copy all osmo-sgsn related things in debian and s/sgsn/gtphub/g (manually).
    
    Sponsored-by: On-Waves ehi

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

commit 835a3220f449aed048a97dee581d3feddb552fd3
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:30:37 2015 +0100

    gtphub: nr_map: add min,max and wrap.
    
    Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
    and create unit tests for nr_map wrapping.
    
    Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
    Both cause problems when the nr_pool surpasses the range: seq exit their valid
    range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
    
    Add a comment about TEI wrapping, and lose the comment about random TEIs (not
    really important).
    
    Sponsored-by: On-Waves ehi

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

commit 3b480dfc5eab36337ccd614e7383e772ac6236ee
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:24:46 2015 +0100

    gtphub: fix number map range for TEIs.
    
    Use unsigned int for nr_map, just large enough to fit the TEI space.
    Adjust log output formats and casts accordingly.
    
    Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
    from 0x80000000 on to be handled and printed as a negative value.
    
    Sponsored-by: On-Waves ehi

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

commit e9b541ceede3503ea6de5f870e904af1e0a9e675
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:21:05 2015 +0100

    gtphub: lose obsolete comment.
    
    The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
    anyway separated from nr_map, so this comment is void.
    
    Sponsored-by: On-Waves ehi

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

Summary of changes:
 openbsc/configure.ac                      |  2 +-
 openbsc/include/openbsc/Makefile.am       |  2 +-
 openbsc/include/openbsc/gsm_data.h        |  2 +-
 openbsc/include/openbsc/gsm_data_shared.h |  8 ++--
 openbsc/include/openbsc/gtphub.h          | 10 ++++-
 openbsc/src/gprs/Makefile.am              |  3 +-
 openbsc/src/gprs/gtphub.c                 | 62 +++++++++++++++++++------------
 openbsc/src/gprs/gtphub_vty.c             | 32 +++++++++++++++-
 openbsc/src/ipaccess/ipaccess-config.c    |  2 +-
 openbsc/src/libbsc/bsc_init.c             |  4 +-
 openbsc/src/libbsc/bsc_vty.c              | 32 ++++------------
 openbsc/src/libcommon/gsm_data.c          |  3 +-
 openbsc/src/utils/bs11_config.c           |  2 +-
 openbsc/src/utils/meas_db.c               |  1 +
 openbsc/tests/Makefile.am                 |  7 +++-
 openbsc/tests/gtphub/gtphub_test.c        | 24 +++++++++++-
 openbsc/tests/smpp/Makefile.am            |  5 ++-
 17 files changed, 130 insertions(+), 71 deletions(-)


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



More information about the osmocom-commitlog mailing list