STUN package
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

STUN package

From: <matben@users.sourceforge.net>
Date: Sat Mar 04 2006 - 15:43:29 CET

Dear all,

As part of my Coccinella app I wrote a very basic STUN package in pure
Tcl using Tcl_UDP only.
STUN as defined in RFC 3489 is a way to classify and analyze NATs. My
present package provides only a method to obtain the "public" ip and
port mappings. This is due to limitations from TclUDP.

Get directly from coccinella cvs (stun.tcl):
http://cvs.sourceforge.net/viewcvs.py/coccinella/coccinella/contrib/
Wait at least 24 hours from now to get the latest.

Cited from RFC 3489:
   Simple Traversal of User Datagram Protocol (UDP) Through Network
   Address Translators (NATs) (STUN) is a lightweight protocol that
   allows applications to discover the presence and types of NATs and
   firewalls between them and the public Internet. It also provides
the
   ability for applications to determine the public Internet Protocol
   (IP) addresses allocated to them by the NAT. STUN works with many
   existing NATs, and does not require any special behavior from them.
   As a result, it allows a wide variety of applications to work
through
   existing NAT infrastructure.

/Mats
Received on Sun Apr 30 02:23:28 2006