3proxy.8 4.5 KB

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