the forums at degreez.net

It is currently Mon Mar 18, 2024 9:35 pm

All times are UTC - 7 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Sun May 03, 2009 6:11 pm 
Offline

Joined: Sun May 03, 2009 4:59 pm
Posts: 2
Location: NY
Hello all,
Thanks for kind attention!
I am new guy in the P2P field and am just going through BitTornado source code/forums to understand how BitTornado handles NAT Traversal problem. My understanding so far is that there are ONLY 2 options. OR is there anything beyond the following? ::
1. Use Port-Forwarding: i.e. Manually configure router for port-forwarding.
2. If router supports UPnP, follow guidelines mentioned in an article on this forum titled :"A guide to make uPnP work - with pictures"

My Questions:
1. Does BitTornado use technique like TCP Hole Punching to traverse NAT?
2. I checked 2 relevant files in source code:
a) natpunch.py : has some code regarding UPnP
b) NatCheck.py: I didnt quite understand what exactly happens here.
Please tell me if there exists a code to do TCP hole punching?
3. Can BitTornado handles a case where 2 peers transferring data are both behind different firewall/NATs? Or BitTornado handles only 1 peer behind NAT case.

Request you to help me out. BitTornado python code seems quite neat but still, any comments in this regard would be of immense help.
If this is not the correct forum, guide me to the correct one!
Best Regards,
nsm


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 04, 2009 5:45 pm 
Offline

Joined: Sun Mar 07, 2004 10:05 am
Posts: 1212
BitTornado does not attempt any form of automatic NAT traversal aside from attempting UPnP port forwarding in Windows. I've experimented with it and doing so from within Python causes some strange things to happen. I'll perhaps revisit NAT traversal with the proposed UDP peer communcations spec coming up.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 04, 2009 6:02 pm 
Offline

Joined: Sun May 03, 2009 4:59 pm
Posts: 2
Location: NY
Hi TheSHADOW,
Thanks a lot for the prompt response! The clarification was of great help..

Regards,
nsm


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group