Kristian Kielhofner writes:
http://openser.org/docs/modules/1.1.x/permissions.html
> Specifically allow_trusted()
> Just add some:
> "if (!allow_trusted())" type stuff and you can add IPs all day
long. > Much better than lines and lines of code to match IPs one by
one!
this reminds me that i have been thinking to add to permissions module a
new function
allow_address(ip [,port])
where ip and port can be any AVPs. it will check if match is found in a
new address table. perhaps it should also have an index parameter
allowing multiple address sets.
any comments?