libosmo-sccp.git branch master updated. 0.8.1-27-g10d4815

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
Wed Dec 20 16:04:25 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, master has been updated
       via  10d4815bb1b4b548ec0bc97611b2e7ac45e0ebc5 (commit)
      from  6cd8d1243711f4de2f1314c7b87b972572cdec4e (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=10d4815bb1b4b548ec0bc97611b2e7ac45e0ebc5

commit 10d4815bb1b4b548ec0bc97611b2e7ac45e0ebc5
Author: Pau Espin Pedrol <pespin at sysmocom.de>
Date:   Fri Nov 17 12:57:25 2017 +0100

    ss7: Re-bind xUA server socket after setting new IP
    
    In osmo-stp, cmd "local-ip" inside node "listen m3ua 2905" was actually
    not being applied, because the server was created + bound at "listen" command
    time using NULL as IP, and at "local-ip" time the IP was changed but the
    server was not re-bound using the new IP, so it kept listening at
    0.0.0.0.
    
    With this patch, we defer binding the socket to "local-ip" cmd time,
    after the IP has been applied.
    
    As a result, if no "local-ip" command is provided, then the bind never
    happens, which means it is now mandatory that users of osmo_ss7_xua_server_create
    API not using osmo_ss7_xua_server_set_local_host call new provided API
    osmo_ss7_xua_server_bind. Another new API osmo_ss7_bind_all_instances is
    provided to easily make sure all servers are bound after configuration
    process. This is specially important for servers which doesn't contain
    the "local-ip" parameter.
    
    Users of osmo_sccp_simple_server API are not affected by this change,
    and they not requrie to call any new API.
    
    Furthermore, using osmo_ss7_xua_server_bind in VTY code ensures the xUA
    server is automatically bound to the new address if the operator changes
    the "local-ip" cmd at runtime.
    
    Related: OS#2647
    
    Change-Id: I79738963d633bec70705ff159c5b2127cd498aa2

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

Summary of changes:
 include/osmocom/sigtran/osmo_ss7.h |  5 ++++
 src/osmo_ss7.c                     | 59 ++++++++++++++++++++++++++++++++------
 src/osmo_ss7_vty.c                 |  4 +++
 src/sccp_user.c                    |  5 ++++
 stp/stp_main.c                     |  2 ++
 5 files changed, 66 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
SCCP Library



More information about the osmocom-commitlog mailing list