pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email )
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, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/59/43759/1
diff --git a/common/chapters/cs7-config.adoc b/common/chapters/cs7-config.adoc
index 6f212b2..8e66db5 100644
--- a/common/chapters/cs7-config.adoc
+++ b/common/chapters/cs7-config.adoc
@@ -422,6 +422,7 @@
listen m3ua 2905
accept-asp-connections pre-configured
local-ip 2.2.2.2
+ no shutdown
# asp <name> <remote-port> <local-port|0> m3ua
asp mybsc-0 2905 2905 m3ua
@@ -487,6 +488,7 @@
listen m3ua 2905
accept-asp-connections dynamic-permitted
local-ip 2.2.2.2
+ no shutdown
----
.osmo-msc.cfg
diff --git a/common/chapters/sigtran-osmocom.adoc b/common/chapters/sigtran-osmocom.adoc
index 32d03cf..247cb3d 100644
--- a/common/chapters/sigtran-osmocom.adoc
+++ b/common/chapters/sigtran-osmocom.adoc
@@ -298,6 +298,13 @@
long as they all run on a different combination of IP address and
port.
+The user can change the administrative state of a given xUA Server at any time
+by means of the _[no] shutdown_ VTY commands. When in _shutdown_ state, the xUA
+Server has its listen socket closed so no clients can connect to it. This is
+useful to temporarily disable access to a xUA Server and hence new incoming
+connections to related ASPs. Shutting down a xUA Server does't release already
+established connections on related ASPs; it only affects new connections.
+
.Major Attributes of an Osmocom SS7 xUA Server
[options="header",cols="25%,75%"]
|====
@@ -305,6 +312,7 @@
|Local IP|Local Port Number to which the server shall bind/listen
|Local Port|Local IP Address to which the server shall bind/listen
|Protocol|Protocol (M3UA, SUA, IPA) to be operated by this server
+|Administrative State|Whether the listener transport socket (TCP/SCTP) is listening for clients to connect to, or closed.
|Accept Dynamic ASPs|Should we accept connections from ASPs that are not explicitly pre-configured with their source IP and port?
|====
diff --git a/common/chapters/sigtran.adoc b/common/chapters/sigtran.adoc
index c8e9b99..47c5ddd 100644
--- a/common/chapters/sigtran.adoc
+++ b/common/chapters/sigtran.adoc
@@ -477,6 +477,7 @@
sctp-param init num-ostreams 250 <1>
sctp-param init max-instreams 300 <2>
...
+ no shutdown
----
<1> Announce to the server that up to 250 outbound SCTP streams (server to
client) may be requested. This value is transmitted during SCTP INIT packet, and
--
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: newchange
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>
Attention is currently required from: jolly.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email )
Change subject: ss7_asp_peer: Improvements in ss7_asp_peer_snprintf()
......................................................................
Patch Set 2:
(1 comment)
File src/ss7_asp_peer.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753/comment/dcb4d642_ea78b… :
PS2, Line 68: peer->host[0]
> What if this is NULL? Can it be NULL. Below I can see checks for that.
Godd point, I'll fix it.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I115951627adb0c6778a9a36159237c3eea130300
Gerrit-Change-Number: 43753
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-Comment-Date: Fri, 02 Oct 2026 11:32:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: jolly <andreas(a)eversberg.eu>
Attention is currently required from: pespin.
jolly has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email )
Change subject: ss7_asp_peer: Improvements in ss7_asp_peer_snprintf()
......................................................................
Patch Set 2:
(1 comment)
File src/ss7_asp_peer.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753/comment/86ee10af_b4b08… :
PS2, Line 68: peer->host[0]
What if this is NULL? Can it be NULL. Below I can see checks for that.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I115951627adb0c6778a9a36159237c3eea130300
Gerrit-Change-Number: 43753
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: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 02 Oct 2026 11:22:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: fixeria, jolly.
Hello Jenkins Builder, fixeria, jolly,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: ss7_asp_peer: Improvements in ss7_asp_peer_snprintf()
......................................................................
ss7_asp_peer: Improvements in ss7_asp_peer_snprintf()
Convert it to osmo_strbuf, which simplifies the logic of the function,
taking osmo_multiaddr_ip_and_port_snprintf() as reference to implement it.
As a result:
* Single IPv6 addresses now get properly enclosed in [], eg:
"[::]:2905".
* We avoid passing NULL to snprintf(), which is unspecified on some
platforms.
Change-Id: I115951627adb0c6778a9a36159237c3eea130300
---
M src/ss7_asp_peer.c
1 file changed, 24 insertions(+), 23 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/53/43753/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I115951627adb0c6778a9a36159237c3eea130300
Gerrit-Change-Number: 43753
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>
Attention is currently required from: fixeria, jolly.
Hello Jenkins Builder, fixeria, jolly,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43754?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: xua_srv: Introduce log macro LOGPOXS()
......................................................................
xua_srv: Introduce log macro LOGPOXS()
Use the macro in multiple places, improve logging around it.
Change-Id: Ibd24de79048161450c868dc28987307f25365704
---
M src/ss7_xua_srv.c
M src/ss7_xua_srv.h
2 files changed, 20 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/54/43754/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43754?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ibd24de79048161450c868dc28987307f25365704
Gerrit-Change-Number: 43754
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>
Attention is currently required from: fixeria, jolly.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email )
Change subject: ss7_asp_peer: Improvements in ss7_asp_peer_snprintf()
......................................................................
Patch Set 1:
(1 comment)
File src/ss7_asp_peer.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753/comment/74359cc9_d2cbc… :
PS1, Line 68: peer->host[0],
> What if `peer->host[0]` is an IPv4 address, but `peer->host[N]` (N > 0) is an IPv6?Also, I see below […]
I was missing an "else if" here, which is already present in
osmo_multiaddr_ip_and_port_snprintf(), my bad.
Regarding IPv6 "[]", it is only needed in the case where host_cnt == 1, because when >1 there's already a "(...|...)" separating the IP address from the ":port".
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43753?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I115951627adb0c6778a9a36159237c3eea130300
Gerrit-Change-Number: 43753
Gerrit-PatchSet: 1
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-Comment-Date: Fri, 02 Oct 2026 11:13:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>