10 May
2016
10 May
'16
12:58 p.m.
On Mon, May 09, 2016 at 04:44:59PM +0200, Holger Freyther wrote:
On 03 May 2016, at 18:43, msuraev@sysmocom.de wrote:
From: Max <msuraev@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