This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via ddee01fa8fe3b71d39b1e0b9e9ceb93366d56242 (commit)
from d7df7ae39276e825af2a1b7ac82eb74b42ec7775 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=ddee01fa8fe3b71d39b1e0b9e9ceb933…
commit ddee01fa8fe3b71d39b1e0b9e9ceb93366d56242
Author: Max <msuraev(a)sysmocom.de>
Date: Tue May 24 14:23:27 2016 +0200
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
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gsm_data.h | 6 ++++++
openbsc/src/libbsc/bsc_vty.c | 29 ++++++++++++++++++++++++++---
openbsc/src/libcommon/gsm_data.c | 1 +
openbsc/src/libmsc/gsm_04_08.c | 31 ++++++++++++++++++++++++++++---
openbsc/src/libmsc/vty_interface_layer3.c | 15 +++++++++++----
openbsc/tests/vty_test_runner.py | 16 ++++++++++++++++
6 files changed, 88 insertions(+), 10 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)