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 annotated tag, 0.8.0 has been created
at 35f936d797aaee397928a5f5ab21ccc34af50a66 (tag)
tagging d1c552bcfcd74c5a13c67524843c549645c7a535 (commit)
replaces 0.0.6.3
tagged by Harald Welte
on Fri Oct 27 21:57:23 2017 +0200
- Log -----------------------------------------------------------------
Release 0.8.0 on 2017-10-27
-----BEGIN PGP SIGNATURE-----
iQJJBAABCgAzFiEEigrqmUioHHGhfemTShB5H1XkRJYFAlnzj6MVHGxhZm9yZ2VA
Z251bW9ua3Mub3JnAAoJEEoQeR9V5ESWr6wQALphIgl08P5AqSWBw7oMvln6xJdm
tU4uf13vAwIDuq8WWXoIR8ku1lBiCRVOyCb1ot+XM2rWBqKm/fP7QktccD5av1kF
B2BTZ5ROPRS31FUyh8ITZgzEnMCbbHiENLeQ7G7FGq2W3mEdpOG3kH4nhAg2D0LO
RVBDAWyY5X71N0k6FxN/ez1snh40HCskF7v6fD2wGBb3fDyKKO3M6Vrf+GZGcYFi
iJae/drvZwEASBaPqiRYitArep6YfmgV+0P2A3JjspiW/0QNKEe6kyjkxEk91RD2
35/GIbOdSuycSurzDM5H6mf42dxQI7kSSRzdqYur6u7V9FDVJBvt6fyCHyosHEZz
ul0DVFDhA1y5fFPna6cJG/suHTsUo9l1ekKXSSmNy6CT23asa5D6AEYigMyTflBn
FwVlfXJYFy2U+ncqsJZ3F+0QpUDkWWlywrooqFmuFFIY/7+/MuOmsASAY2E3QMbO
uVuMj744O4S8O3oQolxzY+vWPHLj8CbczKNxzHLRK59v1tUYXGynQNLtr8GChcwR
ZqvWdAD95KkPdzz0Ttl9W0kdOqUR2jpn6CwaE/KzGdEBwRDVEGalckjaYWpu4g/u
qz5Iua4g/G8F02+u8SKHPKC1HlRG7V+7VVKDOIci0AXuPJXBcYt7YwDbM9YtoF3P
YlBzK0YVOisTb+JC
=IFgy
-----END PGP SIGNATURE-----
Alexander Huemer (2):
Makefile.am: Use AM_CPPFLAGS
fix build if depenedencies are in distinct directories
Andreas Rottmann (2):
gitignore: Add 'compile'
build: Fix "make distcheck"
Arran Cudbard-Bell (3):
Ignore more build/libtool products
Fix the .pc files so the -l arg matches the installed libraries
Add missing xua.pc file
Daniel Willmann (1):
tests: Don't delete atconfig in clean
Harald Welte (186):
Import SUA (SCCP User Adaptation) and SCCP User SAP
libosmo-sigtran: Add pkg-config integration
Add some SUA client and server example code
sccp.c: Fix compiler warnings about size_t / %u
Properly define SCCP_SAP_USER without random magic number
fix some recently-introduced compiler warnings
Add missing OSMO_SCCP_SSN_RANAP for RANAP SSN
fix format string compiler warnings (%zu for size_t)
Add more OSMO_SCCP_SSN_ defines
sua: Remove unused 'cur' variables
mtp_parse_test: Comment out unused but defined packets
allow user to give private data to osmo_sua_user_create()
sua: Fix typo in log message
sua: call conn_disconnect() in sua_disconnect_req()
sua: Ensure that a SUA client will continuously try to reconnect
Start to log + handle SCTP notifications
migrate some generic XUA helpers from sua.c to xua_msg.c
xua_msg: Make DXUA available to other XUA code
protocol/sua.h: Add #defines for CAUSE group values (from RFC)
sccp_types.h: Add 'struct sccp_data_unitdata_service'
sccp_types.h: Include stdint.h
sccp/sccp.h: Add #include to linuxlist.h
Move xua_msg_add_sccp_addr() to xua_msg.h and export it
sccp_helpers: Add osmo_sccp_{addr,gt}_dump() functions
Add xua_msg_part_get_u32() to get U32 value from xua_msg_part
Replace unused m3ua_types.h with protocol/m3ua.h
sua.h: Define more IEIs; base definitions on m3ua.h
sua.h: Add #define for the varius SUA protocol errors
gitignore: add 'tags' files as created by 'make ctags'
gitignore: use one wildcard line for all test executables
xua_msg: Add xua_msg_free_tag() and xua_msg_copy_part()
xua_msg: Add concept of xua_msg_class and xua_msg_dialect
sccp_sap: Use zero-terminated string for GT digits in osmo_sccp_addr
sccp_sap: Add routing indication (RI) to osmo_sccp_addr
sccp_sap: Add support for N-NOTICE.indication
xua_msg: Add support for encoding Global Title in osmo_sccp_addr
xua_msg: Add support for encoding IPv4 addr in osmo_sccp_addr
Add mtp_sap.h file with definitions for MTP-USER SAP
xua_msg: Add MTP routing label to 'struct xua_msg'
License headers: Should always have been GPLv2-or-later
xua_msg: Add support for msg_event_maps
Add new 'osmo_ss7' SS7 core code with M3UA, ASP/AS FSM, ...
sua: Make use of xua_msg_dialect
sua: Extend address parsing with GT, RI and IPv4 support
sua.c: Replace sua_msgb_alloc() with new sccp_msgb_alloc()
Add SCCP <-> SUA message transcoding routines
Add tests for xUA code + SCCP/SUA transcoding
Add new SCCP implementation
remove tests/sigtran: it's not a test case
sccp_sap license header was missing
SUA: Port to new osmo_ss7 and SCCP code
Add example program how to use M3UA+SCCP client and server
xua: Remove library-internal DXUA log subsystem
sccp: add osmo_sccp_user_{get,set}_priv() API function
osmo_ss7: make OVERRIDE the default traffic mode type (0)
add converter functions between osmo_ss7 and m3ua traffic mode types
m3ua: Include RC IE of AS in Tx; validate RC IE on Rx
xua_asp_fsm: Always return BEAT-ACK for BEAT, including BEAT DATA IE
xua_as_fsm: Include routing context (if configured) in NTFY message
xua_cli_conn_cb: Print flags as hex, not decimal.
xua_srv_conn_cb(): Print sctp_recvmsg flags (line in xua_cli_conn_cb())
sigtran: fix various memory leaks (msgb and xua_msg)
Add osmo_sccp_get_ss7() accessor function
m3ua_example: Add talloc reporting
osmo_ss7: Fix segfault when routing MTP-TRANSFER.req to ASP without sctp connection
protocol/m3ua.h: Add definition for RKM reg/dereg result codes
xua_msg: Add xua_from_nested() helper function for nested IEs
Add osmo_ss7_find_free_rctx() function to get unused rctx
osmo_ss7: Add support for dynamic ASP registration
Add M3UA RKM (routing key management) support, SGW side only
M3UA: RKM DEREG-REQ should contain routing context, not routing key
xua: move notfiy parameters from xua_internal to sigtran_sap and rename them
xua: report N-ERROR and N-NOTIFY primitives to layer manager
move layer_manager from xua_asp_fsm priv to osmo_ss7_asp
send M-SCTP_ESTABLISH.ind to Layer Manager
osmo_ss7: default point-code format for parsing/printing without ss7_instance
m3ua: Remove inbound routing context before routing
osmo_ss7: Fix msgb memory leaks in error paths (asp not connected)
osmo_sccp_make_addr_pc_ssn(): Set routing indicator
M3UA: Respond with "Unexpected Message" if ASPTM is received too soon
M3UA: Make sure to reject unsupported traffic mode types
M3UA: Send "Unexpected Message" when receiving ASP_UP-ACK in ACTIVE
M3UA: Send opportunistic ASPACT-ACK to ASPACT-REQ in ACTIVE state
M3UA: Handle opportunistic ASPIA in INACTIVE state
M3UA: Properly reject invalid/unknown routing context
M3UA: Ensure XFER messages are not sent on stream 0
M3UA: Reject Message Class XFER / Type != DATA
m3ua: cosmetic clanup. We can simply return the M3UA errror code
Allow clients to specify local IP/port
xUA: Fix endianness handling of PPID and STREAM_ID
Fix for SCCP CC without user data
SCCP SCOC: Ensure user primitive msgb->l2h always poinst to tail
SCRC: Print NOTICE log message if we attempt to use (missing) GT routing
xua: Add value_string for routing key [de]registration results
osmo_ss7: Send M-SCTP_RELEASE.ind for close of xUA client or server socket
osmo_ss7: Use proper string name for dynamically-created ASP
osmo_ss7: Instruct libosmo-netif to use {TCP,SCTP}_NODELAY on all sockets
osmo_ss7: Generate M-SCTP_RESTART.ind towards Layer Manager
osmo_ss7: Fix memory leak with sock_name on clients at re-connect time
osmo_ss7: When destroying an AS or a linkset, delete all routes
osmo_ss7: Make sure to start server-side ASP FSM for dynamically created ASPs
osmo_ss7: destroy any ASPs allocated dynamically at accept() time
sccp_user: Make sure to create client-side AS with primary PC
osmo_ss7: Allocate local routing key ID and use it as lookup key for AS
osmo_ss7: Fix SCTP PPID byte width
sccp_test_server: Don't use '0' as local reference
sua2sccp: Only encode SCCP options permitted for given msg type
Add osmo-stp executable as new "Osmocom Signaling Transfer Point"
osmo_ss7_vty: 'show' commands for AS, ASP, route
Add a default layer manager using RKM to register PC with SG
xua_rkm: Improve comments about functions
xua_rkm: Make dynamic registration of Routing Keys work
osmo_ss7: Release any dynamically-allocated ASs
STP: re-structure VTY interface; introduce 'cs7 instance' node
osmo_ss7_vty: Merge the SUA and M3UA VTY nodes
move osmo_ss7_vty.c [back] into libosmo-sigtran
sua: Reject DATA messages on SCTP stream 0
osmo_ss7_vty: Make 'instance <0-15>' mandatory of all show commands
osmo_ss7_vty: Add 'show cs7 instance <0-15> users' command
osmo_ss7_vty: Add Command to permit (or disallow) dynamc routing key allocation
osmo_ss7_vty: Add 'description' command for SS7 instances
Don't overwrite existing data in osmo_ss7_instance_find_or_create()
osmo_ss7_vty: Introduce xUA listener accept-asp-connections command
osmo_ss7_vty: Fix config file writing for xUA listeners
Add exampel osmo-stp configuration file
stp: Add copyright notice
osmo-stp: Remove hack to always enable debug logging
osmo-stp: Add command line options and daemonize functionality
osmo_ss7_vty: Don't save dynamically generated AS / ASP
sccp_scoc: Memorize if a connection is incoming or outbound
SCCP: Add VTY interface for SCCP
m3ua_example: Add SS7 and SCCP VTY
ss7_vty: don't re-define xUA dialect strings
osmo_ss7_vty: Print AS and ASP state names during 'show'
SUA/M3UA: Implement T(r) recovery timer of Application Server FSM
get rid of global osmo_ss7_xua_servers variable
osmo_ss7: Clean up all ASPs established via xua_server upon destroy
osmo_ss7: Fix protocol of dynamically allocated ASPs
m3ua: Generalize + Export function to generate MTP-TRANSFER xua_msg
osmo_ss7: avoid crash during disconnect after unknown ASP
Add new ASP event XUA_ASP_E_SCTP_EST_IND
introduce new osmo_ss7_asp_disconnect() function
xua_as_fsm: We might change to AS_INACTIVE after T(r) expiry
xua_asp_fsm: Fix ordering of messages to pass M3UA_SGP_ASPSM_O_003
SUA: Reject unknown Connectionless Message Types
SUA: Make sure to reject unknown CO message types
SUA: Our SUA implementation needs an SCCP instance in ss7_instance
Add IPA/SCCPlite support as SIGTRAN alternative
osmo_ss7: make sure to re-set all state on client disconnect
osmo_ss7: Allocate message buffers with headroom
IPA: Override/Set point codes
stp: Install VTY commands for FSM introspection
Address some negative integer handling issues
xua_default_lm_fsm: Missing printf() argument
ss7_test: Avoid possible NULL pointer dereference in test case
xua_rkm: Fix handling of RK Registration with multiple Routing Keys
sccp2sua: Avoid array overruns in sccp_is_{mandatory,optional}()
sccp_user: Add missing 'break' statement
osmo_sccp_user_sap_down(): Avoid uninitialized pointer deref
deliver_to_mtp_user(): Fix null pointer dereference
scu_gen_encode_and_send(): Fix NULL pointer deref
ss7_test: Fix '=' that should have been '=='
sclc_rx_cldt(): Don't try to dereference user data_ie without check
m3ua_to_xfer_ind(): don't use data_ie without checking it exists
sclc_rx_cldr(): Don't try to dereference user data_ie without check
m3ua_decode_notify(): Ensure status_ie is valid before using it
sccp_scoc: don't pass variable as argument if we know it's NULL
osmo_ss7_user_unregister(): Don't dereference NULL user
osmo_sccp_addr_parse() Fix point code integer precision handling
SCOC: When sending a CORE/CR, SUA SRC_ADDR == CallingPartyAddress
SUA-to-SCCP: Fix use of Called/Calling vs. Src/Dest Address
stp: Add test scripts for executing m3ua-testtool and sua-testtool
jenkins.sh: Proper error message if local environment isn't set up
Fix SCCP client crash on xUA server (STP) disconnect
OsmoSTP: Install our default set of signal handlers
osmo-stp: Fix process termination on SIGINT+SIGTERM
sccp_sap.h: Fix SSN for BSSAP and BSSAP-LE
Makefile.am: Link libosmo-sigtran against libvty
osmo_sccp_addr_encode(): Check for more erroneous situations
osmo_sccp_addr_encode(): Fix truncation of point codes
osmo_sccp_addr_encode(): Catch some more errors and log them
implement unit tests for osmo_sccp_addr_{parse,encode}()
update libosmocore/libosmo-netif dependency to current versions
Doxugen: s/libosmo-sccp/libosmo-sigtran/g
Proper Debian packaging with split packages, -dbg, -doc, ...
Tag/Release Version 0.8.0
Holger Hans Peter Freyther (28):
debian: Add the changelog for the next release
debian: Add debug packages with the debug symbols
misc: Use a unsigned result for the sizeof sizes
misc: Fix a compiler warning about the filter_fn type
sccp: Create sccp_create_cr and use it in the connection creation
debian: Enable hardening for the SCCP library build
debian: Move to multi-arch support
debian: By definition this only creates a dev package
debian: Bump the version
debian: Add misc depends as wanted by lintian
endian: Use new osmocom/core/endian.h
XUA: Move m2ua headers to sigtran, create xua_types.h and m3ua_types.h
xua: Generalize the m2ua_msg and call it xua_msg
m3ua: Add the definition of the protocol data header
mtp: Implement reading the OPC/DPC for little endian
mtp: Error about unknown endian as well
mtp: Convert to pragma once
mtp: Add implementation from cellmgr
mtp: Add missing defines from cellmgr-ng
mtp: Correct the pointcode mask
debian: Build new version of the package
sccp: Allow to specify the context of the incoming message
debian: Prepare a new release
sua: Attempt to fix make distcheck
debian: Require libosmo-netif+sctp header
jenkins: Add the build script from jenkins here
debian: Make upgrading from debian SID easier
sccp: Fix a classic typo of mine
Installation Owner (1):
sccp: fix possible nullpointer deref
Max (7):
Fix required version of libosmo-netif
Add gerrit settings
Integrate Debian packaging changes
Fix debian builds
Use value string check from osmo-ci
Use release helper from libosmocore
Add doxygen docs
Neels Hofmeyr (53):
Fix RANAP SSN: it's 142, not 143
sua_test_common.c: use global RANAP SSN definition
clarify fixme comment, x7
fix log msg typo, x5
cosmetic: rename osmo_sua_link and osmo_sua_user to osmo_sccp_*
fix struct member typo: repsonding_addr in osmo_scu_disconn_param
build: be robust against install-sh files above the root dir
configure: check for pkg-config presence
jenkins.sh: use osmo-build-dep.sh, log test failures
Revert "Fix the .pc files so the -l arg matches the installed libraries"
NULL safety: sccp_create_sccp_addr: copy only non-NULL sock->gti
fix NULL deref: sua_accept_cb: missing error-return
SUA COIT: send dest ref nr, not dest addr
add comment (meaning of COIT)
add RFC 3868 (SUA) spec in HTML
cosmetic: add comments for GT, PC, SSN to help noobs finding their way
remove two compiler warnings for unused variables
parse SCCP src+dst addresses
cosmetic: sua.c: comments
fix: use proper disconnect prim param type
Add sccp_helpers.[hc] moved from osmo-iuh, 1:1 at first
sccp_helpers.h/.c: fix: apply rename of osmo_sua_link to osmo_sccp_link
sccp_helpers: adjust .h include and copyright
sccp_helpers: add osmo_ prefix to all functions
sccp_helpers: add convenience function for RANAP unitdata
jenkins: add value_string termination check
Revert "configure.ac: Use -Werror in C(PP)FLAGS"
fix sanitize make check: xua_test: initialize gt_out.
cosmetic: drop second ';;'
add/tweak various logging to help figure out complex routing
gen_mtp_transfer_req_xua(): add addr to error log for missing DPC
sccp_user.c: add missing error logging
Revert "SCOC: When sending a CORE/CR, SUA SRC_ADDR ==
CallingPartyAddress"
fix compiler warning: xua_test: hexdump pointer type
sccp_helpers.h: remove duplicate declaration of osmo_sccp_make_addr_pc_ssn()
add osmo_sccp_addr_set_ssn()
osmo_ss7_vty_init: ensure a talloc ctx is set by user
add OSMO_SS7_PC_INVALID, add osmo_ss7_pc_is_valid()
ensure valid primary_pc in osmo_ss7_instance
consistency: use OSMO_SS7_PC_INVALID for osmo_sccp_user
constify ss7_instance arg of osmo_ss7_pointcode_print()
introduce OSMO_SCCP_RI_NONE to indicate unset RI
add osmo_sccp_addr_name() and three value_string[]s
fix osmo_sccp_addr_dump(): actually print RI
sccp-addr vty: set RI to SSN_PC when setting a point-code
sccp_helpers: check buf len in append_to_buf()
cosmetic: ws in log
safer osmo_sccp_make_addr_pc_ssn(): clear all values
vty: fix doc for 'xua rkm routing-key-allocation'
osmo_ss7_vty: fix 'as' / 'routing-key' command
cosmetic: aggressively set vty->index to NULL in osmo_ss7_vty_go_parent()
vty: add 'asp' / 'local-ip' command
sccp_scrc: fix Network Indicator in SIO composition
Pau Espin Pedrol (12):
sccp_scrc: Fix warning: uneeded constant evaulation
sccp_test_vty: Fix compilation warning: Unused variable
xua_internal.h: Add missing functions required by xua_test
stp_main.c: Add missing header
xua_test.c: remove useless keyword in struct declaration
configure.ac: Use -Wall in C(PP)FLAGS
configure.ac: Use -Werror in C(PP)FLAGS
configure.ac: Fix C(PP)FLAGS for BSD build
sccp_scoc: Fix trailing whitespace
sccp_scoc: Fix compilation warning and leave a pragma message
contrib: Enable -Werror by default
contrib: Add osmo-stp systemd service file
Philipp Maier (26):
cosmetic: fix typo in osmo_ss7_vty.c VTY doc
cosmetic: Fix typo in sccp_types.h
sccp: add addressbook functionality for sccp addresses
ss7: Fix compilation error (warning)
simple-client/server: be able to decide on which ss7 instance to bind
vty: Check returncode of osmo_ss7_pointcode_parse()
vty: make addressbook available for _sg and _asp
cosmetic: remove comment
sccp: global addressbook search + api fix
sccp: make simple client configurable via VTY
xua: fix possible memory leak in seems osmo_ss7_asp_use_default_lm()
sccp: ensure addressbook entry names are unique
sccp: derive local address from given sccp instance
sccp: add function to check sccp addresses
sccp: fix creating of the default route in simple client
vty: hide SG commands when running as ASP
sccp: prefix default parameters of osmo_sccp_simple_client()
sccp: fix handling of default IP addresses in osmo_sccp_simple_client()
sccp: check for valid point code in osmo_sccp_simple_client()
sccp: add doxgen comments for osmo_sccp_simple_client()
sccp: make osmo_sccp_addr_name() available
sccp: function to get sccp instance from sccp user
sccp: fixup for osmo_sccp_get_ss7()
vty: fix (null) string in vty config
sccp: again fix handling of default IP addresses in osmo_sccp_simple_client()
simple client: prevent overwriting asp settings
Ruben Undheim (1):
Fix for big-endian architectures
-----------------------------------------------------------------------
hooks/post-receive
--
SCCP Library