TCP NAT traversal with PJSIP

CR
Claudio Rossi
Mon, Oct 25, 2010 3:17 PM

Hi all,
First of all congratulation for your work, it seams very well done! I
am new to PJSIP and I had a look to the PJNATH package. As far as I
understood I cannot do TCP NAT traversal, i.e., ICE only gathers UDP
candidates, but I can only do relaying with TURN TCP.
I checked for a pseudo TCP implementation,i.e., a reliable transport
build on top of UDP.
Thus I conclude that I cannot use PJNATH to build a peer-to-peer
reliable service, such as a file sharing application, unless I accept
to have all the traffic relayed by a TCP TURN server when one, or
booth, peer are behind NAT.
Am I getting the right understanding? The PJ team is willing to
implement a pseudo TCP module? (I found pseudo TCP implementation in
both libnice http://nice.freedesktop.org/wiki/  and libjungle
http://code.google.com/apis/talk/libjingle/index.html)
In case that a pseudo TCP implementation is not foreseen, there is
anybody willing to support me in doing that?
Best Regards

--
Claudio Rossi

Office @ PoliTO: +39 011 5644194

Hi all, First of all congratulation for your work, it seams very well done! I am new to PJSIP and I had a look to the PJNATH package. As far as I understood I cannot do TCP NAT traversal, i.e., ICE only gathers UDP candidates, but I can only do relaying with TURN TCP. I checked for a pseudo TCP implementation,i.e., a reliable transport build on top of UDP. Thus I conclude that I cannot use PJNATH to build a peer-to-peer reliable service, such as a file sharing application, unless I accept to have all the traffic relayed by a TCP TURN server when one, or booth, peer are behind NAT. Am I getting the right understanding? The PJ team is willing to implement a pseudo TCP module? (I found pseudo TCP implementation in both libnice http://nice.freedesktop.org/wiki/ and libjungle http://code.google.com/apis/talk/libjingle/index.html) In case that a pseudo TCP implementation is not foreseen, there is anybody willing to support me in doing that? Best Regards -- Claudio Rossi ------------------- Office @ PoliTO: +39 011 5644194
FK
Federico Kouyoumdjian
Tue, Jan 10, 2012 5:10 PM

We also need pseudo TCP module. Have you find any solution to this issue?

We also need pseudo TCP module. Have you find any solution to this issue?
GL
Gang Liu
Wed, Jan 18, 2012 2:45 AM

Why not design a high level protocol on top of udp using pjlib?
define packet sequence, packet retransmission interval and packet ack
logic, and use a send/recv buffer
something like TCP protocol.
I am also considering use pjlib to write a p2p demo client to run at
openwrt platform

regards,
Gang

On Wed, Jan 11, 2012 at 1:10 AM, Federico Kouyoumdjian
fedekp@autistici.org wrote:

We also need pseudo TCP module. Have you find any solution to this issue?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Why not design a high level protocol on top of udp using pjlib? define packet sequence, packet retransmission interval and packet ack logic, and use a send/recv buffer something like TCP protocol. I am also considering use pjlib to write a p2p demo client to run at openwrt platform regards, Gang On Wed, Jan 11, 2012 at 1:10 AM, Federico Kouyoumdjian <fedekp@autistici.org> wrote: > We also need pseudo TCP module. Have you find any solution to this issue? > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
AT
Auro Tripathy
Mon, Sep 3, 2012 10:23 PM

Just following up, any implementation exists?

If not, I better get started.

-Auro


From: Federico Kouyoumdjian fedekp@autistici.org
To: pjsip@lists.pjsip.org
Sent: Tuesday, January 10, 2012 9:10 AM
Subject: Re: [pjsip] TCP NAT traversal with PJSIP

We also need pseudo TCP module. Have you find any solution to this issue?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Just following up, any implementation exists? If not, I better get started. -Auro ________________________________ From: Federico Kouyoumdjian <fedekp@autistici.org> To: pjsip@lists.pjsip.org Sent: Tuesday, January 10, 2012 9:10 AM Subject: Re: [pjsip] TCP NAT traversal with PJSIP We also need pseudo TCP module. Have you find any solution to this issue? _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org