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

📄 socks_clients.1

📁 Linux下的socks的程序源程序,用于socks的代理服务
💻 1
字号:
.TH SOCKS_CLIENTS 1 "November 16, 1993".SH NAME.nfrfinger \- SOCKS client version of fingerrftp \- SOCKS client version of ftprtelnet \- SOCKS client version of telnetrwhois \- SOCKS client version of whois.fi.SH SYNOPSISSee the man pages on \fIfinger\fP(1), \fIftp\fP(1), \fItelnet\fP(1),\fIwhois\fP(1)..SH DESCRIPTIONThese programs provide the well-known functionalities to hosts withina firewall. Normally, when a firewall is constructed, IP-accessibilityacross the firewall is cut off to reduce security risk to hosts withinthe firewall. As a result, inside hosts can no longer use many of thewell-known tools directly to access the resources outside the firewall.These programs restore the convenience of the well-known tools whilemaintaining the security requirement. Though the programs differ verymuch from their counterparts in the use of the communication scheme,they should behave almost indistinguishable to the users. Note thoughthat rftp does echo the password as you type it in if you are using\fIanonymous\fP as log-in name. Unlike those of the previous versions,these are "versatile" clients, meaning that they can be used forconnections to inside hosts directly and to outside hosts via SOCKSproxy servers. So they can be used as replacements of their traditionalcounterparts.When any of these programs starts, if the environment variable\fBSOCKS_BANNER\fR is defined, the program prints to \fBstderr\fPits version number andthe name or IP address of its default SOCKS proxy server.It then consults the configuration file \fB/etc/socks.conf\fP todetermine whether a request should be allowed or denied based on therequesting user, the destination host, and the requested service. Forallowable requests, the configuration file also dictates whetherdirect or proxy connection should be used to the given destination,and optionally the actual SOCKS servers to use for the proxy connection.See \fIsocks.conf\fP(5). If the file is absent, these programs willonly try direct connections to the destination hosts, making thembehaving like their regular counterparts.You can use environment variable \fBSOCKS_NS\fR to set the nameserver fordomainname resolutions. Be sure you use the IP address of thenameserver you want to use, not its domainname. If \fBSOCKS_NS\fR doesn'texist, the IP address defined by the symbol \fBSOCKS_DEFAULT_NS\fRat compile time is used if the programs were compiled with that symboldefined. Otherwise the nameservers specified in \fB/etc/resolv.conf\fRare used.All the client programs uses \fIsyslog\fP with facility \fBdaemon\fRand level \fBnotice\fR to log their activities. These log lines usually appear in file \fB/var/adm/messages\fP thoughthat can be changed by modifying \fB/etc/syslog.conf\fR. (See\fIsyslogd\fP(8) and \fIsyslog.conf\fP(5).)Typical lines look like.nf.in +1Apr 11 10:02:23 eon rfinger[631]: connect() from don(don) to abc.com (finger) using sockd at socksservMay 10 08:39:07 eon rftp[603]: connect() directly from blue(blue) to xyz.edu (ftp)May 10 08:39:09 eon rftp[603]: bind() directly from blue(blue) for xyz.edu (ftp)May 18 13:31:19 eon rtelnet[830]: connect() from root(jon) to xyz.edu (telnet) using sockd at sockd2May 18 14:51:19 eon rtelnet[921]: refused -- connect() from jon(jon) to xyz.edu (telnet).in -1.fiOf the two user-ids appearing in each log line, the first is theeffective user-id when the program is invoked, the second (thatwithin the parentheses) is the one used at login. Accesscontrol applies to the effective user-ids..SH SEE ALSO\fIsockd\fP(8), \fIfinger\fP(1),  \fIftp\fP(1), \fItelnet\fP(1),\fIwhois\fP(1).SH ENVIRONMENT\fBSOCKS_SERVER\fR, if defined, specifies the name or IP address of theSOCKS proxy server host to use, overriding the default servercompiled into the programs.\fBSOCKS_NS\fR, if defined, specify the IP address of the domain nameserverthat should be used for name resolution, overriding both the definitionof symbol \fBSOCKS_DEFAULT_NS\fR and the file \fB/etc/resolv.conf\fR.\fBORIG_FINGER\fR, if defined, specified the (altered) full pathname ofthe originalfinger program, which should have been renamed before installing therfinger as the regular finger. The \fIrfinger\fP program invokesthe original \fIfinger\fP program to lookup information on local users.Normally this name should be compiled directly into \fIrfinger\fP, avoidingthe need for this environment variable. Use \fBORIG_FINGER\FR only ifyou want to override what is compiled into \fIrfinger\fP..SH AUTHORDavid Koblas, koblas@netcom.com.PPYing-Da Lee, ylee@syl.dl.nec.com

⌨️ 快捷键说明

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