⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stunc.1

📁 this is simple sip stack.
💻 1
字号:
.TH "stunc" 1 "27 Jul 2006" "libsofia-sip-ua" \" -*- nroff -*-.ad l.nh.SH NAMEstunc \- STUN test client..SH "Synopsis".PP\fCstunc [OPTIONS] <stun-server-address>\fP.SH "Description".PPThe \fIstunc\fP utility can be used to gather information about possible NAT devices that are located between the client and STUN server..PP\fIstunc\fP 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..SH "Command Line Options".PPThe \fIstunc\fP utility accepts following command line options:.PP.IP "\fB-b \fP" 1cPerform a STUN binding discovery. \fIstunc\fP 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. .PP.IP "\fB-l \fP" 1cPerform a STUN binding life-time check. .PP.IP "\fB-n \fP" 1cPerform 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. .PP.IP "\fB-r \fP" 1cRandomize the local port. Otherwise \fIstunc\fP let's the operating system select a free port. .PP.IP "\fB-s \fP" 1cRequest a shared-secret over TLS. Tests whether the STUN server supports the shared-secret mechanism (needed to protect message integrity). Can be combined with \fI-b\fP, \fI-l\fP and \fI-n\fP. .PP.PP.SH "Return Codes".PP0when successful 1when any errors detected .SH "Examples".PPDiscover the NAT binding, use a random local port: .PP.nf $ stunc stunserver.org -b -r.fi.PP.SH "Environment".PPSTUN_DEBUG.SH "Reporting Bugs".PPReport bugs to <sofia-sip-devel@lists.sourceforge.net>..SH "Authors".PP.IP "\(bu" 2Pekka Pessi <pekka -dot pessi -at- nokia -dot- com>.IP "\(bu" 2Martti Mela <martti -dot mela -at- nokia -dot- com>.IP "\(bu" 2Kai Vehmanen <kai -dot vehmanen -at- nokia -dot- com>.PP.SH "Copyright".PPCopyright (C) 2005,2006 Nokia Corporation..PPThis program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -