
|
If you were logged in you would be able to see more operations.
|
|
|
sipXecs
Created: 2008-08-12 16:00
Updated: 2008-11-04 21:34
|
|
| Component/s: |
sipXrls
|
| Affects Version/s: |
3.10.1
|
| Fix Version/s: |
3.11.7
|
|
|
As per subject.
RLS server does not challenge incoming RLS subscriptions. It does not seem to be creating an association between RLS groups and their owners.
It is not difficuilt to either learn or guess the RLS group name (known name generation algorithm).
It is possible for the whole world to subscribe for RLS (no need to have a valid account on the system).
This is a privacy issue. Anybody can know when users are on the phone and who is calling whom.
I will raise a separate issue regarding the ability of the world to subscribe for dialog event ackage with individual users.
|
|
Description
|
As per subject.
RLS server does not challenge incoming RLS subscriptions. It does not seem to be creating an association between RLS groups and their owners.
It is not difficuilt to either learn or guess the RLS group name (known name generation algorithm).
It is possible for the whole world to subscribe for RLS (no need to have a valid account on the system).
This is a privacy issue. Anybody can know when users are on the phone and who is calling whom.
I will raise a separate issue regarding the ability of the world to subscribe for dialog event ackage with individual users.
|
Show » |
|
+++ sipXpbx/sipXrls/src/ResourceListServer.cpp
+++ sipXpbx/sipXrls/src/ResourceListServer.h
Modify the constructor to add the UtlString argument "realm".
Pass the realm and domain name arguments onto the RlsSubscribePolicy object constructor.
+++ sipXpbx/sipXrls/src/main.cpp
Get the realm info from "SIP_RLS_AUTHENTICATE_REALM" configuration in "sipxrls-config"
+++ sipXpbx/sipXrls/src/RlsSubscribePolicy.cpp
+++ sipXpbx/sipXrls/src/RlsSubscribePolicy.h
Modify the constructor to accept the realm and the domain name as arguments
Override the virtual method UtlBoolean isAuthenticated() of the base class SipSubscribeServerEventHandler
In RlsSubscribePolicy::isAuthenticated(), check the credentials for the from address of the SIP message in the CredentialsDb. The host address part of the from uri is set to the default domain name, in order to support from uris using a domain alias.
+++ sipXconfig/neoconf/test/org/sipfoundry/sipxconfig/service/expected-rls-config
+++ sipXconfig/neoconf/etc/sipxrls/sipxrls-config.vm
Modify to generate the realm ("SIP_RLS_AUTHENTICATE_REALM") from the template for sipxrls-config. Adjust the unit test to reflect this change.