* Thomas King <king at t-king.de> [2006-04-26 13:04:33]: > On Wednesday 26 April 2006 01:26, Matthew Toseland wrote: > > On Wed, Apr 26, 2006 at 12:37:23AM +0200, Thomas King wrote: > > > > > Yes, STUN is easily doable with Java. All you need are UDP packets. I > > > > > already started implementing a STUN library a few month ago because I > > > > > would like to use such a library in another tool. So far, the basic > > > > > stuff is implemented. However, I would like to develop additional > > > > > features. > > > > > > > > Excellent. There aren't any existing libraries we could use? There are > > > > for UP&P... > > > > > > A few month ago, I was looking for a STUN library. During my search I > > > found one STUN library. The library was a quick hack and unmaintained, so > > > I decided to develop my own STUN library. > > > There are a few UPnP-libraries out there. I think one of my SoC tasks > > > should be to evaluate the different libraries. If a particular library is > > > appropriate (regarding features, sourcecode quality, and license) I > > > should add this library. If I cannot find an appropriate library > > > (probably very unlikely) I should develop my own UPnP-library. > > > > Completely agree. As long as we get our (Google's) money's worth, I > > don't mind if your main project happens more quickly than expected; you > > can then work on other stuff. > > I see your concerns and hence I checked the SoC2005 website to see how much > work have been done by other projects in 2005. For instance, there were two > projects for gaim. One student implemented STUN/SIP/Simple and another > studenten implemented UPnP for gaim. So, I guess it should be enough work for > a Soc2006 project to add STUN/UPnP to freenet. > However, could you please provide me a hint where I can find more information > about ARKs. Probably I should consider implementing ARKs as well? I like the > basic idea of ARKs, however, I think my understanding of ARKs is not deep > enough to make a decision.
imho Up&p and stun are useless without multi-homming support. Concerning STUN, in .5 we were using a dns root server to detect our external IP . That's what STUN will provide, right?. See https://emu.freenetproject.org/svn/branches/legacy/unstable/src/freenet/node/IPAddressDetector.java and oldDetect(). And concerning UP&P ... you know my thought. NextGen$
