linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone Android Cipher modification


From: Johan Pascal
Subject: Re: [Linphone-developers] Linphone Android Cipher modification
Date: Fri, 11 Dec 2015 07:59:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Shruti,
what issue with ZRTP?

The issue with SDES incorrectly matching user preference for SRTP protection suite is still there but it is not related to ZRTP.

johan

On 11/12/15 06:29, Shruti Goyal wrote:
Hi Johan,

Just want to know that issue related to ZRTP has been fixed or not ?



With Warm Regards,

Shruti Goyal



On Wed, Oct 14, 2015 at 6:58 PM, Johan Pascal <address@hidden> wrote:
Set
media_encryption=zrtp
in the [sip] section of your linphonerc_factory files. It will force the media encryption setting to ZRTP at each start.

johan


On 14/10/15 07:08, Shruti Goyal wrote:
Thanks Johan for your suggestion.

Can you please tell that how can we compile or configure ZRTP with linphone ?

I have tried "make BUILD_ZRTP=1" but it does not select ZRTP in media encryption part of settings. How can we make ZRTP mandatory ? 



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Tue, Oct 6, 2015 at 2:27 PM, Johan Pascal <address@hidden> wrote:
Hi,
you're right, there is another problem there: the SDP offer/answer is buggy on SDES crypto suite selection when a subset of available SRTP crypto suites are selected on one side only.

For now you can force both ends to AES_CM_256_HMAC_SHA1_80 only or you can or use ZRTP to exchange keys.

I'll let yo know when its solved. It's not high in the priorities so it may take a while, if you're in a hurry and solve it yourself, any patch is then welcome!

regards,

johan


On 05/10/15 12:38, Shruti Goyal wrote:
Thanks Johan.

I tried as you suggested. 
  • I modified the linphone-android -> submodules -> linphone -> coreapi -> linphonecall.c at 436 line as done in your suggested commit. (replaced "30" with keylen).
  • I have updated submodules to the latest git revision.
Still no luck. Can you guide us how to ensure SRTP is working ? (for it we have set SRTP media_encryption_mandatory =1 in res -> raw -> linphonerc_factory under sip) Is it the right way ?

Please go through the LOGS attached in this email.



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Tue, Sep 29, 2015 at 5:46 PM, Johan Pascal <address@hidden> wrote:
Hi,
I fixed the problem in liblinphone, commit 10c8d03e4433c466d0ab6e19b629d7ec7dcde3be.

This commit is not yet part of the linphone-android depot, but you can get it in android by updating linphone submodule in your local linphone-android depot(you may also need to update oRTP, mediastreamer2 and bellesip to be able to build).

regards,

johan


On 28/09/15 08:31, Shruti Goyal wrote:
Both are Linphone Android.

I think the issue is that both are using different cipher_key.

here is the total debug log :-

E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_256_GCM_8' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AEAD_AES_128_GCM_8' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_80' with parameters ''
E/Linphone﹕ Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_32' with parameters ''
I/Linphone﹕ "Extension 1001" <sip:address@hidden> is contacting you.
I/Linphone﹕ New call state [IncomingReceived]
W/Linphone﹕ Routing audio to speaker, disabling bluetooth audio route
D/Linphone﹕ Audio focus requested: Granted
E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
E/MediaPlayer﹕ Should have subtitle controller already set
D/Linphone﹕ call accept
I/Linphone﹕ Connected.
I/Linphone﹕ New call state [Connected]
D/Linphone﹕ Stopped ringing, routing back to earpiece
W/Linphone﹕ Routing audio to earpiece, disabling bluetooth audio route
D/Linphone﹕ ---AudioManager: set mode to MODE_IN_COMMUNICATION
E/Linphone﹕ Error decoding b64 srtp recv key
E/Linphone﹕ Key size (30) doesn't match the selected srtp profile (required 46)
I/Linphone﹕ New call state [StreamsRunning]
I/Linphone﹕ New call active : acquiring incall (CPU only) wake lock
W/MediaPlayer﹕ mediaplayer went away with unhandled events
 I/Linphone﹕ Proximity sensor detected, registering
D/Linphone﹕ Proximity sensor report [5.000305] , for max range [5.000305]




With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Mon, Sep 28, 2015 at 11:39 AM, Johan Pascal <address@hidden> wrote:
Hi Shruti,
What is the other SIP client? Linphone Android too?

Can you post the whole debug log please.

thanks

johan


On 28/09/15 08:04, Shruti Goyal wrote:
Hi Johan,

I am getting this error while trying to enable SRTP in Linphone Android. 

Error decoding b64 srtp recv key
Key size (30) doesn't match the selected srtp profile (required 46)

Do you know something regarding this ?



With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Sat, Sep 26, 2015 at 5:05 PM, Shruti Goyal <address@hidden> wrote:
Thank you Johan.





With Warm Regards,

Shruti Goyal

VVDN Technologies Pvt Ltd

Cell : +91 9872048482 | Skype : shrutigoyal703



On Fri, Sep 25, 2015 at 3:27 PM, Johan Pascal <address@hidden> wrote:
Hi,
setting the available crypto suite for SRTP is done through the srtp_crypto_suites property in the sip section of the linphone configuration file.
By setting in the [sip] section:
srtp_crypto_suites=AES_CM_256_HMAC_SHA1_80

you will allow this suite only.

To configure it on Android, you shall modify the linphonerc_factory file in res/raw (for phone) and res/raw-sw600dp (for tablets).  Recompile and install.

regards,

johan


On 25/09/15 11:18, Shruti Goyal wrote:
Do any one know something related to this ?

Any help will be appreciated!!



With Warm Regards,

Shruti Goyal



On Thu, Sep 17, 2015 at 3:18 PM, Shruti Goyal <address@hidden> wrote:
Hi Devels,

How can i disable other ciphers except than "AES_CM_256_HMAC_SHA1_80" in Linphone Android?

Do anybody have some idea?



With Warm Regards,

Shruti Goyal





_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers





_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]