openbsc.git branch neels/gtphub updated. 0.15.0-73-g88d06ca

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
Thu Nov 26 03:06:15 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
       via  88d06caa712a3fd40960c0d11d45373dc9341659 (commit)
       via  2d228573f2df28be5d185d8d93ec3b887f526eb7 (commit)
       via  f0dc0f3bd9d702c59d46cd358ba9915377136cfc (commit)
      from  ad51b759181064c87f26ed702c16d3edc3bc12ec (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/openbsc/commit/?id=88d06caa712a3fd40960c0d11d45373dc9341659

commit 88d06caa712a3fd40960c0d11d45373dc9341659
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Nov 26 03:33:29 2015 +0100

    gtphub: track tunnels explicitly.
    
    So far, gtphub worked perfectly by only tracking single TEIs ... for probably
    most uses. But a Ctrl plane tunnel may have expired despite a still active
    corresponding User plane tunnel. The User plane would continue to work
    indefinitely, but if any Ctrl messages followed after more than six hours of
    Ctrl silence, they would have been dropped due to an expired TEI mapping.
    
    We want to
    - combine expiry of a user TEI with its ctrl TEI. (done in this patch)
    - upon delete PDP context, remove both user and ctrl TEI mappings. (future)
    - when a peer indicates a restart counter bump, invalidate its tunnels.
      (future)
    
    To facilitate these, track tunnels, complete with both SGSN's and GGSN's
    address, original and replaced TEIs, all for both user and ctrl plane, in a
    single struct. A single expiry entry handles the entire tunnel, instead of
    previously four separate expiries for each endpoint identifier.
    
    Add the concept of a "side", being either GGSN or SGSN.
    
    Track the originating side in the gtp_packet_desc. For clarity, explicitly
    track the received header TEI in header_tei_rx, since set_tei() overwrites
    header_tei to reflect the packet's replaced header TEI, and the originally
    received header TEI still needs to be used for matching a Create PDP Context
    Response up with its Request (and for logging).
    
    Adjust the test suite to expect tunnel listing strings instead of TEI mappings,
    with a bonus of making it a lot easier to grok and including the IP addresses.
    
    Note: the current implementation is as slow as can possibly be, iterating all
    the tunnels all the time. Optimizations are kept for a future commit, on
    purpose.
    
    BTW, the sequence number mapping/unmapping structures remain unchanged.
    
    Sponsored-by: On-Waves ehi

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

commit 2d228573f2df28be5d185d8d93ec3b887f526eb7
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 25 16:50:19 2015 +0100

    gtphub: fix filename mentioned in comment

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

commit f0dc0f3bd9d702c59d46cd358ba9915377136cfc
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 25 16:45:59 2015 +0100

    gtphub: cosmetic/prepare: rename expiry queues.
    
    The expiry queues are already used for resolved GGSN addresses, and will
    soon enlist tunnel structs. Hence the naming should be more general.

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

Summary of changes:
 openbsc/include/openbsc/gtphub.h   |  43 ++++-
 openbsc/src/gprs/gtphub.c          | 338 ++++++++++++++++++++++++++++++-------
 openbsc/src/gprs/gtphub_ares.c     |   2 +-
 openbsc/src/gprs/gtphub_vty.c      | 158 ++++++++---------
 openbsc/tests/gtphub/gtphub_test.c |  73 +++++---
 5 files changed, 434 insertions(+), 180 deletions(-)


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



More information about the osmocom-commitlog mailing list