Thoughts on implementing a tunnel (somewhat!)

SK
Shrouk Khan
Mon, Jul 12, 2010 11:34 AM

hi,
this is just from the top of my head . I am working with pjsip on symbian
and  studying for implementing a voip tunnel for it.

If I implement a tunnel ( using the word "tunnel" is an exaggeration  , I
am simply encrypting the packets before they go out of the software and
decrypting them at the destination before sending it to the server ) , will
it work in places where VOIP is blocked ? (like UAE)

The idea is like this:

pjsip software  <---------------------------------> A proxy server
<----------------------------->  SIP Server
Encrypted packet
Decrypted packet

I am not thinking of anything sophisticated , I shall pick the simplest
encryption with a static shared key and use it to encrypt the packets just
before they go out of the software (  i think the file to modify is pjlib /
src / pj / sock_symbian.cpp ) and on the receiving end decrypt them at a
proxy server and send it to the sip server .

Again , this is not something that has been thought through . Just came to
my mind and I am putting it out there for discussion . So can anyone comment
on this ?

--
Regards

Shrouk Khan (Khan)
System Administrator / Telecommunication System Developer
Office:  +354 4400807 (Reykjavik)
+44  2031370800 (London)
Mobile:  +66  875049439 (Bangkok)

Web: www.softverk.is

Reykjavik, Iceland  //  London, UK  //  Bangkok, Thailand

hi, this is just from the top of my head . I am working with pjsip on symbian and studying for implementing a voip tunnel for it. If I implement a tunnel ( using the word "tunnel" is an exaggeration , I am simply encrypting the packets before they go out of the software and decrypting them at the destination before sending it to the server ) , will it work in places where VOIP is blocked ? (like UAE) The idea is like this: pjsip software <---------------------------------> A proxy server <-----------------------------> SIP Server Encrypted packet Decrypted packet I am not thinking of anything sophisticated , I shall pick the simplest encryption with a static shared key and use it to encrypt the packets just before they go out of the software ( i think the file to modify is pjlib / src / pj / sock_symbian.cpp ) and on the receiving end decrypt them at a proxy server and send it to the sip server . Again , this is not something that has been thought through . Just came to my mind and I am putting it out there for discussion . So can anyone comment on this ? -- Regards Shrouk Khan (Khan) System Administrator / Telecommunication System Developer Office: +354 4400807 (Reykjavik) +44 2031370800 (London) Mobile: +66 875049439 (Bangkok) Web: www.softverk.is Reykjavik, Iceland // London, UK // Bangkok, Thailand
SK
Shrouk Khan
Mon, Jul 12, 2010 12:14 PM

hi,
actually going through the source code , i came across pjlib / src / pj /
ssl_sock_symbian.cpp . Is this class used for both sip and voice
transmission over the network ?

So , what happens when I have a ssl capable  proxy / sip server on the other
end ? will the ISP be able to detect the traffic type ?

Khan

On Mon, Jul 12, 2010 at 6:34 PM, Shrouk Khan shroukkhan@softverk.is wrote:

hi,
this is just from the top of my head . I am working with pjsip on symbian
and  studying for implementing a voip tunnel for it.

If I implement a tunnel ( using the word "tunnel" is an exaggeration  , I
am simply encrypting the packets before they go out of the software and
decrypting them at the destination before sending it to the server ) , will
it work in places where VOIP is blocked ? (like UAE)

The idea is like this:

pjsip software  <---------------------------------> A proxy server
<----------------------------->  SIP Server
Encrypted packet
Decrypted packet

I am not thinking of anything sophisticated , I shall pick the simplest
encryption with a static shared key and use it to encrypt the packets just
before they go out of the software (  i think the file to modify is pjlib /
src / pj / sock_symbian.cpp ) and on the receiving end decrypt them at a
proxy server and send it to the sip server .

Again , this is not something that has been thought through . Just came to
my mind and I am putting it out there for discussion . So can anyone comment
on this ?

--
Regards

Shrouk Khan (Khan)
System Administrator / Telecommunication System Developer
Office:  +354 4400807 (Reykjavik)
+44  2031370800 (London)
Mobile:  +66  875049439 (Bangkok)

Web: www.softverk.is

Reykjavik, Iceland  //  London, UK  //  Bangkok, Thailand

--
Regards

Shrouk Khan (Khan)
System Administrator / Telecommunication System Developer
Office:  +354 4400807 (Reykjavik)
+44  2031370800 (London)
Mobile:  +66  875049439 (Bangkok)

Web: www.softverk.is

Reykjavik, Iceland  //  London, UK  //  Bangkok, Thailand

hi, actually going through the source code , i came across pjlib / src / pj / ssl_sock_symbian.cpp . Is this class used for both sip and voice transmission over the network ? So , what happens when I have a ssl capable proxy / sip server on the other end ? will the ISP be able to detect the traffic type ? Khan On Mon, Jul 12, 2010 at 6:34 PM, Shrouk Khan <shroukkhan@softverk.is> wrote: > hi, > this is just from the top of my head . I am working with pjsip on symbian > and studying for implementing a voip tunnel for it. > > If I implement a tunnel ( using the word "tunnel" is an exaggeration , I > am simply encrypting the packets before they go out of the software and > decrypting them at the destination before sending it to the server ) , will > it work in places where VOIP is blocked ? (like UAE) > > The idea is like this: > > pjsip software <---------------------------------> A proxy server > <-----------------------------> SIP Server > Encrypted packet > Decrypted packet > > > I am not thinking of anything sophisticated , I shall pick the simplest > encryption with a static shared key and use it to encrypt the packets just > before they go out of the software ( i think the file to modify is pjlib / > src / pj / sock_symbian.cpp ) and on the receiving end decrypt them at a > proxy server and send it to the sip server . > > Again , this is not something that has been thought through . Just came to > my mind and I am putting it out there for discussion . So can anyone comment > on this ? > > -- > Regards > > Shrouk Khan (Khan) > System Administrator / Telecommunication System Developer > Office: +354 4400807 (Reykjavik) > +44 2031370800 (London) > Mobile: +66 875049439 (Bangkok) > > Web: www.softverk.is > > Reykjavik, Iceland // London, UK // Bangkok, Thailand > -- Regards Shrouk Khan (Khan) System Administrator / Telecommunication System Developer Office: +354 4400807 (Reykjavik) +44 2031370800 (London) Mobile: +66 875049439 (Bangkok) Web: www.softverk.is Reykjavik, Iceland // London, UK // Bangkok, Thailand