[PATCH 5/5] Add IMSI-prefix authorization policy

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue May 10 09:58:36 UTC 2016


On Mon, May 09, 2016 at 04:44:59PM +0200, Holger Freyther wrote:
> 
> > On 03 May 2016, at 18:43, msuraev at sysmocom.de wrote:
> > 
> > From: Max <msuraev at sysmocom.de>
> > 
> > * extend "auth policy" vty command with new option "prefix"
> > * add vty command "authorize-prefix" for setting arbitrary prefix
> > * add basic vty test
> > * add optional "imsi-prefix" argument to subscriber-create-on-demand vty
> 
> 
> Why not a regexp? I mean if we have a prefix.. then ^26203 is not really that far away from it?

actually '26203.*', because it should probably match the entire IMSI.

A regex is of course fully featured, but would introduce corner cases of
invalid regular expressions entered by the user. Code bloat?

~Neels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160510/d74ed3a6/attachment.bin>


More information about the OpenBSC mailing list