Harald Welte
1af6ea82b7
msc: New TC_cl3_rnd_payload / TC_cl3_no_payload for COMPLETE L3
...
Test BSSMAP COMPLETE L3 INFO either with no payload whatsoever or with
random payload.
Change-Id: I37ca3e5048cc1c2678d763a44b7e228da29851cc
2018-01-26 10:42:53 +01:00
Harald Welte
b14c77ab85
msc: move default (auth=off, tmsi=on, encry=off) vty commands to f_init()
...
Change-Id: I38644ca3c4f629edb762cd24959033d426438e02
2018-01-26 10:42:53 +01:00
Harald Welte
161142834f
msc: TC_lu_imsi_auth_tmsi_encr_13_13
...
Add a first test for encryption (cipher mode command/complete)
Change-Id: I8a8a5c55d87bb251896664679920b96f678673a0
2018-01-24 23:05:35 +01:00
Harald Welte
c638f4dbe9
msc: TC_lu_auth_2G_fail: Test auth failure in 2G auth
...
Change-Id: I54ef4137c0b95658b1e844ac1bb13729f27fd0d1
2018-01-24 23:05:35 +01:00
Harald Welte
0195ab1ab1
msc: Add TC_cm_reest_req_reject: Expect CM RE-EST REQ to be rejected
...
Change-Id: I7d15b935caed2dacf39d66a33ff933a9b8c443d9
2018-01-24 23:05:35 +01:00
Harald Welte
f6b62eef0b
msc: Wait for proper BSSAP connection clear after CM SERV REJ
...
Change-Id: Ia8fc0e61c7f8f31ca4dd21a243e00ef688ff38c6
2018-01-24 23:05:35 +01:00
Harald Welte
6ed6bf9773
MSC_Tests: Use enum instead of magic numbers for CM_SERVICE_TYPE
...
Change-Id: Ic90b4a0aa47821877a2d3566606b9c9dd5919968
2018-01-24 23:05:32 +01:00
Harald Welte
81b7f9d802
msc: Fix generation of IMSI/IMEI/MSISDN
...
Now each test case uses unique IMSI/IMEI/MSISDN numbers, which helps
to identify test cases from traces or from VTY introspection
Change-Id: I54d05e8ec7aeecc48666d3b369351212a6a0ea6f
2018-01-24 22:42:25 +01:00
Harald Welte
3ca1c90ac4
MSC: Use VTY to enable/disable authentication + TMSI allocation
...
Change-Id: Ifaa0f119d37b18b804c563c045755cc23d509617
2018-01-24 18:53:32 +01:00
Harald Welte
d5b91409bc
msc: Cosmetic (fix comment)
...
Change-Id: I20c65454f606a5c3bc3c5a127ae02b6c204ca06e
2018-01-24 18:53:32 +01:00
Harald Welte
256571e6c5
MSC_Tests: Proper treatment of IMEI + TMSI
...
* don't use IMSI as IMEI
* store the TMSI (after it is allocated) in the g_pars variable for later use
Change-Id: I717f1c9ab21e5be8b88f10ce4e8c583b385f3664
2018-01-24 18:53:32 +01:00
Harald Welte
e1a2f3cb86
msc: Add all test cases to control section
...
Change-Id: I79abcbe5638a02c1d6d94ba31ce72bfbc372fd21
2018-01-24 17:29:15 +01:00
Harald Welte
66af9e6354
msc: Add TC_lu_disconnect: Start LU, then do a hard SCCP disconnect
...
Change-Id: I04d0b09350c6a1c9b8fb9aac87158a142d80f18f
2018-01-24 17:29:15 +01:00
Harald Welte
45164da2bc
MSC_Tests: More CM SERVICE REQ and EMERGENCY CALL related tests
...
Change-Id: I04ca21824f66ad90d9dac2c25000ecd724aa4528
2018-01-24 17:29:15 +01:00
Harald Welte
ba7b6d940e
msc: Add test case for LU with MI=IMEI (which is illegal)
...
Change-Id: Ie3c91a0ff212a70a8e03e0579f240a10bc4356f4
2018-01-24 17:29:15 +01:00
Harald Welte
bc881789bd
msc: Test closing BSSAP connection of LU by ClearCommand
...
Change-Id: I9194da2f9324ee17c920458cb920a6fa718ac739
2018-01-24 17:29:15 +01:00
Harald Welte
071ed736c8
msc: Add tests for HLR SAI timeout and HLR SAI error
...
Change-Id: I7f8c8ff9ccadd7b7b14cba12a34cebe6855a5367
2018-01-24 17:29:15 +01:00
Harald Welte
cf66d5a655
msc_tests: Randomly generate Auth Vector (rather than hard-coded value)
...
Change-Id: I2dc0570a8ae5003d26368b09d223db8e44a5c4ff
2018-01-24 17:29:15 +01:00
Harald Welte
7b1b281789
MSC: Add test for LU with 2G authentication
...
Change-Id: I5ea201bd603e581f199cd29056e7e7ebc9bd0923
2018-01-24 17:29:15 +01:00
Harald Welte
2bb825fc71
WIP: MSC: Add MO call testing
...
Change-Id: If32cb359b3cf732c4752856538552595dbbf2a8a
2018-01-24 17:29:15 +01:00
Harald Welte
701b574fed
Use Osmocom-patched UNIX_DOMAIN_SOCKETasp for SEQPACKET support
...
Upstream TITAN doesn't have this yet (it's submitted, though),
so we have to use our own repo for titan.TestPorts.UNIX_DOMAIN_SOCKETasp
and at the same time make sure that our MNCC port is using
SEQPACKET in MSC_Tests.cfg
Change-Id: Ifa3661d8f818564d595c4612e5612a245a31a8f4
2018-01-22 11:31:38 +01:00
Harald Welte
8a121b3cec
msc: make sending of early classmark optional
...
Change-Id: If25ba412ab393029ed7ae9af47e87d5f4a44acfc
2018-01-22 03:01:27 +01:00
Harald Welte
ef9fa87ac9
msc: Prepare authentication support
...
Change-Id: I930bed1907fd0faf61788cf14e75f2b2337572f4
2018-01-22 03:01:27 +01:00
Harald Welte
8260057d90
msc: Store CM2/CM3 in g_pars, so it can be modified
...
Change-Id: I726d851f45379b3efdb5ab62ea8f196cc0e41cc5
2018-01-22 03:01:27 +01:00
Harald Welte
5c2622cafb
MSC_Tests: Implement early classmark sending in LU
...
Change-Id: I019d51703c60203c7cb83a77dc7ca4b3d6623e24
2018-01-22 03:01:27 +01:00
Harald Welte
71b693365d
BSSMAP_Emulation: Introduce new MSC_CONN_PRIM_CONF_IND
...
If the ConnHdlr initiates an outbound connection, it needs to know
once that connection is established if it wants to send further
data. Transform the N-CONNECT.confirm into a MSC_CONN_PRIM_CONF_IND
and send it to the ConnHdlr.
Make use of it from the MSC_Tests when issuing a Complete L3 Info.
Change-Id: I7293a9f4993d13c90316224eb9f13e10130388ef
2018-01-22 03:01:27 +01:00
Harald Welte
e5bd1ae81a
msc: Add missing MSC_Tests.cfg file
...
Change-Id: I7671a95ab83854dab70fa7af5afd3d6420c1880f
2018-01-22 03:01:27 +01:00
Harald Welte
a49e36e911
MSC_Tests: Integrate MNCC, GSUP, BSSAP connection handler, ...
...
Change-Id: I7bb6660c6b6cef81533f0fbb5e735f08ed275b8c
2018-01-21 19:37:59 +01:00
Harald Welte
474fd7d11a
Add a MNCC Socket implementation for TTCN-3
...
Change-Id: I8c334d4c2e630b2b779e73404c44a8df3278c614
2018-01-03 21:09:35 +01:00
Harald Welte
20a58c6d6f
generalize shared code from regen_makefile.sh into shared helper script
...
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba
2017-12-13 01:04:42 +01:00
Harald Welte
9fbe93f532
regen_makefile.sh: Fix TITAN 6.1.0 support
...
When introducing the rewriting for 6.3.0 we broke the 6.1.0 support.
Now the result should build on Debian with both 6.1.0 and 6.3.0
Change-Id: I263a6abd2d9eb15ce5778ef8dbfcdac2a228b77d
2017-12-13 00:50:11 +01:00
Harald Welte
6807982106
Makefile: clone dependencies into 'deps' folder
...
We used to rely on out-of-tree git clones to be prepared by the user.
This commit changes the system to make sure we clone all git repos
we depend upon into the 'deps' folder, and then setup the symlinks
to that folder. As a result, we should be able to support
self-contained builds using the makefiles in this repo.
2017-12-12 16:30:53 +01:00
Harald Welte
140714d89d
regen_makefile.sh: Add Regex's for TITAN 6.3.0
...
The TITAN 6.3.0 makefile generator needs some new regular expressions
for patching the generated makefile to work on Debian
2017-12-08 14:03:28 +01:00
Harald Welte
f6dd64dd52
msc_tests: Initial skeleton for osmo-msc testing over SCCP/M3UA
2017-11-20 21:52:07 +01:00