Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stunc(1) [debian man page]

stunc(1)							  sofia-sip-utils							  stunc(1)

NAME
stunc - STUN test client. STUN test client Author: Pekka Pessi <Pekka.Pessi@nokia.com> Martti Mela <Martti.Mela@nokia.com> Kai Vehmanen <Kai.Vehmanen@nokia.com> Date: Created: Thu Jul 24 17:21:00 2003 ppessi Synopsis stunc [OPTIONS] <stun-server-address> Description The stunc utility can be used to gather information about possible NAT devices that are located between the client and STUN server. stunc can provide the following information: the IP address and port as seen by the STUN server, detecting presence of NATs, and hints on the type of address translation done. It should be noted that the results of NAT type and life-time detection should be considered as hints. There is no guarantee that NAT(s) will handle future packets in the same way. Command Line Options The stunc utility accepts following command line options: -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 let's 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. Return Codes 0when successful 1when any errors detected Examples Discover the NAT binding, use a random local port: $ stunc stunserver.org -b -r Environment #STUN_DEBUG Reporting Bugs Report bugs to <sofia-sip-devel@lists.sourceforge.net>. Authors 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 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.11devel Sat May 7 2011 stunc(1)

Check Out this Related Man Page

sip-options(1)							  sofia-sip-utils						    sip-options(1)

NAME
sip-options - Query SIP OPTIONS Synopsis sip-options [OPTIONS] target-uri Description The sip-options utility sends a SIP OPTIONS request (or any other SIP request) to a SIP server. The sip-options tool will print out status line and interesting headers from the response, excluding From, Via, Call-ID, and CSeq. The message body is also printed. Command Line Options The options utility accepts following command line options: -m url | --contact=url | --bind=url Specifies the SIP URL to which the options utility binds. --1XX | -1 Print also preliminary responses. If this option is not present, preliminary responses are silently discarded. --all | -a All SIP headers will be printed. If the --all option is given, the options utility also prints From, Via, Call-ID or CSeq headers. --from=url Specifies the From header. Unless this option is used or the environment variable SIPADDRESS is set, local Contact URL is used as From header as well. --mf=n Specify the initial Max-Forwards count (defaults to 70, stack default). --method=s Specify the request method (defaults to OPTIONS). --extra | -x/dt> Read extra headers (and optionally a message body) from the standard input Return Codes 0when successful (a 2XX-series response is received) 1when unsuccessful (a 3XX..6XX-series response is received) 2initialization failure Examples You want to query supported features of sip:essip00net.nokia.com: $ options sip:essip00net.nokia.com Environment #SIPADDRESS, #sip_proxy, #NTA_DEBUG, #TPORT_DEBUG, #TPORT_LOG. Reporting Bugs Report bugs to <sofia-sip-devel@lists.sourceforge.net>. Author Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com> Copyright Copyright (C) 2005 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.11devel Sat May 7 2011 sip-options(1)
Man Page