What about RFC 5389? (JSTUN)
I am looking for a way to enhance the current "JSTUN" implementation to support the new Session Traversal Utilities for NAT (STUN) protocol as described in RFC 5389. If you are interested in supporting this effort with code or money please drop me a mail (king[at]t-king.de).

Posted by Thomas King at 21:48 2010-07-05 | Trackbacks (0) | Comments (0)

JSTUN 0.7.3 released (JSTUN)
Today, I released (JSTUN 0.7.3. The major change is that the Simple Logging Facade (SLF4J) has been added. This allows application developers to integrate the logging output of JSTUN to the logging framework of their choice. This work has been initiated and mainly crafted out by Jeff Williams. So, special thanks go to Jeff. Besides the SLF4J changes, only minor improvements (e.g., typos) have been added.

Have fun using JSTUN.

Best regards,
Posted by Thomas King at 19:12 2009-05-22 | Trackbacks (0) | Comments (0)

JSTUN 0.7.3 is Near (JSTUN)
Just to let you know: the release of JSTUN 0.7.3 is near. It will be a maintenance release which means only minor improvements will be added.

Best regards,
Posted by Thomas King at 22:47 2009-04-04 | Trackbacks (0) | Comments (0)

STUN Server Usage Statistics (JSTUN)
On my server machine, I run a JSTUN-based STUN server since November 2007. I was doing so because I am the lead developer of JSTUN and hence I needed a test server every now and then. Also, other developers and testers should have the possibility to test JSTUN easily. My third motivation to run a JSTUN-based STUN server was that I wanted to test the compatibility of the JSTUN library against as many STUN implementations as possible. One way to do this was to provide an open accessible STUN server and let the world know that it can be used for testing or productive service.

As I told you, my JSTUN-based STUN server is up and running since November 2007. The up-time of this service is more than 99.9 percent. The service has been restarted only twice. The first restart was due a bug in my STUN server implementation that could crash the server. The second restart was required because the operating system underneath the STUN server required a reboot.

In the beginning, the STUN server was not used a lot. From November 2007 till September 2008 less than ten unique IP addresses connected to the STUN server daily. In October and November 2008, I realized a steady increase of unique IP addresses that connected to the STUN server. Until then, the highest number of unique IP addresses that connected to the STUN server at a single day was 36. In December, the number of unique IP addresses that accessed the STUN server nearly doubled. In January, the number of unique IP addresses just exploded. On Junary 30th, 217 unique IP addresses used the STUN server service. Since that day, the number of unique IP addresses that connected to the STUN server was always larger than 180. The highest point was reached on February 5th by 225 unique IP addresses. The following figure depicts the number of unique IP addresses that accessed the STUN server for every single day in the range of August 1st, 2008 until February 1st, 2009.

I am pretty happy that my STUN server is used so often. It is nice to see that the server is able to handle the workload easily.

What baffles me is what caused the increase of the number of people using the STUN server? Is it because JSTUN is used by LimeWire and other P2P applications? Is some other software using JSTUN I am not aware of? Did some software use the STUN server running on my machine as default STUN server? A lots of open questions. Do you have any comment on this?

Best regards,
Thomas King
Posted by Thomas King at 15:06 2009-02-22 | Trackbacks (0) | Comments (0)

JSTUN used in Education (JSTUN)
I recently checked the webserver statistics about JSTUN and I realized that a lot of visitors came from the University of Washington. After digging a little bit deeper I found that JSTUN is used for a homework assignment for one of the their computer communication networks courses. It is nice to see that a lot of people are using JSTUN. :-)

Posted by Thomas King at 22:08 2007-11-03 | Trackbacks (0) | Comments (0)

A JSTUN-based stun server is available (JSTUN)
I already talked about the sponsorship provided by Jive Software. One of the first achievements is a working JSTUN-based stun server. I am still working with the source and on other parts so that the code is not ready to be released. However, I invokded a stun server (based on JSTUN) on my server. The server is reachable by jstun.javawi.de:3478. DNS source records will be added soon. If you would like to participate and/or contribute to JSTUN please let me know. I can provide CVS accounts on request. Special thanks to Jive Software!
Posted by Thomas King at 00:57 2006-12-29 | Trackbacks (0) | Comments (1)

Jive Software and JSTUN (JSTUN)
Matt Tucker, the CTO of Jive Software contacted me, because one of their Google Summer of Code students was looking for a STUN library written in Java. The student was working on Jive's open source smack library, however, smack is licensed under the Apache License 2.0 and my JSTUN library under GPL. Unfortunately, these two licenses are incompatible which means that JSTUN cannot be integrated into smack without violating the GPL. So, Matt asked me if I would double-license JSTUN to make its license compatible with smack. After a quick thought, I decided to license JSTUN under the Apache License 2.0 as well to support the Summer of Code student. Matt and I had a great email conversation and it looks like we will work together in the future ... Oh, I forgot to mention that I am a proud owner of a Jive Software t-shirt. Jive Software send me one after I boldly asked for one. :-)
Posted by Thomas King at 22:36 2006-11-30 | Trackbacks (0) | Comments (0)

JSTUN and the Free Network Project (JSTUN)
For Summer of Code (sponsored by Google) I suggested to enrich the Free Network Project client with STUN and UPnP capabilities. Unfortunately, my proposal has been dismissed. However, a few days ago, one of the main developers contacted me because he now likes my ideas. I was really pissed because a few weeks ago this particular developer argued against the usefulness of these techniques. Despite these discrepancies I am going to lend this project a helping hand. The Free Network Project offers so many cool features that it is worth adding a few features.

Posted by Thomas King at 00:43 2006-06-28 | Trackbacks (0) | Comments (0)

JSTUN and Freecast (JSTUN)
Yesterday, it happened again: I released the latest version of JSTUN. The latest release enables JSTUN to handle multi-homed machines. Furthermore, I refactored the demo classes a little bit.

In case nobody else will provide source code for JSTUN this release will be one of the last releases of JSTUN. Of course, I will provide bugfix releases in case a bug will be found. At the moment, the STUN client related parts are up and running, however, a STUN server implemenation is completely missing. For my personal needs (and I assume this is also true for most STUN-enabled software projects) I do not need a STUN server and hence I will not implement one in the near future. If you feel the need of a STUN server based on JSTUN please feel free to contribute code!

I am proud to announce that the latest Freecast release utilizes JSTUN. It is really cool to see that other GPL projects use JSTUN. ;-)

Posted by Thomas King at 19:52 2006-05-27 | Trackbacks (0) | Comments (1)

JSTUN used for education (JSTUN)
By accident I figured out that the university of applied sciences in Dresden, Germany runs a website containing an overview and some deeper information in selected areas of STUN. The good thing is that the websites contains a discussion of my JSTUN implementation, on the other side the website is unfortunately in German. The author does not only describe how my implementation works in general, he also discusses selected parts of my source code. That is really cool! I like that. Hopefully, I will see more websites of this kind. ;-)

Posted by Thomas King at 22:11 2006-03-29 | Trackbacks (0) | Comments (0)

New JSTUN version released (JSTUN)
Today, Thomas Butter, a friend and colleague of mine, decided to use my STUN implementation (called JSTUN) on our common project at work. JSTUN is implemented in Java and uses a lot of Java 5 dependent features. One of the reasons, why I implemented JSTUN, has been to learn the new Java 5 features. The demo client for our common project, however, is implemented in a Java sub-dialect called J2ME CDC. J2ME CDC has been developed to run on cell phones and personal digital agents, hence it does not support all features of Java 5. Unfortunately, I have not told Thomas that JSTUN relies on many Java 5 features. So, as soon as he tried to add JSTUN to our demo client he faced over 200 compiler errors. Thomas spent a few hours to get rid of the Java 5 dependent features and since tonight the code compiles. During his downgrading work, Thomas found a serious bug in the error-code handling and two minor exception handling flaws. I fixed the bugs and improved the code and after the junit tests have been passed without any errors I uploaded the files to my JSTUN website. Feel free to test the latest version of JSTUN ... ;-)

Cheers, Thomas
Posted by Thomas King at 00:09 2006-03-17 | Trackbacks (0) | Comments (0)

New version of JSTUN released (JSTUN)
During my stay in Toulouse I tested JSTUN, because at ENSICA the Internet infrastructure was different to what I usually have access to. A highly crowed conference room where many people used the wireless Internet connection simultaneously yield many packet losses and increased the end-to-end delay. Actually, a perfect environment to test network libraries. As maintainer of JSTUN I started with this library! ;-) JSTUN is a STUN implementation (RFC 3489) or in other words, a peace of software to probe the kind of network connection a machine is connected to the Internet. Unfortunately, I found an minor bug in the test1redo method. After a few minutes I tracked down the bug and fixed it. I have not released the new version during my stay in Toulouse, because I was to busy attending to the CoNEXT. The latest version of JSTUN was released yesterday afternoon, after a time-consuming test session (I have not found any other bug). I hope JSTUN is now rocket-stable! ;-)
A company from Austria contacted me a few days ago to ask me if I would release JSTUN under LGPL (instead the GPL). They offered me a little bit of money. Frankly, I am thinking about releasing JSTUN under the term of LGPL. So far, I am the only developer working on JSTUN, so it is easy to change the license. Stay tuned, I will inform you about my decision! ;-)
Posted by Thomas King at 01:02 2005-11-01 | Trackbacks (0) | Comments (4)