Cool patch,
Netmask, User agent and restriction on how many entries in location a user can have, would be Cool!
-Atle
* Jev jev@ecad.org [040730 21:02]:
Cool! Will this support network masks also?
-Jev
zolia@z1sys.com wrote:
hello,
wrote some small path, which adds authorization with source ip. to patch: cd ./ser-0.8.14 patch -p1 < ser-0.8.14_ip_auth.patch
add additional string column to subscribers: acc_ip
ex. usage: www_authorize_ip("your_realm", "subscriber", "0.0.0.0") )
where "0.0.0.0" means that source ip will be taken from from msg structure. If you specify IP instead of "0.0.0.0" then it will be checked instead of one taken from msg structure. It would be equivelent to write
src_ip != "source_ip_to_check" && !www_authorize("your_realm", "subscriber")
and
!www_authorize_ip("213.226.186.195", "subscriber", "source_ip_to_check")
Antanas
[snip]
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers