[OpenSIPS-Devel] Devel Digest, Vol 72, Issue 30

kaushik parmar androidjpc0 at gmail.com
Wed Jun 25 15:12:14 CEST 2014


Hi Adrian,

If we use openvpn or other vpn then we have to handle vpn connection from
client and also from server for each user. We want single server side
component for encryption and decryption so our voip packet can not be
parsed by third party. We want what opensips server and rtpproxy server can
decrypt the signals. So can you please tell me where can i find files to
send and receive SIP signals in opensips?


On Wed, Jun 25, 2014 at 6:05 PM, <devel-request at lists.opensips.org> wrote:

> Send Devel mailing list submissions to
>         devel at lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
>         devel-request at lists.opensips.org
>
> You can reach the person managing the list at
>         devel-owner at lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Devel digest..."
>
>
> Today's Topics:
>
>    1. Re: Devel Digest, Vol 72, Issue 27 (kaushik parmar)
>    2. Re: Devel Digest, Vol 72, Issue 27 (ag at ag-projects.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 25 Jun 2014 16:58:18 +0530
> From: kaushik parmar <androidjpc0 at gmail.com>
> Subject: Re: [OpenSIPS-Devel] Devel Digest, Vol 72, Issue 27
> To: Bogdan-Andrei Iancu <bogdan at opensips.org>
> Cc: OpenSIPS devel mailling list <devel at lists.opensips.org>
> Message-ID:
>         <CAGzPE19rTt6A=
> Pw3oymjcVf6MM1GqDWyg1jAOFeRJNkFAMmhWg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I am encrypting SIP and RTP message before sending it from sip mobile
> dialer and it sends UDP packet over network. So no one can know about the
> type (SIP or RTP) of packet until we decrypt it. This is for secured call
> and also solution for voip blocked countries.
>
> I want to know which file or module is used in opensips to get and send udp
> packets? when opensips receives message , i will decrypt it and before send
> response to mobile dialer , i will encrypt the message. Same for rtpproxy
> server.
>
>
>
>
> On Wed, Jun 25, 2014 at 2:41 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
> >  Hi Kaushik,
> >
> > So the while SIP package is encrypted . It is not easy to add hooks
> before
> > the SIP stack (between transport layer and SIP stack), but can be done -
> > could you provide more details how the encryption / decryption works, if
> > over UDP or TCP, etc ?
> >
> > Regards,
> >
> > Bogdan-Andrei Iancu
> > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
> >
> > On 25.06.2014 09:26, kaushik parmar wrote:
> >
> > Hi Adrian,
> >
> >  It is not OTR. Actually we have own algorithm for encryption and
> > decryption of sip and rtp packets. We implemented it in our SIP mobile
> > dialer. Now we need to implement it on proxy server. I want to add
> > encryption and decryption code in opensips (and rtpproxy) so opensips
> > (rtpproxy) can come to know that it is SIP and rtp packets. Can you
> please
> > tell me where should i add this code in opensips?  I am searching for
> file
> > where opensips getting sip messages and from where it sends/forward sip
> > messages.
> >
> >
> > On Tue, Jun 24, 2014 at 3:30 PM, <devel-request at lists.opensips.org>
> wrote:
> >
> >> Send Devel mailing list submissions to
> >>         devel at lists.opensips.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >> or, via email, send a message with subject or body 'help' to
> >>         devel-request at lists.opensips.org
> >>
> >> You can reach the person managing the list at
> >>         devel-owner at lists.opensips.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Devel digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. Re: [OpenSIPS-Users] Encrypt and Decrypt sip      signals
> >>       (ag at ag-projects.com)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Mon, 23 Jun 2014 16:11:46 -0300
> >> From: ag at ag-projects.com
> >> Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] Encrypt and Decrypt sip
> >>         signals
> >> To: OpenSIPS users mailling list <users at lists.opensips.org>
> >> Cc: OpenSIPS devel mailling list <devel at lists.opensips.org>
> >> Message-ID: <2EA9531B-F5B8-42EF-B513-395B6A493175 at ag-projects.com>
> >> Content-Type: text/plain; charset="us-ascii"
> >>
> >> Perhaps is using OTR? In this case the encryption is end-to-end and
> >> cannot be handled by an intermediary as it defies the purpose.
> >>
> >> Adrian
> >>
> >> On 23 Jun 2014, at 04:24, Olle E. Johansson <oej at edvina.net> wrote:
> >>
> >> >
> >> > On 23 Jun 2014, at 09:12, kaushik parmar <androidjpc0 at gmail.com>
> wrote:
> >> >
> >> >> Hello All,
> >> >>
> >> >> My Android mobile SIP Dialer is sending Encrypted SIP messages
> >> > Is it actually using S/MIME to decrypt on a per-message basis or do
> you
> >> mean it's using TLS as a transport?
> >> >
> >> > /O
> >> >
> >> >> and i want to decrypt that SIP message on opensips proxy server.
> >> Opensips server will Decrypt the sip request and forward it to my voip
> >> server. Same way it will take sip request of voip switch , Encrypt it
> and
> >> send Encrypted SIP request to Android mobile Application.
> >> >>
> >> >> Can anyone tell me where should i write Encryption and Decryption
> code
> >> in opensips? Is there any particular file in which i can write my
> >> encryption code?
> >> >>
> >> >>
> >> >> --
> >> >> Kind regards,
> >> >>
> >> >> Kaushik Parmar
> >> >> _______________________________________________
> >> >> Users mailing list
> >> >> Users at lists.opensips.org
> >> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> >
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users at lists.opensips.org
> >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://lists.opensips.org/pipermail/devel/attachments/20140623/813151c3/attachment.html
> >> >
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >>
> >>
> >> End of Devel Digest, Vol 72, Issue 27
> >> *************************************
> >>
> >
> >
> >
> >  --
> >  Kind regards,
> >
> >  Kaushik Parmar
> >
> >
> > _______________________________________________
> > Devel mailing listDevel at lists.opensips.orghttp://
> lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >
> >
> >
>
>
> --
> Kind regards,
>
> Kaushik Parmar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opensips.org/pipermail/devel/attachments/20140625/a963d7a5/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 25 Jun 2014 09:35:37 -0300
> From: ag at ag-projects.com
> Subject: Re: [OpenSIPS-Devel] Devel Digest, Vol 72, Issue 27
> To: OpenSIPS devel mailling list <devel at lists.opensips.org>
> Message-ID: <C88C405A-2AC7-46A4-8228-B03822A77293 at ag-projects.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Sounds like a generic tunnelling technique that has little to do with SIP
> or media. Why can?t you just use OpenVPN or similar ?
>
> Adrian
>
> On 25 Jun 2014, at 08:28, kaushik parmar <androidjpc0 at gmail.com> wrote:
>
> > Hi,
> >
> > I am encrypting SIP and RTP message before sending it from sip mobile
> dialer and it sends UDP packet over network. So no one can know about the
> type (SIP or RTP) of packet until we decrypt it. This is for secured call
> and also solution for voip blocked countries.
> >
> > I want to know which file or module is used in opensips to get and send
> udp packets? when opensips receives message , i will decrypt it and before
> send response to mobile dialer , i will encrypt the message. Same for
> rtpproxy server.
> >
> >
> >
> >
> > On Wed, Jun 25, 2014 at 2:41 PM, Bogdan-Andrei Iancu <
> bogdan at opensips.org> wrote:
> > Hi Kaushik,
> >
> > So the while SIP package is encrypted . It is not easy to add hooks
> before the SIP stack (between transport layer and SIP stack), but can be
> done - could you provide more details how the encryption / decryption
> works, if over UDP or TCP, etc ?
> >
> > Regards,
> >  Bogdan-Andrei Iancu
> > OpenSIPS Founder and Developer
> > http://www.opensips-solutions.com
> > On 25.06.2014 09:26, kaushik parmar wrote:
> >> Hi Adrian,
> >>
> >> It is not OTR. Actually we have own algorithm for encryption and
> decryption of sip and rtp packets. We implemented it in our SIP mobile
> dialer. Now we need to implement it on proxy server. I want to add
> encryption and decryption code in opensips (and rtpproxy) so opensips
> (rtpproxy) can come to know that it is SIP and rtp packets. Can you please
> tell me where should i add this code in opensips?  I am searching for file
> where opensips getting sip messages and from where it sends/forward sip
> messages.
> >>
> >>
> >> On Tue, Jun 24, 2014 at 3:30 PM, <devel-request at lists.opensips.org>
> wrote:
> >> Send Devel mailing list submissions to
> >>         devel at lists.opensips.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >> or, via email, send a message with subject or body 'help' to
> >>         devel-request at lists.opensips.org
> >>
> >> You can reach the person managing the list at
> >>         devel-owner at lists.opensips.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Devel digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. Re: [OpenSIPS-Users] Encrypt and Decrypt sip      signals
> >>       (ag at ag-projects.com)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Mon, 23 Jun 2014 16:11:46 -0300
> >> From: ag at ag-projects.com
> >> Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] Encrypt and Decrypt sip
> >>         signals
> >> To: OpenSIPS users mailling list <users at lists.opensips.org>
> >> Cc: OpenSIPS devel mailling list <devel at lists.opensips.org>
> >> Message-ID: <2EA9531B-F5B8-42EF-B513-395B6A493175 at ag-projects.com>
> >> Content-Type: text/plain; charset="us-ascii"
> >>
> >> Perhaps is using OTR? In this case the encryption is end-to-end and
> cannot be handled by an intermediary as it defies the purpose.
> >>
> >> Adrian
> >>
> >> On 23 Jun 2014, at 04:24, Olle E. Johansson <oej at edvina.net> wrote:
> >>
> >> >
> >> > On 23 Jun 2014, at 09:12, kaushik parmar <androidjpc0 at gmail.com>
> wrote:
> >> >
> >> >> Hello All,
> >> >>
> >> >> My Android mobile SIP Dialer is sending Encrypted SIP messages
> >> > Is it actually using S/MIME to decrypt on a per-message basis or do
> you mean it's using TLS as a transport?
> >> >
> >> > /O
> >> >
> >> >> and i want to decrypt that SIP message on opensips proxy server.
> Opensips server will Decrypt the sip request and forward it to my voip
> server. Same way it will take sip request of voip switch , Encrypt it and
> send Encrypted SIP request to Android mobile Application.
> >> >>
> >> >> Can anyone tell me where should i write Encryption and Decryption
> code in opensips? Is there any particular file in which i can write my
> encryption code?
> >> >>
> >> >>
> >> >> --
> >> >> Kind regards,
> >> >>
> >> >> Kaushik Parmar
> >> >> _______________________________________________
> >> >> Users mailing list
> >> >> Users at lists.opensips.org
> >> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> >
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users at lists.opensips.org
> >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> http://lists.opensips.org/pipermail/devel/attachments/20140623/813151c3/attachment.html
> >
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >>
> >>
> >> End of Devel Digest, Vol 72, Issue 27
> >> *************************************
> >>
> >>
> >>
> >> --
> >> Kind regards,
> >>
> >> Kaushik Parmar
> >>
> >>
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> >
> >
> >
> >
> > --
> > Kind regards,
> >
> > Kaushik Parmar
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opensips.org/pipermail/devel/attachments/20140625/7538a053/attachment.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>
> End of Devel Digest, Vol 72, Issue 30
> *************************************
>



-- 
Kind regards,

Kaushik Parmar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140625/e77df462/attachment-0001.htm>


More information about the Devel mailing list