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, master has been updated
via 9ecb11bd6d3a776174f8f2b119cf60b91ed38698 (commit)
via 0be0a4e035dd2b2d2f9abbae674d333f43ca3b3b (commit)
via 63c6cb27a639bfc0adf9d6faac7cff6e86040029 (commit)
via 1710c7e71f679117d76580c339b362679e6e59f2 (commit)
via 440771f18a2891d651eb2220b8f879bd1318e601 (commit)
via 312fd7e4b90d9857415b8892323b0568c49c6e47 (commit)
via fbb2bddce6e346e999eb37dc14941adfdc41c932 (commit)
via 2cef54f4cc400fde3ae95eb5eead203be906bf77 (commit)
via 6f8c84b27ecd83a87ff160b370aeab5c553527fb (commit)
via f21eaabe24bf77d4e38a0597ad7640dc763d06f6 (commit)
via dde5fda5135dd2e4c3a95f5914cda5e13747df9d (commit)
via 632ab5a35921497d87abe3714bb2a6128948dcbb (commit)
via 72f12f75436bad7bfd78e883d7b412750f1bbfba (commit)
via ac00448f199bb2f5cdc7c99ad70784300aa01683 (commit)
via e2d1cc8b0ece7c0475cee6e23634bbffd080b6a2 (commit)
via 082dc7f170474226f3f3805069f868c3d346724e (commit)
via d36571a776570bb2b99fc9fd9bcbc56cb703e763 (commit)
via 02e7530671e4880cd6b886acfa050b2902b53bd0 (commit)
via 3e463a3862b5bcf84fd29ab0c748f1edee832fef (commit)
via 4e818c3cfdc625881461876e1702ea60545abeae (commit)
via a5b5dac5b39295573b5f36fa63ac581b41228acf (commit)
via a40df808d5121b3807b0fe95168ae1035163792f (commit)
via 1e25c3a0aca062b0cbcac422393ced64f14f4abd (commit)
via 5c3baf86f2fa2b605c88e90bb72f8f1670335067 (commit)
via 9aee15c23d80719ce50d3d215981c58f8d1d7007 (commit)
via 07903bb2aded5472e617cfb30a1fdc0e9f5d6f99 (commit)
via 30c2b89925232a2972e7b704e96446f6a511f4b2 (commit)
via c860f9a41e4edde38f6fb5a98775ab9194212216 (commit)
via ca88edb0fdbb73b4d9e29d78975ee755f9c1853e (commit)
via 48b15e921d369aa83f654252b4ae4eabb88c9fbe (commit)
via 6144da9be8942bdf21ff9ea55e4689f989ad683f (commit)
via 55674b8d69c06129a40564d7ff85809de6cf5535 (commit)
via d11fa298c5f179a03307c185b0d433e6ba61d40f (commit)
via 30d4c71b408f8bf557c789cdd51be506e666fd55 (commit)
via 1abd3ad1bb660b3e2b83926628cc9b78d59edec9 (commit)
via c9c11b6cfdc8b042b22e69f8a37af2bb24709e93 (commit)
from 4881c5c1696e896cf4fdde4008856b082956a8b4 (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/libosmo-sccp/commit/?id=9ecb11bd6d3a776174f8f2b119c…
commit 9ecb11bd6d3a776174f8f2b119cf60b91ed38698
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Apr 8 22:33:50 2017 +0200
Allow clients to specify local IP/port
Change-Id: Ief7ce8181442fd0f51c34cf598269ed3a6beacea
http://cgit.osmocom.org/libosmo-sccp/commit/?id=0be0a4e035dd2b2d2f9abbae674…
commit 0be0a4e035dd2b2d2f9abbae674d333f43ca3b3b
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 19:43:55 2017 +0200
m3ua: cosmetic clanup. We can simply return the M3UA errror code
Change-Id: I6ed04a4f78e618938484aeab62dbcfb3f310998d
http://cgit.osmocom.org/libosmo-sccp/commit/?id=63c6cb27a639bfc0adf9d6faac7…
commit 63c6cb27a639bfc0adf9d6faac7cff6e86040029
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 19:41:28 2017 +0200
M3UA: Reject Message Class XFER / Type != DATA
This was discovered (and fix validated) using m3ua-sgp-mtr-i-003 of
Michael Tuexen's m3ua-testtol.
Change-Id: I7498f606b031f5a6dfb538d9900c744da6aed36f
http://cgit.osmocom.org/libosmo-sccp/commit/?id=1710c7e71f679117d76580c339b…
commit 1710c7e71f679117d76580c339b362679e6e59f2
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 19:36:21 2017 +0200
M3UA: Ensure XFER messages are not sent on stream 0
According to the RFC, Stream ID 0 MUST not be used for XFER/DATA
messages.
This was discovered (and fix validated) using m3ua-sgp-mtr-v-003-alternate
of Michale Tuexen's m3ua-testtool.
Change-Id: I80b941426b5106e091bd1becff0ae97958aff97c
http://cgit.osmocom.org/libosmo-sccp/commit/?id=440771f18a2891d651eb2220b8f…
commit 440771f18a2891d651eb2220b8f879bd1318e601
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=312fd7e4b90d9857415b8892323…
commit 312fd7e4b90d9857415b8892323b0568c49c6e47
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=fbb2bddce6e346e999eb37dc149…
commit fbb2bddce6e346e999eb37dc14941adfdc41c932
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=2cef54f4cc400fde3ae95eb5eea…
commit 2cef54f4cc400fde3ae95eb5eead203be906bf77
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 18:12:05 2017 +0200
M3UA: Send "Unexpected Message" when receiving ASP_UP-ACK in ACTIVE
Change-Id: Ibcda68b7acb02bf1580a832baff06ff21cbac713
http://cgit.osmocom.org/libosmo-sccp/commit/?id=6f8c84b27ecd83a87ff160b370a…
commit 6f8c84b27ecd83a87ff160b370aeab5c553527fb
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=f21eaabe24bf77d4e38a0597ad7…
commit f21eaabe24bf77d4e38a0597ad7640dc763d06f6
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=dde5fda5135dd2e4c3a95f5914c…
commit dde5fda5135dd2e4c3a95f5914cda5e13747df9d
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=632ab5a35921497d87abe3714bb…
commit 632ab5a35921497d87abe3714bb2a6128948dcbb
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 14:29:37 2017 +0200
osmo_ss7: Fix msgb memory leaks in error paths (asp not connected)
Change-Id: I031d90348ea243ac5dbdde14365528f3ec8e3709
http://cgit.osmocom.org/libosmo-sccp/commit/?id=72f12f75436bad7bfd78e883d7b…
commit 72f12f75436bad7bfd78e883d7b412750f1bbfba
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=ac00448f199bb2f5cdc7c99ad70…
commit ac00448f199bb2f5cdc7c99ad70784300aa01683
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=e2d1cc8b0ece7c0475cee6e2363…
commit e2d1cc8b0ece7c0475cee6e23634bbffd080b6a2
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Apr 7 15:01:56 2017 +0200
send M-SCTP_ESTABLISH.ind to Layer Manager
Change-Id: I2904f8ebd97036690ba8a9525b31354c0252123b
http://cgit.osmocom.org/libosmo-sccp/commit/?id=082dc7f170474226f3f3805069f…
commit 082dc7f170474226f3f3805069f868c3d346724e
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=d36571a776570bb2b99fc9fd9bc…
commit d36571a776570bb2b99fc9fd9bcbc56cb703e763
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Apr 6 18:05:46 2017 +0200
xua: report N-ERROR and N-NOTIFY primitives to layer manager
Change-Id: I5c2060f0397d2bf510b085a5bb07e7ab176f2742
http://cgit.osmocom.org/libosmo-sccp/commit/?id=02e7530671e4880cd6b886acfa0…
commit 02e7530671e4880cd6b886acfa050b2902b53bd0
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=3e463a3862b5bcf84fd29ab0c74…
commit 3e463a3862b5bcf84fd29ab0c748f1edee832fef
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 9 20:44:40 2017 +0200
M3UA: RKM DEREG-REQ should contain routing context, not routing key
The mandatory IE checking is requiring the wrong IE
Change-Id: I73ecd163e2143341687ee4bca15a0bc69719c594
http://cgit.osmocom.org/libosmo-sccp/commit/?id=4e818c3cfdc625881461876e170…
commit 4e818c3cfdc625881461876e1702ea60545abeae
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 21:45:50 2017 +0200
Add M3UA RKM (routing key management) support, SGW side only
Change-Id: I9b1cf438a42519c0fe2f555c1672fafa499122a1
http://cgit.osmocom.org/libosmo-sccp/commit/?id=a5b5dac5b39295573b5f36fa63a…
commit a5b5dac5b39295573b5f36fa63ac581b41228acf
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=a40df808d5121b3807b0fe95168…
commit a40df808d5121b3807b0fe95168ae1035163792f
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 17:33:00 2017 +0200
Add osmo_ss7_find_free_rctx() function to get unused rctx
Change-Id: I0186e25a1b3a325c6b0e3f50ef1590c4de6dbef6
http://cgit.osmocom.org/libosmo-sccp/commit/?id=1e25c3a0aca062b0cbcac422393…
commit 1e25c3a0aca062b0cbcac422393ced64f14f4abd
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 17:10:11 2017 +0200
xua_msg: Add xua_from_nested() helper function for nested IEs
... and add a test case to ensure it continues to work.
Change-Id: Iee434886598b528d23ddce0490dcc782e0f5d6ae
http://cgit.osmocom.org/libosmo-sccp/commit/?id=5c3baf86f2fa2b605c88e90bb72…
commit 5c3baf86f2fa2b605c88e90bb72f8f1670335067
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 17:09:41 2017 +0200
protocol/m3ua.h: Add definition for RKM reg/dereg result codes
Change-Id: I16db7847e20501b89cc487029b29c8796b10bb84
http://cgit.osmocom.org/libosmo-sccp/commit/?id=9aee15c23d80719ce50d3d21598…
commit 9aee15c23d80719ce50d3d215981c58f8d1d7007
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=07903bb2aded5472e617cfb30a1…
commit 07903bb2aded5472e617cfb30a1fdc0e9f5d6f99
Author: Harald Welte <laforge(a)gnumonks.org>
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
code.
Change-Id: I87caa76a2be3c92c93e419242595107d744bad97
http://cgit.osmocom.org/libosmo-sccp/commit/?id=30c2b89925232a2972e7b704e96…
commit 30c2b89925232a2972e7b704e96446f6a511f4b2
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=c860f9a41e4edde38f6fb5a9877…
commit c860f9a41e4edde38f6fb5a98775ab9194212216
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=ca88edb0fdbb73b4d9e29d78975…
commit ca88edb0fdbb73b4d9e29d78975ee755f9c1853e
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=48b15e921d369aa83f654252b4a…
commit 48b15e921d369aa83f654252b4ae4eabb88c9fbe
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Apr 7 17:19:37 2017 +0200
xua_cli_conn_cb: Print flags as hex, not decimal.
Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
http://cgit.osmocom.org/libosmo-sccp/commit/?id=6144da9be8942bdf21ff9ea55e4…
commit 6144da9be8942bdf21ff9ea55e4689f989ad683f
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Apr 6 08:49:56 2017 +0200
xua_as_fsm: Include routing context (if configured) in NTFY message
Change-Id: I15e8bf5cee194f9924d0eab9cff0e7c25daa6dde
http://cgit.osmocom.org/libosmo-sccp/commit/?id=55674b8d69c06129a40564d7ff8…
commit 55674b8d69c06129a40564d7ff85809de6cf5535
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=d11fa298c5f179a03307c185b0d…
commit d11fa298c5f179a03307c185b0d433e6ba61d40f
Author: Harald Welte <laforge(a)gnumonks.org>
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
http://cgit.osmocom.org/libosmo-sccp/commit/?id=30d4c71b408f8bf557c789cdd51…
commit 30d4c71b408f8bf557c789cdd51be506e666fd55
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 22:32:13 2017 +0200
add converter functions between osmo_ss7 and m3ua traffic mode types
Change-Id: I6cc9530d7d2812cbc8feb6e9db51902865ebfe83
http://cgit.osmocom.org/libosmo-sccp/commit/?id=1abd3ad1bb660b3e2b83926628c…
commit 1abd3ad1bb660b3e2b83926628cc9b78d59edec9
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Wed Apr 5 22:31:50 2017 +0200
osmo_ss7: make OVERRIDE the default traffic mode type (0)
Change-Id: Ie83fa0a403dcfc582d6bb59ec08d6a719d2f6398
http://cgit.osmocom.org/libosmo-sccp/commit/?id=c9c11b6cfdc8b042b22e69f8a37…
commit c9c11b6cfdc8b042b22e69f8a37af2bb24709e93
Author: Harald Welte <laforge(a)gnumonks.org>
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 | 31 +++-
examples/sccp_test_server.c | 3 +
examples/sccp_test_vty.c | 1 +
include/osmocom/sigtran/osmo_ss7.h | 30 +++-
include/osmocom/sigtran/protocol/m3ua.h | 32 ++++
include/osmocom/sigtran/sccp_sap.h | 3 +
include/osmocom/sigtran/sigtran_sap.h | 18 ++
include/osmocom/sigtran/xua_msg.h | 2 +
src/Makefile.am | 2 +-
src/m3ua.c | 68 ++++++--
src/osmo_ss7.c | 179 +++++++++++++------
src/osmo_ss7_hmrt.c | 10 +-
src/sccp_helpers.c | 1 +
src/sccp_sclc.c | 7 +-
src/sccp_scoc.c | 8 +-
src/sccp_scrc.c | 7 +-
src/sccp_user.c | 27 ++-
src/sua.c | 5 +-
src/xua_as_fsm.c | 15 +-
src/xua_asp_fsm.c | 151 +++++++++++-----
src/xua_internal.h | 25 ++-
src/xua_msg.c | 69 +++++---
src/xua_rkm.c | 296 ++++++++++++++++++++++++++++++++
tests/xua/xua_test.c | 32 ++++
tests/xua/xua_test.ok | 2 +
25 files changed, 854 insertions(+), 170 deletions(-)
create mode 100644 src/xua_rkm.c
hooks/post-receive
--
SCCP Library