osmo-msc/openbsc/tests
Max ddee01fa8f Add regexp authorization policy for IMSI
* extend "auth policy" vty command with new option "regexp"
* add vty command "authorized-regexp" for setting arbitrary POSIX
  regular expression
* add basic vty test
* add optional "regexp" argument to subscriber-create-on-demand vty
  command

With those in place we can now set the regexp against which MS's IMSI
will be matched.

If IMSI match the regexp than MS is allowed to access the network. If
subscriber is already marked as authorized in HLR than it'll be allowed
regardless of IMSI matching.

The same way we can decide whether to create subscribers on-demand
basesd on IMSI regexp match. Similar to authorization this restriction
can be overridden by manually creating subscriber via vty, ctrl
interface or directly in HLR.

Change-Id: I525f4b80676de47d1d422686da2ca012301b0129
Fixes: OS#1647
2016-06-05 09:36:37 +00:00
..
abis tests/abis: fix format specifiers 2016-01-15 15:41:19 +01:00
bsc bsc_test.c: fix tz.override val and note a FIXME 2016-02-27 23:38:28 +01:00
bsc-nat filter/nat: Fix the context for the imsi assignment 2016-05-25 19:43:38 +00:00
bsc-nat-trie move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
channel channel_test: don't segfault if paging fails 2016-03-03 16:12:04 +01:00
db Cleanup db test 2016-05-17 16:14:06 +00:00
gbproxy move gsm_04_08_gprs.h to libosmocore 2016-04-29 13:10:37 +02:00
gprs Move osmo_gsup_messages.[ch] to libosmocore 2016-04-29 13:10:37 +02:00
gsm0408 Make si2q scheduling optional 2016-05-31 09:32:12 +00:00
gtphub use new libosmocore gsm_23_003.h for IMEI/IMSI length 2016-04-29 13:10:37 +02:00
mgcp mgcp_osmux: available circuit IDs from 0 to 255, not from 0 to 128 2015-11-02 13:26:26 +01:00
mm_auth Start to use struct osmo_auth_vector from gsm_auth_tuple 2016-04-29 13:10:37 +02:00
oap osmo_oap_decode(): Use common argument ordering 2016-04-29 13:10:37 +02:00
sgsn rename gsm0408_gprs_rcvmsg() to gsm0408_gprs_rcvmsg_gb() 2016-06-02 03:00:53 +02:00
smpp Patch to make openbsc find libsmpp34 2016-02-18 19:39:32 +01:00
subscr msc: Add per subscriber keep_in_ram flag 2014-12-09 09:08:28 +01:00
trau mncc: Complete definitions for all speech traffic frames at MNCC interface 2014-03-20 22:36:16 +01:00
Makefile.am Add MM Auth test; add auth_action_str() function 2016-03-31 11:56:00 +02:00
atlocal.in tests: fix condition to run sgsn, oap, gtphub tests 2015-12-03 11:47:34 +01:00
ctrl_test_runner.py ctrl: Extend ctrl command to optionally handle alg+ki 2016-04-07 09:27:07 +02:00
smpp_test_runner.py nitb/smpp: Add simple test runner for the issues found by daniel 2014-03-06 23:48:17 +01:00
testsuite.at Add MM Auth test; add auth_action_str() function 2016-03-31 11:56:00 +02:00
vty_test_runner.py Add regexp authorization policy for IMSI 2016-06-05 09:36:37 +00:00