pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/34365?usp=email )
Change subject: sigtran: Document SCTP INIT VTY parameters
......................................................................
sigtran: Document SCTP INIT VTY parameters
Related: SYS#6558
Change-Id: I2a8c2b3708d72bf0974b17bf018f2c667ae6b824
---
M common/chapters/sigtran.adoc
1 file changed, 53 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/65/34365/1
diff --git a/common/chapters/sigtran.adoc b/common/chapters/sigtran.adoc
index d1cc6f0..de9b799 100644
--- a/common/chapters/sigtran.adoc
+++ b/common/chapters/sigtran.adoc
@@ -442,6 +442,49 @@
net.sctp.addip_enable=1
----
+==== SCTP INIT Parameters
+
+Several SCTP INIT parameters can be configured through VTY, which will be passed
+to the Linux Kernel SCTP stack and used whenever an association is being
+established.
+
+On the client side (see <<sctp_role>>), the parameters are configured in the `asp` node:
+----
+cs7 instance 0
+ asp my-asp 2905 0 m3ua
+ sctp-role client
+ sctp-param init num-ostreams 250 <1>
+ sctp-param init max-instreams 300 <2>
+ sctp-param init max-attempts 3 <3>
+ sctp-param init timeout 10000 <4>
+ ...
+----
+<1> The number of streams from the server to the client. This value is
+transmitted during SCTP INIT ACK packet.
+<2> Announce to the server that a maximum of up to 300 inbound SCTP streams are
+supported. This value is transmitted during SCTP INIT packet.
+<3> Initial SCTP handhsake will be attempted 3 times before considering the
+connection failed.
+<4> Retransmit an SCTP INIT message after 10000 ms if no answer is received.
+
+On the server side (see <<sctp_role>>), the parameters are configured in the `listen` node:
+----
+cs7 instance 0
+ asp my-asp 2905 0 m3ua
+ sctp-role server
+ listen m3ua 2905
+ sctp-param init num-ostreams 250 <1>
+ sctp-param init max-instreams 300 <2>
+ ...
+----
+<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
+should be equal or lower to the `max-instreams` value received from the client
+during SCTP INIT packet.
+<2> Announce to the server that a maximum of up to 300 inbound SCTP streams are
+supported. This value is transmitted during SCTP INIT ACK packet.
+
+[[sctp_role]]
==== SCTP role
The _SCTP role_ defines which of the two L4 protocol roles SCTP assumes:
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/34365?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2a8c2b3708d72bf0974b17bf018f2c667ae6b824
Gerrit-Change-Number: 34365
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/34122?usp=email )
Change subject: sgsn_rim: forward message based on RIM ROUTING ADDRESS
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
ping. This is still needing work in order to get merged?
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/34122?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ifd2b915ed2f05130cff8ee77714b82005c17de3d
Gerrit-Change-Number: 34122
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 12 Sep 2023 09:27:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34287?usp=email )
Change subject: TC_s1ap_attach: setup S11 interface, catch Create Session Request
......................................................................
TC_s1ap_attach: setup S11 interface, catch Create Session Request
The testcase TC_s1ap_attach is not complete yet. Since the testsuite
lacked the S11 interface, it was not possible to develop the testcase
beond the S1AP/NAS-EPS Security Mode Command. However, the S11 interface
is now available to the testsuite, so let's show that it works by
catching the Create Session Request. Let's also put a TODO that the
testcase needs to be completed still.
Related: OS#5760
Change-Id: I6350a3d5cab33fa4f43e4cdcbd7bf3241821d233
---
M mme/MME_Tests.ttcn
1 file changed, 38 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/mme/MME_Tests.ttcn b/mme/MME_Tests.ttcn
index 104c3d2..3af72bc 100644
--- a/mme/MME_Tests.ttcn
+++ b/mme/MME_Tests.ttcn
@@ -620,6 +620,8 @@
f_init_handler(pars);
var template (value) EPS_MobileIdentityV mi := ts_NAS_MobileId_IMSI(pars.ue_pars.imsi);
var template (value) PDU_NAS_EPS nas_esm, nas_emm;
+ timer T := 5.0;
+
/*
nas_esm := ts_NAS_ActDefEpsBearCtxReq(bearer_id := '0000'B, proc_tid := int2bit(1,8),
qos := c_NAS_defaultQoS, apn := c_NAS_defaultAPN,
@@ -648,7 +650,24 @@
}
}
- f_sleep(10.0);
+ /* We now expect the MME to send a Create Session Request to the SGW-C */
+ /* TODO: be more restrictive, fix and use tr_GTP2C_CreateSessionReq */
+ f_gtp2_register_udmsg('20'O);
+ T.start;
+ alt {
+ [] GTP2.receive(tr_PDU_GTP2C) {
+ setverdict(pass);
+ }
+ [] GTP2.receive {
+ setverdict(fail, "unexpected GTPv2/S11 message from MME");
+ }
+ [] T.timeout {
+ setverdict(fail, "no message from MME");
+ }
+ }
+
+ /* TODO: Finish this procedure until Attach Complete */
+
}
testcase TC_s1ap_attach() runs on MTC_CT {
var charstring id := testcasename();
@@ -656,6 +675,7 @@
f_init_diameter(id);
f_sleep(10.0);
f_init_s1ap(id, 4);
+ f_init_gtpv2_s11(id);
f_s1ap_setup(0);
var ConnHdlrPars pars := f_init_pars(ue_idx := 0);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34287?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6350a3d5cab33fa4f43e4cdcbd7bf3241821d233
Gerrit-Change-Number: 34287
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged