jolly has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/libosmocore/+/43685?usp=email )
Change subject: Add new VTY node for libosmo-octoi
......................................................................
Patch Set 1:
(1 comment)
File include/osmocom/vty/command.h:
https://gerrit.osmocom.org/c/libosmocore/+/43685/comment/ba279e2a_41e33626?… :
PS1, Line 112: RESERVED2_NODE, /*!< Reserved for later extensions */
> breaking all existing versions of osmo-e1d is clearly not an option. […]
A fix had been merged.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43685?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I497ee1503fed1681fae217bfe4d7be9b1580448f
Gerrit-Change-Number: 43685
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 02 Oct 2026 13:02:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43761?usp=email )
Change subject: xua_msg: Drop __thread attribute on static buf
......................................................................
xua_msg: Drop __thread attribute on static buf
libosmo-sigtran is not thread safe, and hence makes no sense to have
only this static buffer (out of dozens declared) as TLS.
Related: OS#7061
Change-Id: Ia023b8df32494bc705326106753f17e7eeaf89cf
---
M src/xua_msg.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/61/43761/1
diff --git a/src/xua_msg.c b/src/xua_msg.c
index 61281c4..122f6bc 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -357,7 +357,7 @@
const char *xua_msg_part_get_str(const struct xua_msg_part *part)
{
- static char __thread buf[256];
+ static char buf[256];
if (part->len == 0)
return "";
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43761?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ia023b8df32494bc705326106753f17e7eeaf89cf
Gerrit-Change-Number: 43761
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43760?usp=email )
Change subject: sigtran: Document ASP administrative state
......................................................................
sigtran: Document ASP administrative state
Related: OS#6752
Change-Id: I355f382857b62a42b4752689d27a34c668c7e996
---
M common/chapters/cs7-config.adoc
M common/chapters/sigtran-osmocom.adoc
M common/chapters/sigtran.adoc
3 files changed, 31 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/60/43760/1
diff --git a/common/chapters/cs7-config.adoc b/common/chapters/cs7-config.adoc
index 8d3dbe7..6d5b86e 100644
--- a/common/chapters/cs7-config.adoc
+++ b/common/chapters/cs7-config.adoc
@@ -52,6 +52,7 @@
remote-ip 127.0.0.1
role asp
transport-role client
+ no shutdown
as as-clnt-OsmoMSC-A-Iu m3ua
asp asp-clnt-OsmoMSC-A-Iu
routing-key 2 0.23.1
@@ -89,6 +90,7 @@
local-ip 10.9.8.7
role asp
transport-role client
+ no shutdown
----
Be aware that such an `asp` needs to be linked to an `as`, see <<as_and_asp>>.
@@ -240,6 +242,7 @@
remote-ip 127.0.0.1
role asp
transport-role client
+ no shutdown
as my-as m3ua
asp my-asp
----
@@ -257,6 +260,7 @@
remote-ip 127.0.0.1
role asp
transport-role client
+ no shutdown
as my-as m3ua
routing-key 2 0.23.1
----
@@ -269,6 +273,7 @@
remote-ip 127.0.0.1
role asp
transport-role client
+ no shutdown
as my-as m3ua
asp my-asp
routing-key 2 0.23.1
@@ -403,6 +408,7 @@
remote-ip 2.2.2.2
local-ip 1.1.1.1
transport-role client
+ no shutdown
as mybsc0 m3ua
asp mybsc0-0
routing-key 1 1.1.1
@@ -428,6 +434,7 @@
asp mybsc-0 2905 2905 m3ua
remote-ip 1.1.1.1
local-ip 2.2.2.2
+ no shutdown
as mybsc m3ua
asp bsc-0
routing-key 1 1.1.1
@@ -435,6 +442,7 @@
asp mymsc-0 2905 2905 m3ua
remote-ip 3.3.3.3
local-ip 2.2.2.2
+ no shutdown
as mymsc m3ua
asp mymsc-0
routing-key 3 3.3.3
@@ -453,6 +461,7 @@
remote-ip 2.2.2.2
local-ip 3.3.3.3
transport-role client
+ no shutdown
as mymsc0 m3ua
asp mymsc0-0
routing-key 3 3.3.3
@@ -470,6 +479,7 @@
remote-ip 2.2.2.2
local-ip 1.1.1.1
transport-role client
+ no shutdown
as mybsc0 m3ua
asp mybsc0-0
@@ -500,6 +510,7 @@
remote-ip 2.2.2.2
local-ip 3.3.3.3
transport-role client
+ no shutdown
as mymsc0 m3ua
asp mymsc0-0
----
diff --git a/common/chapters/sigtran-osmocom.adoc b/common/chapters/sigtran-osmocom.adoc
index 9cd873c..50f88ea 100644
--- a/common/chapters/sigtran-osmocom.adoc
+++ b/common/chapters/sigtran-osmocom.adoc
@@ -386,9 +386,25 @@
|Remote Port|Port Number of the remote end of the connection
|Remote IP|IP Address of the remote end of the connection
|State|ASP State (Down, Inactive, Active)
+|Administrative State|ASP Administrative State ([no] shutdown, [no] block)
|QoS Class|QoS Class to apply to this connection
|====
+The user can change the administrative state of a given ASP at any time by means
+of VTY commands (defaults are _no shutdown_ and _no block_):
+
+* _[no] shutdown_: When an ASP is set to the _shutdown_ administrative state,
+its transport layer socket is closed and new ones are forbidden until the
+adminsitrative state is switched back again. If the ASP transport role is
+_client_, no further reconnects will be attempeted. If the ASP transport is
+_server_, new incoming connections matching the ASP will be rejected at socket
+accept time.
+
+* _[no] block_: When an ASP is set to the _block_ administrative state, its
+transport layer socket is manintained, but the ASP is moved to _Inactive_ state,
+and further ACTIVATE attempts are rejected until the adminsitrative state is
+switched back again.
+
=== Osmocom SS7 Routes
An Osmocom SS7 Route holds information to route traffic with a matching
diff --git a/common/chapters/sigtran.adoc b/common/chapters/sigtran.adoc
index b691436..b66dd7c 100644
--- a/common/chapters/sigtran.adoc
+++ b/common/chapters/sigtran.adoc
@@ -390,6 +390,7 @@
remote-ip 10.11.12.13
remote-ip 16.17.18.19 primary <1>
...
+ no shutdown
----
<1> Use 16.17.18.19 as primary address for the SCTP association. User data will
be in general transmitted over this path.
@@ -414,6 +415,7 @@
local-ip 10.11.12.13
local-ip 16.17.18.19 primary <1>
...
+ no shutdown
----
<1> Announce 16.17.18.19 to the peer as the primary address to be used when
transmitting user data to us.
@@ -459,6 +461,7 @@
sctp-param init max-attempts 3 <3>
sctp-param init timeout 10000 <4>
...
+ no shutdown
----
<1> The number of streams from the server to the client. This value is
transmitted during SCTP INIT ACK packet.
@@ -473,6 +476,7 @@
cs7 instance 0
asp my-asp 2905 0 m3ua
transport-role server
+ no shutdown
listen m3ua 2905
sctp-param init num-ostreams 250 <1>
sctp-param init max-instreams 300 <2>
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43760?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I355f382857b62a42b4752689d27a34c668c7e996
Gerrit-Change-Number: 43760
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: jolly, pespin.
Hello Jenkins Builder, jolly,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by jolly, Verified+1 by Jenkins Builder
Change subject: sigtran: Document xUA Server Administrative State
......................................................................
sigtran: Document xUA Server Administrative State
Related: OS#7039
Change-Id: I771f05d2ef001f78cbd4d6fcd585535a841366ea
---
M common/chapters/cs7-config.adoc
M common/chapters/sigtran-osmocom.adoc
M common/chapters/sigtran.adoc
3 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/59/43759/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I771f05d2ef001f78cbd4d6fcd585535a841366ea
Gerrit-Change-Number: 43759
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria, jolly, pespin.
Hello Jenkins Builder, fixeria, jolly,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43756?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+1 by jolly, Verified+1 by Jenkins Builder
Change subject: sigtran.adoc: Rename 'SCTP role' to 'Transport layer role'
......................................................................
sigtran.adoc: Rename 'SCTP role' to 'Transport layer role'
The client/server behavior applies to both SCTP and TCP, hence this
concept was already renamed to "transport-role (client|server)" a while
ago in libosmo-sigtran.git. Do the same here.
Change-Id: I961552d00fde06154489b091d7d742b5ee86d206
---
M common/chapters/cs7-config.adoc
M common/chapters/sigtran.adoc
2 files changed, 19 insertions(+), 19 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/56/43756/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43756?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I961552d00fde06154489b091d7d742b5ee86d206
Gerrit-Change-Number: 43756
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43757?usp=email )
Change subject: Add description for IP DSCP (QoS) support of libosmo-sigtran
......................................................................
Add description for IP DSCP (QoS) support of libosmo-sigtran
Related: OS#6753
Change-Id: I57e1fa47f811132116deefe769ed6b7e90d11e49
---
M common/chapters/sigtran-osmocom.adoc
M common/chapters/sigtran.adoc
2 files changed, 44 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/common/chapters/sigtran-osmocom.adoc b/common/chapters/sigtran-osmocom.adoc
index 32d03cf..fa02694 100644
--- a/common/chapters/sigtran-osmocom.adoc
+++ b/common/chapters/sigtran-osmocom.adoc
@@ -285,6 +285,7 @@
|Network Indicator|(config-cs7)# network-indicator|Network Indicator used in MTP3 Routing Label
|Point Code Format|(config-cs7)# point-code format|Point Code Format (Default: 3.8.3)
|Point Code Delimiter|(config-cs7)# point-code delimiter|Point Code Delimiter: . or -
+|QoS Class Definition|(config-cs7)# qos class ID|Definition of a QoS class
|====
[[xua-server]]
@@ -306,6 +307,7 @@
|Local Port|Local IP Address to which the server shall bind/listen
|Protocol|Protocol (M3UA, SUA, IPA) to be operated by this server
|Accept Dynamic ASPs|Should we accept connections from ASPs that are not explicitly pre-configured with their source IP and port?
+|QoS Class|QoS Class the server will apply to incoming connections
|====
@@ -377,6 +379,7 @@
|Remote Port|Port Number of the remote end of the connection
|Remote IP|IP Address of the remote end of the connection
|State|ASP State (Down, Inactive, Active)
+|QoS Class|QoS Class to apply to this connection
|====
=== Osmocom SS7 Routes
diff --git a/common/chapters/sigtran.adoc b/common/chapters/sigtran.adoc
index 308f157..714d86b 100644
--- a/common/chapters/sigtran.adoc
+++ b/common/chapters/sigtran.adoc
@@ -523,3 +523,44 @@
_all_ the ASPs in broadcast traffic mode.
Osmocom (libosmo-sigtran) implements all above-mentioned traffic modes.
+
+==== Quality of Service (QoS) / IP DSCP
+
+Osmocom SIGTRAN support allows mapping abstract Quality of Service (QoS)
+classes to specific IP Differentiated Services Code Point (DSCP) values. This
+enables network operators to prioritize SIGTRAN signaling traffic (such as M3UA
+or SUA) across underlying IP transport networks.
+
+QoS classes are defined centrally under the `cs7 instance` node. Once defined,
+a QoS class can optionally be assigned to individual xUA servers (`listen`
+node) or Application Server Processes (`asp` node).
+
+The IP DSCP value of the QoS class that is assigned to an xUA server, applies
+to IP packets sent during negotiation with the socket server. The IP DSCP
+value of the QoS class applied to the listening socket of the xUA server is
+inherited by default on child ASP sockets when no QoS class is assigned to
+them.
+
+----
+cs7 instance 0
+ qos class 5 <1>
+ qos-ip-dscp 23
+ qos class 6
+ qos-ip-dscp 42
+ qos class 7
+ qos-ip-dscp 8
+ ...
+ asp asp-srv-m3ua 2906 2905 m3ua
+ qos-class 7 <3>
+ ...
+ asp asp-clnt-m3ua 2905 2906 m3ua
+ qos-class 6 <4>
+ ...
+ listen m3ua 2905
+ qos-class 5 <2>
+ ...
+----
+<1> Define QoS class `5` and assign it IP DSCP value `23`.
+<2> Apply QoS class `5` to the M3UA server socket.
+<3> Apply QoS class `7` (DSCP 8) to the server-role ASP.
+<4> Apply QoS class `6` (DSCP 42) to the client-role ASP.
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43757?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I57e1fa47f811132116deefe769ed6b7e90d11e49
Gerrit-Change-Number: 43757
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: jolly.
pespin has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43757?usp=email )
Change subject: Add description for IP DSCP (QoS) support of libosmo-sigtran
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43757?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I57e1fa47f811132116deefe769ed6b7e90d11e49
Gerrit-Change-Number: 43757
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Fri, 02 Oct 2026 12:14:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
jolly has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email )
Change subject: sigtran: Document xUA Server Administrative State
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I771f05d2ef001f78cbd4d6fcd585535a841366ea
Gerrit-Change-Number: 43759
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 02 Oct 2026 12:10:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes