encrypting the payload data

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

 



TLS is optional/configurable for SRTP. Could you check FAQ/wiki please? :)

BR,
nanang


On Fri, Jan 29, 2010 at 8:09 PM, susheel tickoo <ticks_sunny at yahoo.co.in> wrote:
>
> hi,
> Thanks for replying.
> I?just want to know that if i use SRTP and set the
> #define
> PJSIP_HAS_TLS_TRANSPORT 1 in config_site.h
> Do we need to enable the support for TLS and if we do then how can we enable it.
> As i tried to do this there were errors in linking thefollowing ?libraries
> libeay32.lib
> ssleay32.lib
> etc..
> Please let me know if i am missing something.
>
> thanks and regards
> susheel tickoo
>
> --- On Fri, 29/1/10, Nanang Izzuddin <nanang at pjsip.org> wrote:
>
> From: Nanang Izzuddin <nanang@xxxxxxxxx>
> Subject: Re: encrypting the payload data
> To: "pjsip list" <pjsip at lists.pjsip.org>
> Date: Friday, 29 January, 2010, 1:32 PM
>
> Hi,
>
> Well, the main purpose of audio encoder is to minimize bandwidth by
> compressing the raw audio. Then, most audio codecs for voip are lossy
> compression, that is why encrypting should be done after encoding :)
>
> Anyway, it is always recommended to implement RTP payload
> encryption/decryption using transport adapter, as SRTP does. The
> reasons are modularity, no library modification needed, ability to
> exploit RTP header, etc.
>
> BR,
> nanang
>
>
> On Thu, Jan 28, 2010 at 11:24 PM, susheel tickoo
> <ticks_sunny at yahoo.co.in> wrote:
> >
> > hi,
> > I want to encrypt the payload of the RTP packet and transmit it . I came to understand that we need to encrypt the payload only after encoding it.But once we have encoded it the data size is reduced from 320 bytes to 33 bytes. Can anyone tell me why should we only encrypt after encoding and why the encoder compresses the data?
> >
> > There is one more thing. When i encrypt the raw data before encoding it,?the encryption/decryption fails as the data is of void* type and i encode it after type casting it to char* .Do we need to take any extra measure to encrypt before encoding.
> >
> > thanks and regards
> > susheel tickoo
> >
> >
> >
> > ________________________________
> > The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> ________________________________
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux