[PATCH 1/4] Added new auth policy black-list.

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/.

Holger Hans Peter Freyther holger at freyther.de
Thu Sep 19 15:09:58 UTC 2013


On Thu, Sep 19, 2013 at 04:22:31PM +0400, Ivan Kluchnikov wrote:

> 
> Yes, this logic will work after my changes too.

We don't talk the same language here. With your change.. all
subscribers that were allowed in during the blacklist mode are
now authorized=1. So, if I want to change the policy, I will
need to update the database.

> I think the problem is that db_create_subscriber() function not only
> saves and restores records, but also creates subscriber.
> So I believe, that the right way is to add new layer "subscriber" and
> separate db_create_subscriber() function in two functions like
> create_subscriber() [subscriber layer] and db_set_subscriber() [db
> layer].

makes sense. I plan to clean that up.




More information about the OpenBSC mailing list