lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43458?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: SGSN: osmo-sgsn.cfg: assign gummei to test-mme0
......................................................................
SGSN: osmo-sgsn.cfg: assign gummei to test-mme0
To allow Context Out tests (4G -> 2G), the SGSN must know
which mme is responsible for the given RAI
Change-Id: I4d3f6b9910756e78d3425459bdfd3196886097ef
---
M sgsn/osmo-sgsn.cfg
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
daniel: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/sgsn/osmo-sgsn.cfg b/sgsn/osmo-sgsn.cfg
index a4c4022..f95e9b9 100644
--- a/sgsn/osmo-sgsn.cfg
+++ b/sgsn/osmo-sgsn.cfg
@@ -114,5 +114,6 @@
no compression rfc1144
no compression v42bis
mme test-mme0
+ gummei 262 42 12 6
gtp remote-ip 127.0.0.103
gtp ran-info-relay 262 42 3
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43458?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4d3f6b9910756e78d3425459bdfd3196886097ef
Gerrit-Change-Number: 43458
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39259?usp=email )
(
16 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: SGSN: TC_attach_timeout_after_pdp_act: expect SAI when doing auth
......................................................................
SGSN: TC_attach_timeout_after_pdp_act: expect SAI when doing auth
While doing an attach, an authentication should happen.
Change-Id: I46853723ecb43f4809e8c292ec5c4cc5d872ad2f
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
lynxis lazus: Looks good to me, approved
fixeria: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 6e8998b..538c94b 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -659,7 +659,7 @@
T.start(1.0);
alt {
- [] as_gmm_auth(ran_index := ran_index) { repeat; };
+ [] as_gmm_auth(ran_index := ran_index, expect_sai := true) { repeat; };
[] as_gmm_gsup_lu_isd();
[] as_mm_identity(ran_index);
[] as_xid(apars, ran_index);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39259?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I46853723ecb43f4809e8c292ec5c4cc5d872ad2f
Gerrit-Change-Number: 39259
Gerrit-PatchSet: 21
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43453?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: SGSN: f_routing_area_update(): expect a Location Update by default
......................................................................
SGSN: f_routing_area_update(): expect a Location Update by default
As long the libvlr is always doing an Location Update, even when the
location is still located at the same SGSN, which it would not require
to do so, expect a Location Update by default.
Change-Id: Ib67af3197399f1bf94e8d691f4e356f9a926c0d5
---
M sgsn/BSSGP_ConnHdlr.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
daniel: Looks good to me, but someone else must approve
lynxis lazus: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/sgsn/BSSGP_ConnHdlr.ttcn b/sgsn/BSSGP_ConnHdlr.ttcn
index f11eee8..7220ba0 100644
--- a/sgsn/BSSGP_ConnHdlr.ttcn
+++ b/sgsn/BSSGP_ConnHdlr.ttcn
@@ -706,7 +706,8 @@
GprsUpdateType upd_type := GPRS_UPD_T_RA,
integer ran_index := 0,
float Tval := 2.0,
- SGSN_auth_mode auth_mode := SGSN_AUTH_MODE_REQUIRED) runs on BSSGP_ConnHdlr {
+ SGSN_auth_mode auth_mode := SGSN_AUTH_MODE_REQUIRED,
+ boolean expect_lu_isd := true) runs on BSSGP_ConnHdlr {
var template (omit) OCT4 p_tmsi := omit;
var boolean authed := false;
timer T := Tval;
@@ -727,6 +728,7 @@
[] as_routing_area_update(ran_index) { setverdict(pass); }
[is_gb(ran_index)] BSSGP[ran_index].receive { repeat; }
[is_iu(ran_index)] RAN_CONN.receive { repeat; }
+ [expect_lu_isd] as_gmm_gsup_lu_isd() { repeat; }
[] T.timeout {
setverdict(fail, "Timeout completing the RAU procedure");
mtc.stop;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43453?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib67af3197399f1bf94e8d691f4e356f9a926c0d5
Gerrit-Change-Number: 43453
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43454?usp=email )
(
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: SGSN: as_service_request(): use as_ciph_utran() to parse the Security Command
......................................................................
SGSN: as_service_request(): use as_ciph_utran() to parse the Security Command
as_ciph_utran() parse the Ciphering Command in more detail than the
alt step before.
Change-Id: Ice385045c96e2d2eac7aa3c523c7b7c3c39e8bf4
---
M sgsn/BSSGP_ConnHdlr.ttcn
1 file changed, 3 insertions(+), 7 deletions(-)
Approvals:
pespin: Looks good to me, approved
fixeria: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/sgsn/BSSGP_ConnHdlr.ttcn b/sgsn/BSSGP_ConnHdlr.ttcn
index 7220ba0..fa83595 100644
--- a/sgsn/BSSGP_ConnHdlr.ttcn
+++ b/sgsn/BSSGP_ConnHdlr.ttcn
@@ -399,7 +399,7 @@
* CommonId
* (out of order: GMM ID Req)
*/
-function f_gmm_auth (boolean umts_aka_challenge := false, boolean force_gsm_sres := false, integer ran_index := 0) runs on BSSGP_ConnHdlr {
+function f_gmm_auth(boolean umts_aka_challenge := false, boolean force_gsm_sres := false, integer ran_index := 0) runs on BSSGP_ConnHdlr {
var PDU_L3_MS_SGSN l3_mo;
var PDU_L3_SGSN_MS l3_mt;
var default di := activate(as_mm_identity(ran_index));
@@ -765,13 +765,9 @@
mtc.stop;
}
/* 24.008 4.7.13.3: a SecurityModeCommand is an implicit Service Accept if UE was in PMM-IDLE */
- [] RAN_CONN.receive(tr_RANAP_SecurityModeCmd(uia_algs := ?,
- uia_key := oct2bit(g_pars.vec.ik),
- key_sts := ?)) {
- var IntegrityProtectionAlgorithm uia_chosen := 0; /* 0 = standard_UMTS_integrity_algorithm_UIA1 */
- RAN_CONN.send(ts_RANAP_SecurityModeComplete(uia_chosen));
+ [] as_ciph_utran() {
if (not exp_service_acc) {
- /* Because we stop processing early, we need to consume the CommonID */
+ /* We need to consume the CommonID */
RAN_CONN.receive(tr_RANAP_CommonId(imsi_hex2oct(g_pars.imsi)));
setverdict(pass);
} else {
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43454?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ice385045c96e2d2eac7aa3c523c7b7c3c39e8bf4
Gerrit-Change-Number: 43454
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>