Is it yet P2P?

Questions related to developing on the Tonido Platform
nash_c
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Tue Mar 09, 2010 1:48 pm

Is it yet P2P?

Postby nash_c » Tue Mar 09, 2010 1:59 pm

HI,

There is a section in the Tonido Developers Guides.pdf, "URL to IP Address Mapping", it's stating following:

"Not only does the profile guarantee uniqueness, it also provides you with a custom URL based on the domain the TDS is running on. For example, if the TDS runs on tonidoid.com, and if you create a profile named bob, you will now have your URL (bob.tonidoid.com) that will point to the IP address of your machine. This function is usually referred to as dynamic DNS."

I've found this DDNS state IP should be pointed to my machine isn't quite true, as after Tonido started, my personal tonidoid URL still points to your HTTP reflector server, my machine is placed behind a NAT, however, I've got virtual server setup for port 10001 and 24465, is there any other port that I should open as well to make DDNS points to my IP?

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Is it yet P2P?

Postby madhan » Tue Mar 09, 2010 2:29 pm

That guide is a little behind the times. I need to clean it up a bit.

To make Tonido point to your desktop without going through our relay, simply disable the relay service in your settings and then portforward your router to make 10001 TCP requests go to your machine in your network.

That should be it.

nash_c
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Tue Mar 09, 2010 1:48 pm

Re: Is it yet P2P?

Postby nash_c » Wed Mar 10, 2010 11:24 am

That works, thanks.

Since you have UPnP forwarding feature, why don't you enable UPnP forwarding by default and if tonido detected HTTP forwarding is possible then it will not use the relay service.

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Is it yet P2P?

Postby madhan » Wed Mar 10, 2010 12:23 pm

We did think that, but UPnP is an horrible thing and even when the router sometimes says UPnP worked it is too fickle. If the local machine's IP changed or something else happened, the forwarding would no longer work.

So we ended up with Relay being the default.

aswath
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Fri Nov 05, 2010 7:39 am

Re: Is it yet P2P?

Postby aswath » Fri Nov 05, 2010 7:45 am

Would using triggered port mapping mitigate the issue you identify regarding change in the IP address?Can you further elaborate other "fickle" issues. For my application, a relay service is not acceptable. So I need to come up with a mechanism.

Thanks
Aswath

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Is it yet P2P?

Postby madhan » Sun Nov 07, 2010 10:52 am

Are you thinking of writing a Tonido application?

aswath
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Fri Nov 05, 2010 7:39 am

Re: Is it yet P2P?

Postby aswath » Mon Nov 08, 2010 12:12 pm

Not exactly Tonido app, but an app that will run on plugs. I can not assume that the user will be running Tonido, if that is what you are asking.

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Is it yet P2P?

Postby madhan » Mon Nov 08, 2010 8:09 pm

The world of routers and networks is more complex than one can imagine. There is just too many variations for everything to work *out of the box*.

Good luck with your app!

aswath
Rookie Tonidoid
Rookie Tonidoid
Posts: 3
Joined: Fri Nov 05, 2010 7:39 am

Re: Is it yet P2P?

Postby aswath » Thu Nov 11, 2010 11:13 am

Madhan, I missed your take on the effectiveness of triggered port forwarding to the problem you stated. Thanks in advance.

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Is it yet P2P?

Postby madhan » Thu Nov 11, 2010 11:15 am

Simply that triggered port forwarding doesn't work all the time.


Return to “Tonido Platform Development”

Who is online

Users browsing this forum: No registered users and 3 guests