|-b||Perform a STUN binding discovery. stunc will report the client transport address (IP:port) as seen by the STUN server. In the presence of NATs, this address is allocated by the NAT closest to the STUN server.|
|-l||Perform a STUN binding life-time check.|
|-n||Perform a STUN binding type check. Notice that the results are only hints. Nondeterministic behaviour, resource exhaustion, or reboots of network elements can cause changes in NAT behaviour between successive runs of stunc.|
|-r||Randomize the local port. Otherwise stunc lets the operating system select a free port.|
|-s||Request a shared-secret over TLS. Tests whether the STUN server supports the shared-secret mechanism (needed to protect message integrity). Can be combined with -b, -l and -n.|
0when successful 1when any errors detected
Discover the NAT binding, use a random local port:
$ stunc stunserver.org -b -r
Report bugs to <email@example.com>.
o Pekka Pessi <pekka -dot pessi -at- nokia -dot- com> o Martti Mela <martti -dot mela -at- nokia -dot- com> o Kai Vehmanen <kai -dot vehmanen -at- nokia -dot- com>
Copyright (C) 2005,2006 Nokia Corporation.
This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|Version 1.12.11||STUNC (1)||Fri Mar 11 2011|