openbsc.git branch neels/gtphub updated. 0.15.0-31-gc25dae9

gitosis at gitosis at
Wed Nov 11 13:50:34 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  99a70b6cbbb8b9c48a1ba190ddccc2c839c6e705 (commit)
       via  c25dae97d4f4857e1261b860ff81c9aa31ceaca8 (commit)
       via  dfe78e3d17c10c7ef1bb5b822cd44badf25f30eb (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 (99a70b6cbbb8b9c48a1ba190ddccc2c839c6e705)
             N -- N -- N (c25dae97d4f4857e1261b860ff81c9aa31ceaca8)

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

commit c25dae97d4f4857e1261b860ff81c9aa31ceaca8
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Nov 11 14:01:06 2015 +0100

    gtphub: fix handling of sender from nonstandard port.
    Allow a peer sending from an unknown port but a known address, and just
    create the port (and unmap the seq nr back to this port later to return
    the response to the sender).
    Only an SGSN on the Ctrl plane is allowed to make the very first contact
    from an unknown address.

commit dfe78e3d17c10c7ef1bb5b822cd44badf25f30eb
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Nov 11 00:45:50 2015 +0100

    gtphub: fix User plane decoding, add unit test.
    Split decoding return code GTP_RC_PDU in GTP_RC_PDU_C and GTP_RC_PDU_U.
    Don't do IEs in GTP_RC_PDU_U.
    Add a unit test for User plane data, expected to fail (nonstandard port case).
    In gtphub_test.c, tweak logging so that it is easily visible which test
    produced which output. Also add the global resolved_sgsn_addr and ggsn_sender,
    symmetrically to resolved_ggsn_add and sgsn_sender.
    Sponsored-by: On-Waves ehi


Summary of changes:
 openbsc/src/gprs/gtphub.c           | 64 ++++++++++++++++++++++++-----
 openbsc/tests/gtphub/gtphub_test.c  | 81 +++++++++++++++++++++++++++++++------
 openbsc/tests/gtphub/gtphub_test.ok | 10 ++++-
 3 files changed, 130 insertions(+), 25 deletions(-)

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list