fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36824?usp=email )
Change subject: sgsn: fix TC_iu_attach failing for recent -master
......................................................................
sgsn: fix TC_iu_attach failing for recent -master
Since recently, osmo-sgsn is requesting encryption (UEA1 + UEA2)
in RANAP Security Mode Command by default [1]. The testcase
TC_iu_attach is assuming no encryption (UEA0) and thus failing.
Fix this by explicitly setting UEA0 via the VTY, similarly to
what testcase TC_iu_attach_encr does.
Change-Id: Ibaf83db1ab0f82f7e934e89ae3f6c19d014be197
Related: [1] osmo-sgsn.git I4eb9451b4267fc1436ed90a55ff200cf36f16bf6
---
M sgsn/SGSN_Tests_Iu.ttcn
1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/24/36824/1
diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 53aa032..f6a4243 100644
--- a/sgsn/SGSN_Tests_Iu.ttcn
+++ b/sgsn/SGSN_Tests_Iu.ttcn
@@ -35,6 +35,7 @@
var BSSGP_ConnHdlr vc_conn;
f_init();
f_sleep(1.0);
+ f_vty_config(SGSNVTY, "sgsn", "encryption uea 0");
vc_conn := f_start_handler(refers(f_TC_iu_attach), testcasename(), g_gb, 1001);
vc_conn.done;
f_cleanup();
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36824?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: Ibaf83db1ab0f82f7e934e89ae3f6c19d014be197
Gerrit-Change-Number: 36824
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange