libosmo-sccp.git branch laforge/sigtran updated.

gitosis at gitosis at
Sun Apr 9 16:58:10 UTC 2017

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 "SCCP Library".

The branch, laforge/sigtran has been updated
  discards  d717c7b27e1cd0b89c9557841c81f283494c1c08 (commit)
  discards  e153044015b46b77e8a5f1647979969f53a8f9d6 (commit)
  discards  0e5afc549bc9f8730a60e1a314647c0db0405f6c (commit)
  discards  a78667278ecb3221793f46d6da2aadf020772a7d (commit)
  discards  e2a0070e231a9ee1e49a7eff540abff0a78a5820 (commit)
  discards  8c527349526efbf7eb1360e1b8dbd81798d45dac (commit)
  discards  9321cca870f9ecf9c1d638d0a358eca8d7b3f497 (commit)
  discards  2005141cdd5f55398a23af9ef38e2d20847c8a3c (commit)
  discards  9d7fb9e4366b0baa2c3f2babc8e2d0ca51710dfb (commit)
  discards  73d909a8e835f9293a24cb92b78f9b0d8a163bed (commit)
  discards  a9c866162fcebffe025863b8d79a08d992ea92a7 (commit)
  discards  3ad71f86add3d85e794f8649d3c0cc9ecb963da0 (commit)
       via  a5f821f48bee316033a54e464b42153185491dac (commit)
       via  73721abcfbea522cd73e16dde40a97cfd8aa7965 (commit)
       via  5e2e5d3c74ffd9e13b3c977fbd5c7cacaada345f (commit)
       via  478d2a32b1953120b77fce191de3dbabba00c7cc (commit)
       via  1be6dcbe663e5838e7ddadcd80b688a3c04955f8 (commit)
       via  f07f17b6436ae1a26b22e858d61f8a67a53b3a15 (commit)
       via  effe38129255fb4ec46fef0f7a6f85d3064681a6 (commit)
       via  9bfd859055b882c720a1465c10899b04024f7c4c (commit)
       via  563a2b82281c62eda3b7d138773c93cf9e387913 (commit)
       via  30d9261233e94e5c00cac8458f85fd4f9704cdd4 (commit)
       via  6bdc20efb8200b3c1380d607dab8eea45c08c1a0 (commit)
       via  759fc0c094cfe9866a601e7f243b0d4bb79b4b62 (commit)
       via  2203f4f7c4cabf92706365d71f194a21826eb16a (commit)
       via  9db042e4ef86e7af0b90455510e4f3da78b74c21 (commit)
       via  255036bbf2b17f7fd5fbed7582f96b284e7c776e (commit)
       via  d67895bdba4679cfd978f6b7aca6da8f5d6f2471 (commit)
       via  867fb9f5abd8019a2cff2272789439986139f710 (commit)
       via  e3c228430cebbe21d93a03c25c4ac00ebde9226f (commit)
       via  7d651ab2854974c146725c391281d3d98fbba618 (commit)
       via  0137d93bf60cf5370f95d8f80531b762be8094f8 (commit)
       via  6295563140e5cc2c9a2a164a9489cdabe6ed22ae (commit)
       via  88d0af46ab8dc102b1284c74a5dd635ba028be08 (commit)
       via  56a4ac4ff02f4acb80c92847f7845d0215fcb640 (commit)
       via  384dda2113ab193274c130b1befe08ab9b49007a (commit)
       via  0ed90232e163ff039aec7e98813242f9ca74ae5a (commit)
       via  9c1c332a150db6ddf36d612e1c4a482d850aacf8 (commit)
       via  a9deabf1419a6514841be688d44242ee76f4f8f7 (commit)
       via  c71e28ee32ecb0fb081e140a18a511d86842df3f (commit)
       via  513c081e899d24991427383c386c5c29466bcdef (commit)
       via  163a9a2b13502dcab4c486984aae8d0a7d729b5d (commit)
       via  84c32863e5f33bf21763028414df7f35042f297b (commit)
       via  24ba61c0b2e648dc0bb2365f69fe452d796a66db (commit)
       via  6e809af02e46fbce404c42419dc2c881d2993d82 (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 (d717c7b27e1cd0b89c9557841c81f283494c1c08)
             N -- N -- N (a5f821f48bee316033a54e464b42153185491dac)

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 a5f821f48bee316033a54e464b42153185491dac
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 18:44:26 2017 +0200

    M3UA: Properly reject invalid/unknown routing context
    This was discovered (and fix validated) using m3ua-sgp-asptm-i-005 of
    Michael Tuexne's m3ua-testtool.
    Change-Id: I217ae287e22371e36dda0f87a7737b62fb1bf2d6

commit 73721abcfbea522cd73e16dde40a97cfd8aa7965
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 18:36:15 2017 +0200

    M3UA: Handle opportunistic ASPIA in INACTIVE state
    This was discovered (and fix validated) using m3ua-sgp-asptm-o-003
    of Michale Tuexen's m3ua-testtool.
    Change-Id: If231072655170fe52dae738882dd63b1d0a60cf9

commit 5e2e5d3c74ffd9e13b3c977fbd5c7cacaada345f
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 18:14:22 2017 +0200

    M3UA: Send opportunistic ASPACT-ACK to ASPACT-REQ in ACTIVE state
    This was discovered (and fix validated) using m3ua-sgp-asptm-o-001 of
    Michael Tuexen's m3ua-testtool.
    Change-Id: I6d254f7a33856e036329aa717a9c03efb1f1289d

commit 478d2a32b1953120b77fce191de3dbabba00c7cc
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 18:12:05 2017 +0200

    M3UA: Send "Unexpected Message" when receiving ASP_UP-ACK in ACTIVE
    Change-Id: Ibcda68b7acb02bf1580a832baff06ff21cbac713

commit 1be6dcbe663e5838e7ddadcd80b688a3c04955f8
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 18:10:19 2017 +0200

    M3UA: Make sure to reject unsupported traffic mode types
    This was discovered (and fix validated) using m3ua-sgp-asptm-i-004 of
    Michael Tuexen's m3ua-testtool.
    Change-Id: I76c01189b75ff3084cd4d3944314ec9b9f811dbf

commit f07f17b6436ae1a26b22e858d61f8a67a53b3a15
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 17:32:38 2017 +0200

    M3UA: Respond with "Unexpected Message" if ASPTM is received too soon
    This was discovered (and fix validated) using m3ua-sgp-aspsm-i-003
    of Michale Tuexen's m3ua-testtool.
    Change-Id: I8b63e7b5e39a7ef8dd66bf014110a04f5f3dc2a2

commit effe38129255fb4ec46fef0f7a6f85d3064681a6
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 14:57:24 2017 +0200

    osmo_sccp_make_addr_pc_ssn(): Set routing indicator
    When we crate a sccp address with PC+SSN, we should also set the routing
    indicator accordingly (OSMO_SCCP_RI_SSN_PC).
    Change-Id: Ie179df7158624520e90093da063c57f1e3efa0bd

commit 9bfd859055b882c720a1465c10899b04024f7c4c
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 14:29:37 2017 +0200

    osmo_ss7: Fix msgb memory leaks in error paths (asp not connected)
    Change-Id: I031d90348ea243ac5dbdde14365528f3ec8e3709

commit 563a2b82281c62eda3b7d138773c93cf9e387913
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 14:28:16 2017 +0200

    m3ua: Remove inbound routing context before routing
    After verifying the routing context of an incoming M3UA message, remove
    the routing context before passing into MTP routing.  In the forwarding
    case, we might want to set a new routing context on the outbound link,
    and we don't want the routing context IE to show up twice.
    Change-Id: I7a534cb1da275369c70766c059aaae8157ce6833

commit 30d9261233e94e5c00cac8458f85fd4f9704cdd4
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 11:51:58 2017 +0200

    osmo_ss7: default point-code format for parsing/printing without ss7_instance
    osmo_ss7_pointcode_print() osmo_ss7_pointcode_parse() etc. now support
    passing a NULL ss7-instance which will lead to application of the
    default ITU 3.8.3 point code format.
    Change-Id: Ifb739e92e31eaaa0343dc57c9af8c9164d00175f

commit 6bdc20efb8200b3c1380d607dab8eea45c08c1a0
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 15:01:56 2017 +0200

    send M-SCTP_ESTABLISH.ind to Layer Manager
    Change-Id: I2904f8ebd97036690ba8a9525b31354c0252123b

commit 759fc0c094cfe9866a601e7f243b0d4bb79b4b62
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 14:48:08 2017 +0200

    move layer_manager from xua_asp_fsm priv to osmo_ss7_asp
    ... this way it is publicly accessible/reachable
    Change-Id: I00ec1689bfb068b9067d893fdba14d12d59f73f0

commit 2203f4f7c4cabf92706365d71f194a21826eb16a
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 18:05:46 2017 +0200

    xua: report N-ERROR and N-NOTIFY primitives to layer manager
    Change-Id: I5c2060f0397d2bf510b085a5bb07e7ab176f2742

commit 9db042e4ef86e7af0b90455510e4f3da78b74c21
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 18:04:52 2017 +0200

    xua: move notfiy parameters from xua_internal to sigtran_sap and rename them
    Change-Id: I295b9d6755a4bb52a817d2791a302bdd9fc775dd

commit 255036bbf2b17f7fd5fbed7582f96b284e7c776e
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 21:45:50 2017 +0200

    Add M3UA RKM (routing key management) support, SGW side only
    Change-Id: I9b1cf438a42519c0fe2f555c1672fafa499122a1

commit d67895bdba4679cfd978f6b7aca6da8f5d6f2471
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 01:41:03 2017 +0200

    osmo_ss7: Add support for dynamic ASP registration
    if osmo_xua_server.cfg.accept_dyn_reg is set, then ASPs are permitted
    to connect without having a pre-configured matching ASP definition in
    the vty.  This helps particularly in cases where RKM is used for
    dynamica registration of a RC (and hence AS).
    Change-Id: Ie48898202acbdbfe144fdd5851dfedbb554b11aa

commit 867fb9f5abd8019a2cff2272789439986139f710
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 17:33:00 2017 +0200

    Add osmo_ss7_find_free_rctx() function to get unused rctx
    Change-Id: I0186e25a1b3a325c6b0e3f50ef1590c4de6dbef6

commit e3c228430cebbe21d93a03c25c4ac00ebde9226f
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 17:10:11 2017 +0200

    xua_msg: Add xua_from_nested() helper function for nested IEs
    Change-Id: If664ac20f43eb5c8e11bca6e61eb372e25613789

commit 7d651ab2854974c146725c391281d3d98fbba618
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 17:09:41 2017 +0200

    protocol/m3ua.h: Add definition for RKM reg/dereg result codes
    Change-Id: I16db7847e20501b89cc487029b29c8796b10bb84

commit 0137d93bf60cf5370f95d8f80531b762be8094f8
Author: Harald Welte <laforge at>
Date:   Sat Apr 8 23:36:30 2017 +0200

    sccp_scoc: Move osmo_prim_event_map to libosmocore
    Change-Id: Ic1f22ae2e8d786bfe4bbb84e8eb9f8ae4d93d899

commit 6295563140e5cc2c9a2a164a9489cdabe6ed22ae
Author: Harald Welte <laforge at>
Date:   Sat Apr 8 22:33:50 2017 +0200

    Allow clients to specify local IP/port
    Change-Id: Ief7ce8181442fd0f51c34cf598269ed3a6beacea

commit 88d0af46ab8dc102b1284c74a5dd635ba028be08
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 19:21:35 2017 +0200

    osmo_ss7: Fix segfault when routing MTP-TRANSFER.req to ASP without sctp connection
    Change-Id: I142a11b09672864b54b927b8334b1975c8cd6022

commit 56a4ac4ff02f4acb80c92847f7845d0215fcb640
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 18:44:14 2017 +0200

    m3ua_example: Add talloc reporting
    This can be used to check for memory leaks while running the example
    Change-Id: I87caa76a2be3c92c93e419242595107d744bad97

commit 384dda2113ab193274c130b1befe08ab9b49007a
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 18:43:22 2017 +0200

    Add osmo_sccp_get_ss7() accessor function
    as 'struct osmo_sccp_instance' is opaque to the user application, it is
    useful to have an accessor function that resolves the ss7 instance used
    by the SCCP instance.
    Change-Id: I8057a6d69584239b9781c5cece42066293ea1dd6

commit 0ed90232e163ff039aec7e98813242f9ca74ae5a
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 18:15:39 2017 +0200

    sigtran: fix various memory leaks (msgb and xua_msg)
    The general rule for 'struct xua_msg' is now that it is free'd by the
    function that also allocates it in the first place.  Any downstream
    consumer of the xua_msg may interpret it, but not hold any references or
    free() it.
    Change-Id: I708505d129da5824c69b31a13a9c93201929bada

commit 9c1c332a150db6ddf36d612e1c4a482d850aacf8
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 17:19:19 2017 +0200

    xua_srv_conn_cb(): Print sctp_recvmsg flags (line in xua_cli_conn_cb())
    Change-Id: I91920c6ad665abc791a1dbf386d52cf0aece9133

commit a9deabf1419a6514841be688d44242ee76f4f8f7
Author: Harald Welte <laforge at>
Date:   Fri Apr 7 17:19:37 2017 +0200

    xua_cli_conn_cb: Print flags as hex, not decimal.
    Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6

commit c71e28ee32ecb0fb081e140a18a511d86842df3f
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 08:49:56 2017 +0200

    xua_as_fsm: Include routing context (if configured) in NTFY message
    Change-Id: I15e8bf5cee194f9924d0eab9cff0e7c25daa6dde

commit 513c081e899d24991427383c386c5c29466bcdef
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 01:21:05 2017 +0200

    xua_asp_fsm: Always return BEAT-ACK for BEAT, including BEAT DATA IE
    The RFCs say we *must* always respond to the optional heartbeat message,
    and we must return a verbatim copy of the heartbeat data IE.
    This was discovered (and fix validated) using m3ua-sgp-asptm-v-011 of
    Michael Tuexen's m3ua-testtool.
    Change-Id: I836e0940a8dbb0f55ddf132202a5f0d51473b82d

commit 163a9a2b13502dcab4c486984aae8d0a7d729b5d
Author: Harald Welte <laforge at>
Date:   Thu Apr 6 00:29:45 2017 +0200

    m3ua: Include RC IE of AS in Tx; validate RC IE on Rx
    Change-Id: I7db36a23185f82d8d68e318afe89ec5127c40333

commit 84c32863e5f33bf21763028414df7f35042f297b
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 22:32:13 2017 +0200

    add converter functions between osmo_ss7 and m3ua traffic mode types
    Change-Id: I6cc9530d7d2812cbc8feb6e9db51902865ebfe83

commit 24ba61c0b2e648dc0bb2365f69fe452d796a66db
Author: Harald Welte <laforge at>
Date:   Wed Apr 5 22:31:50 2017 +0200

    osmo_ss7: make OVERRIDE the default traffic mode type (0)
    Change-Id: Ie83fa0a403dcfc582d6bb59ec08d6a719d2f6398

commit 6e809af02e46fbce404c42419dc2c881d2993d82
Author: Harald Welte <laforge at>
Date:   Tue Apr 4 22:22:42 2017 +0200

    sccp: add osmo_sccp_user_{get,set}_priv() API function
    As 'struct osmo_sccp_user' is private, we need this accessor functions
    for the SCCP User so it can set and get the 'priv' data.
    Change-Id: Ia68a36dc18a7d754d63ae29c86d68e495b5c4134


Summary of changes:
 examples/m3ua_example.c                 |   2 +-
 include/osmocom/sigtran/osmo_ss7.h      |  25 ++-
 include/osmocom/sigtran/protocol/m3ua.h |  26 +++
 include/osmocom/sigtran/sccp_sap.h      |   1 +
 include/osmocom/sigtran/sigtran_sap.h   |  18 ++
 include/osmocom/sigtran/xua_msg.h       |   2 +
 src/                         |   2 +-
 src/m3ua.c                              |  34 +++-
 src/osmo_ss7.c                          | 131 ++++++++++-----
 src/osmo_ss7_hmrt.c                     |   6 +-
 src/sccp_helpers.c                      |   1 +
 src/sccp_sclc.c                         |   7 +-
 src/sccp_scoc.c                         |  38 +----
 src/sccp_scrc.c                         |  46 ++----
 src/sccp_user.c                         |  10 +-
 src/sua.c                               |   5 +-
 src/xua_as_fsm.c                        |   6 +-
 src/xua_asp_fsm.c                       | 118 +++++++++----
 src/xua_internal.h                      |  25 ++-
 src/xua_msg.c                           |   5 +
 src/xua_rkm.c                           | 284 ++++++++++++++++++++++++++++++++
 21 files changed, 605 insertions(+), 187 deletions(-)
 create mode 100644 src/xua_rkm.c

SCCP Library

More information about the osmocom-commitlog mailing list