3proxy.8.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. <HTML><HEAD><TITLE>Manpage of 3proxy</TITLE>
  2. </HEAD><BODY>
  3. <H1>3proxy</H1>
  4. Section: Universal proxy server (8)<BR>Updated: July 2009<BR><A HREF="#index">Index</A>
  5. <A HREF="../index.html">Return to Main Contents</A><HR>
  6. <A NAME="lbAB">&nbsp;</A>
  7. <H2>NAME</H2>
  8. <B>3proxy</B>
  9. - 3[APA3A] tiny proxy server, or trivial proxy server, or free proxy
  10. server
  11. <A NAME="lbAC">&nbsp;</A>
  12. <H2>SYNOPSIS</H2>
  13. <B>3proxy</B>
  14. [<I>config_file</I>]
  15. <BR>
  16. <B>3proxy</B>
  17. [<I>--install</I>]
  18. <BR>
  19. <B>3proxy</B>
  20. [<I>--remove</I>]
  21. <A NAME="lbAD">&nbsp;</A>
  22. <H2>DESCRIPTION</H2>
  23. <B>3proxy</B>
  24. is universal proxy server. It can be used to provide internal users wuth
  25. fully controllable access to external resources or to provide external
  26. users with access to internal resources. 3proxy is not developed to replace
  27. <B><A HREF="../man8/squid.8.html">squid</A></B>(8),
  28. but it can extend functionality of existing cashing proxy.
  29. It can be used to route requests between different types of clients and proxy
  30. servers. Think about it as application level
  31. gateway with configuration like hardware router has for network layer.
  32. It can establish multiple
  33. gateways with HTTP and HTTPS proxy with FTP over HTTP support, SOCKS v4,
  34. v4.5 and v5, POP3 proxy, UDP and TCP portmappers. Each gateway is started
  35. from configuration file like independant service
  36. <B><A HREF="../man8/proxy.8.html">proxy</A></B>(8)
  37. <B><A HREF="../man8/socks.8.html">socks</A></B>(8)
  38. <B><A HREF="../man8/pop3p.8.html">pop3p</A></B>(8)
  39. <B><A HREF="../man8/tcppm.8.html">tcppm</A></B>(8)
  40. <B><A HREF="../man8/udppm.8.html">udppm</A></B>(8)
  41. <B><A HREF="../man8/ftppr.8.html">ftppr</A></B>(8)
  42. <B>dnspr</B>
  43. but
  44. <B>3proxy</B>
  45. is not a kind of wrapper or superserver for this daemons. It just has same
  46. code compiled in, but provides much more functionality. SOCKSv5
  47. implementatation allows to use 3proxy with any UDP or TCP based client
  48. applications designed without
  49. proxy support (with
  50. <I>SocksCAP</I>,
  51. <I>FreeCAP</I>
  52. or another client-side redirector under Windows of with socksification library
  53. under Unix). So you can play your favourite games, listen music, exchange
  54. files and messages and even accept incoming connections behind proxy server.
  55. <P>
  56. <I>dnspr</I>
  57. does not exist as independant service. It' DNS caching proxy (it requires
  58. <I>nscache</I>
  59. and
  60. <I>nserver</I>
  61. to be set in configuration. Only A-records are cached. Please note, the
  62. this caching is mostly a 'hack' and has nothing to do with real
  63. DNS server, but it works perfectly for SOHO networks.
  64. <P>
  65. <P>
  66. 3proxy supports access control lists (ACL) like network router. Source
  67. and destination networks and destination port can be specified. In addition,
  68. usernames and gateway action (for example GET or POST) can be used in ACLs.
  69. In order to filter request on username basis user must be authenticated somehow. There are few
  70. authentication types including password authentication and authentication by
  71. NetBIOS name for Windows clients (it's very like ident authentication).
  72. Depending on ACL action request can be allowed, denied or redirected to another
  73. host or to another proxy server or even to a chain of proxy servers.
  74. <P>
  75. It supports different types of logging: to logfiles,
  76. <B><A HREF="../man3/syslog.3.html">syslog</A></B>(3)
  77. (only under Unix) or to ODBC database. Logging format is turnable to provide
  78. compatibility with existing log file parsers. It makes it possible to use
  79. 3proxy with IIS, ISA, Apache or Squid log parsers.
  80. <A NAME="lbAE">&nbsp;</A>
  81. <H2>OPTIONS</H2>
  82. <DL COMPACT>
  83. <DT><B>config_file</B>
  84. <DD>
  85. Name of config file. See
  86. <B><A HREF="../man3/3proxy.cfg.3.html">3proxy.cfg</A></B>(3)
  87. for configuration file format. Under Windows, if config_file is not specified,
  88. <B>3proxy</B>
  89. looks for file named
  90. <I>3proxy.cfg</I>
  91. in the default location (in same directory with executable file and in current
  92. directory). Under Unix, if no config file is specified, 3proxy reads
  93. configuration from stdin. It makes it possible to use 3proxy.cfg file as
  94. executable script just by setting +x mode and adding
  95. <BR>
  96. #!/usr/local/3proxy/3proxy
  97. <BR>
  98. as a first line in 3proxy.cfg
  99. <DT><B>--install</B>
  100. <DD>
  101. (Windows NT family only) install
  102. <B>3proxy</B>
  103. as a system service
  104. <DT><B>--remove</B>
  105. <DD>
  106. (Windows NT family only) remove
  107. <B>3proxy</B>
  108. from system services
  109. </DL>
  110. <A NAME="lbAF">&nbsp;</A>
  111. <H2>SIGNALS</H2>
  112. Under Unix there are few signals
  113. <B>3proxy</B>
  114. catches. See
  115. <B><A HREF="../man1/kill.1.html">kill</A></B>(1).
  116. <DL COMPACT>
  117. <DT><B>SIGTERM</B>
  118. <DD>
  119. cleanup connections and exit
  120. <DT><B>SIGPAUSE</B>
  121. <DD>
  122. stop to accept new connections, on second signal - start and re-read
  123. configuration
  124. <DT><B>SIGCONT</B>
  125. <DD>
  126. start to accept new conenctions
  127. <DT><B>SIGUSR1</B>
  128. <DD>
  129. reload configuration
  130. </DL>
  131. <P>
  132. Under Windows, if
  133. <B>3proxy</B>
  134. is installed as service you can standard service management to start, stop,
  135. pause and continue 3proxy service, for example:
  136. <BR>
  137. <B>net start 3proxy</B>
  138. <BR>
  139. <B>net stop 3proxy</B>
  140. <BR>
  141. <B>net pause 3proxy</B>
  142. <BR>
  143. <B>net continue 3proxy</B>
  144. <P>
  145. Web admin service can also be used to reload configuration. Use
  146. wget to automate this task.
  147. <A NAME="lbAG">&nbsp;</A>
  148. <H2>FILES</H2>
  149. <DL COMPACT>
  150. <DT><I>/usr/local/3proxy/3proxy.cfg (3proxy.cfg)</I>
  151. <DD>
  152. <B>3proxy</B>
  153. configuration file
  154. </DL>
  155. <A NAME="lbAH">&nbsp;</A>
  156. <H2>BUGS</H2>
  157. Report all bugs to
  158. <B><A HREF="mailto:3proxy@security.nnov.ru">3proxy@security.nnov.ru</A></B>
  159. <A NAME="lbAI">&nbsp;</A>
  160. <H2>SEE ALSO</H2>
  161. <A HREF="../man3/3proxy.cfg.3.html">3proxy.cfg</A>(3), <A HREF="../man8/proxy.8.html">proxy</A>(8), <A HREF="../man8/ftppr.8.html">ftppr</A>(8), <A HREF="../man8/socks.8.html">socks</A>(8), <A HREF="../man8/pop3p.8.html">pop3p</A>(8), <A HREF="../man8/tcppm.8.html">tcppm</A>(8), <A HREF="../man8/udppm.8.html">udppm</A>(8),
  162. <A HREF="../man1/kill.1.html">kill</A>(1), <A HREF="../man8/syslogd.8.html">syslogd</A>(8),
  163. <BR>
  164. <A HREF="http://3proxy.ru/">http://3proxy.ru/</A>
  165. <A NAME="lbAJ">&nbsp;</A>
  166. <H2>TRIVIA</H2>
  167. 3APA3A is pronounced as ``zaraza''.
  168. <A NAME="lbAK">&nbsp;</A>
  169. <H2>AUTHORS</H2>
  170. 3proxy is designed by 3APA3A
  171. (<I><A HREF="mailto:3APA3A@security.nnov.ru">3APA3A@security.nnov.ru</A></I>),
  172. Vladimir Dubrovin
  173. (<I><A HREF="mailto:vlad@sandy.ru">vlad@sandy.ru</A></I>)
  174. <P>
  175. <HR>
  176. <A NAME="index">&nbsp;</A><H2>Index</H2>
  177. <DL>
  178. <DT><A HREF="#lbAB">NAME</A><DD>
  179. <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
  180. <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
  181. <DT><A HREF="#lbAE">OPTIONS</A><DD>
  182. <DT><A HREF="#lbAF">SIGNALS</A><DD>
  183. <DT><A HREF="#lbAG">FILES</A><DD>
  184. <DT><A HREF="#lbAH">BUGS</A><DD>
  185. <DT><A HREF="#lbAI">SEE ALSO</A><DD>
  186. <DT><A HREF="#lbAJ">TRIVIA</A><DD>
  187. <DT><A HREF="#lbAK">AUTHORS</A><DD>
  188. </DL>
  189. <HR>
  190. This document was created by
  191. using the manual pages.<BR>
  192. Time: 21:23:55 GMT, April 07, 2014
  193. </BODY>
  194. </HTML>