Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libosmo-sccp for openSUSE:Factory 
checked in at 2024-06-18 22:51:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libosmo-sccp (Old)
 and      /work/SRC/openSUSE:Factory/.libosmo-sccp.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libosmo-sccp"

Tue Jun 18 22:51:52 2024 rev:21 rq:1181431 version:1.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libosmo-sccp/libosmo-sccp.changes        
2023-11-02 20:22:05.525209292 +0100
+++ /work/SRC/openSUSE:Factory/.libosmo-sccp.new.19518/libosmo-sccp.changes     
2024-06-18 22:52:43.428288699 +0200
@@ -1,0 +2,6 @@
+Tue Jun 18 08:38:03 UTC 2024 - Jan Engelhardt <[email protected]>
+
+- Update to release 1.8.2
+  * ipa: Use pseudo-random number for SLS in IPA->M3UA direction
+
+-------------------------------------------------------------------

Old:
----
  1.8.1.tar.gz

New:
----
  1.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libosmo-sccp.spec ++++++
--- /var/tmp/diff_new_pack.5garNT/_old  2024-06-18 22:52:43.876305228 +0200
+++ /var/tmp/diff_new_pack.5garNT/_new  2024-06-18 22:52:43.880305375 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libosmo-sccp
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           libosmo-sccp
-Version:        1.8.1
+Version:        1.8.2
 Release:        0
 %define libversion %(echo "%version" | sed 's/\\./_/g')
 Summary:        Osmocom library for the A-bis interface between BTS and BSC
@@ -180,14 +180,10 @@
 %endif
 fi
 
-%post   -n libosmo-mtp-%libversion -p /sbin/ldconfig
-%postun -n libosmo-mtp-%libversion -p /sbin/ldconfig
-%post   -n libosmo-sccp-%libversion -p /sbin/ldconfig
-%postun -n libosmo-sccp-%libversion -p /sbin/ldconfig
-%post   -n libosmo-sigtran9 -p /sbin/ldconfig
-%postun -n libosmo-sigtran9 -p /sbin/ldconfig
-%post   -n libosmo-xua-%libversion -p /sbin/ldconfig
-%postun -n libosmo-xua-%libversion -p /sbin/ldconfig
+%ldconfig_scriptlets -n libosmo-mtp-%libversion
+%ldconfig_scriptlets -n libosmo-sccp-%libversion
+%ldconfig_scriptlets -n libosmo-sigtran9
+%ldconfig_scriptlets -n libosmo-xua-%libversion
 
 %preun -n osmo-stp
 %service_del_preun osmo-stp.service

++++++ 1.8.1.tar.gz -> 1.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmo-sccp-1.8.1/debian/changelog 
new/libosmo-sccp-1.8.2/debian/changelog
--- old/libosmo-sccp-1.8.1/debian/changelog     2023-10-17 13:11:25.000000000 
+0200
+++ new/libosmo-sccp-1.8.2/debian/changelog     2024-05-21 14:28:45.000000000 
+0200
@@ -1,3 +1,9 @@
+libosmo-sccp (1.8.2) unstable; urgency=medium
+
+  * ipa: Use pseudo-random number for SLS in IPA->M3UA direction
+
+ -- Harald Welte <[email protected]>  Tue, 21 May 2024 14:28:44 +0200
+
 libosmo-sccp (1.8.1) unstable; urgency=medium
 
   * Fix counting received IPA packets in server mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmo-sccp-1.8.1/src/Makefile.am 
new/libosmo-sccp-1.8.2/src/Makefile.am
--- old/libosmo-sccp-1.8.1/src/Makefile.am      2023-10-17 13:11:25.000000000 
+0200
+++ new/libosmo-sccp-1.8.2/src/Makefile.am      2024-05-21 14:28:45.000000000 
+0200
@@ -25,7 +25,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read Chapter 6 "Library interface versions" of the libtool
 # documentation before making any modification
-LIBVERSION=9:1:0
+LIBVERSION=9:2:0
 
 libosmo_sigtran_la_SOURCES = sccp_sap.c sua.c m3ua.c xua_msg.c sccp_helpers.c \
                             sccp2sua.c sccp_scrc.c sccp_sclc.c sccp_scoc.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmo-sccp-1.8.1/src/osmo_ss7_asp.c 
new/libosmo-sccp-1.8.2/src/osmo_ss7_asp.c
--- old/libosmo-sccp-1.8.1/src/osmo_ss7_asp.c   2023-10-17 13:11:25.000000000 
+0200
+++ new/libosmo-sccp-1.8.2/src/osmo_ss7_asp.c   2024-05-21 14:28:45.000000000 
+0200
@@ -906,7 +906,9 @@
        }
        msg->dst = asp;
        rate_ctr_inc2(asp->ctrg, SS7_ASP_CTR_PKT_RX_TOTAL);
-       return ipa_rx_msg(asp, msg, ofd->fd & 0xf);
+       /* we simply use the lower 4 bits of the asp_id, which is initialized 
to a pseudo-random value upon
+        * connect */
+       return ipa_rx_msg(asp, msg, asp->asp_id & 0xf);
 }
 
 /* netif code tells us we can read something from the socket */
@@ -996,6 +998,12 @@
        if (asp->cfg.proto != OSMO_SS7_ASP_PROT_IPA) {
                rc = ss7_asp_apply_peer_primary_address(asp);
                rc = ss7_asp_apply_primary_address(asp);
+       } else {
+               if (asp->cfg.proto == OSMO_SS7_ASP_PROT_IPA) {
+                       /* we use the lower 4 bits of the asp_id feld as SLS; 
let's initialize it here from a
+                        * pseudo-random value */
+                       asp->asp_id = rand() & 0xf;
+               }
        }
 
        if (asp->lm && asp->lm->prim_cb) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmo-sccp-1.8.1/stp/stp_main.c 
new/libosmo-sccp-1.8.2/stp/stp_main.c
--- old/libosmo-sccp-1.8.1/stp/stp_main.c       2023-10-17 13:11:25.000000000 
+0200
+++ new/libosmo-sccp-1.8.2/stp/stp_main.c       2024-05-21 14:28:45.000000000 
+0200
@@ -213,6 +213,8 @@
 {
        int rc;
 
+       srand(time(NULL));
+
        tall_stp_ctx = talloc_named_const(NULL, 1, "osmo-stp");
        msgb_talloc_ctx_init(tall_stp_ctx, 0);
        osmo_init_logging2(tall_stp_ctx, &log_info);

Reply via email to