aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: XSTUNT library support  (Read 2851 times)

widman

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
XSTUNT library support
« on: November 18, 2007, 05:38:39 PM »


Hi guys. First of all, thank you so much for such a great work.


By any chance did you see this library in C/C++ for doing NAT traversal?

http://www.cis.nctu.edu.tw/~gis87577/xDreaming/XSTUNT/index.html

It would be great if there's support for it, but I understand it is probably non-trivial.

Cheers.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: XSTUNT library support
« Reply #1 on: November 18, 2007, 08:47:04 PM »

Hi widman,

Very interesting, but non-trivial indeed.

The support for it could be added in a similar fashion as has been done with proxy support in aMule, although, the proper place to add support for it would be in the wxWidgets code (this is true also for proxy).

Unfortunaltely I am having issues with spare time to hack lately, so it is unlikely that I take this job, but anyone willing to send patches to aMule code is welcome.

Cheers!
Logged

lfroen

  • Guest
Re: XSTUNT library support
« Reply #2 on: November 19, 2007, 08:59:45 AM »

This approach requires server elsewhere. "It provides programmers with a set of simple functions to create STUNT connections through cooperating with a particular XSTUNT server".
This is, well, unacceptable. Best idea so far was using another mule client to travel NATs.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: XSTUNT library support
« Reply #3 on: November 19, 2007, 09:00:00 PM »

Hi lfroen,

I did a quick read, and it seems that STUNT2 does not require a server, though I did not understand exactly how they syncrhonize.

Cheers!
Logged