README 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. # 3APA3A 3proxy tiny proxy server
  2. (c) 2002-2020 by Vladimir '3APA3A' Dubrovin <3proxy@3proxy.ru>
  3. Branches:
  4. Master (stable) branch - 3proxy 0.9
  5. Devel branch - 3proxy 10
  6. Download:
  7. Binaries for released (master) versions (Windows, Linux):
  8. https://github.com/z3APA3A/3proxy/releases
  9. Binaries for devel version (Windows, Linux):
  10. https://3proxy.org/download/devel/
  11. Archive of old versions: https://github.com/z3APA3A/3proxy-archive
  12. Windows installation:
  13. 3proxy --install
  14. installs and starts proxy as Windows service
  15. (config file should be located in the same directory)
  16. 3proxy --remove
  17. removes the service (should be stopped before via
  18. 'net stop 3proxy').
  19. To build in Linux install git and build-essential packages, use
  20. git clone https://github.com/z3apa3a/3proxy
  21. cd 3proxy
  22. ln -s Makefile.Linux Makefile
  23. make
  24. sudo make install
  25. use /etc/3proxy/add3proxyuser.sh script to add users.
  26. Please read doc/html/index.html and man pages.
  27. Features:
  28. 1. General
  29. + IPv6 support for incoming and outgoing connection,
  30. can be used as a proxy between IPv4 and IPv6 networks
  31. in either direction.
  32. + HTTP/1.1 Proxy with keep-alive client and server support,
  33. transparent proxy support.
  34. + HTTPS (CONNECT) proxy (compatible with HTTP/2 / SPDY)
  35. + Anonymous and random client IP emulation for HTTP proxy mode
  36. + FTP over HTTP support.
  37. + DNS caching with built-in resolver
  38. + DNS proxy
  39. + DNS over TCP support, redirecting DNS traffic via parent
  40. proxy
  41. + SOCKSv4/4.5 Proxy
  42. + SOCKSv5 Proxy
  43. + SOCKSv5 UDP and BIND support (fully compatible with
  44. SocksCAP/FreeCAP for UDP)
  45. + Transparent SOCKS redirection for HTTP, POP3, FTP, SMTP
  46. + POP3 Proxy
  47. + FTP proxy
  48. + TCP port mapper (port forwarding)
  49. + UDP port mapper (port forwarding)
  50. + SMTP proxy
  51. + Threaded application (no child process).
  52. + Web administration and statistics
  53. + Plugins for functionality extension
  54. + Native 32/64 bit application
  55. 2. Proxy chaining and network connections
  56. + Can be used as a bridge between client and different proxy type
  57. (e.g. convert incoming HTTP proxy request from client to SOCKSv5
  58. request to parent server).
  59. + Connect back proxy support to bypass firewalls
  60. + Parent proxy support for any type of incoming connection
  61. + Username/password authentication for parent proxy(s).
  62. + HTTPS/SOCKS4/SOCKS5 and ip/port redirection parent support
  63. + Random parent selection
  64. + Chain building (multihop proxing)
  65. + Load balancing between few network connections by choosing network
  66. interface
  67. 3. Logging
  68. + tuneable log format compatible with any log parser
  69. + stdout logging
  70. + file logging
  71. + syslog logging (Unix)
  72. + ODBC logging
  73. + RADIUS accounting
  74. + log file rotation
  75. + automatic log file processing with external archiver (for files)
  76. + Character filtering for log files
  77. + different log files for different servces are supported
  78. 4. Access control
  79. + ACL-driven Access control by username, source IP,
  80. destination IP/hostname, destination port and destination action
  81. (POST, PUT, GET, etc), weekday and daytime.
  82. + ACL-driven (user/source/destination/protocol/weekday/daytime or
  83. combined) bandwith limitation for incoming and (!)outgoing trafic.
  84. + ACL-driven traffic limitation per day, week or month for incoming and
  85. outgoing traffic
  86. + Connection limitation and ratelimting
  87. + User authentication by username / password
  88. + RADIUS Authentication and Authorization
  89. + User authentication by DNS hostname
  90. + Authentication cache with possibility to limit user to single IP address
  91. + Access control by username/password for SOCKSv5 and HTTP/HTTPS/FTP
  92. + Cleartext or encrypted (crypt/MD5 or NT) passwords.
  93. + Connection redirection
  94. + Access control by requested action (CONNECT/BIND,
  95. HTTP GET/POST/PUT/HEAD/OTHER).
  96. + All access control entries now support weekday and time limitations
  97. + Hostnames and * templates are supported instead of IP address
  98. 5. Extensions
  99. + Regular expression filtering (with PCRE) via PCREPlugin
  100. + Authentication with Windows username/password (cleartext only)
  101. + SSL/TLS decryptions with certificate spoofing
  102. + Transparent redirection support for Linux and *BSD
  103. 6. Configuration
  104. + support for configuration files
  105. + support for includes in configuration files
  106. + interface binding
  107. + socket options
  108. + running as daemon process
  109. + utility for automated networks list building
  110. + configuration reload on any file change
  111. Unix
  112. + support for chroot
  113. + support for setgid
  114. + support for setuid
  115. + support for signals (SIGUSR1 to reload configuration)
  116. Windows
  117. + support --install as service
  118. + support --remove as service
  119. + support for service START, STOP, PAUSE and CONTINUE commands (on
  120. PAUSE no new connection accepted, but active connections still in
  121. progress, on CONTINUE configuration is reloaded)
  122. Windows 95/98/ME
  123. + support --install as service
  124. + support --remove as service
  125. 6. Compilation
  126. + MSVC (static)
  127. + OpenWatcom (static)
  128. + Intel Windows Compiler (msvcrt.dll)
  129. + Windows/gcc (msvcrt.dll)
  130. + Cygwin/gcc (cygwin.dll)
  131. + Unix/gcc
  132. + Unix/ccc
  133. + Solaris
  134. + Mac OS X, iPhone OS
  135. + Linux and derivered systems
  136. + Lite version for Windows 95/98/NT/2000/XP/2003
  137. + 32 bit and 64 bit versions for Windows Vista and above, Windows 2008 server and above
  138. 3proxy Combined proxy server may be used as
  139. executable or service (supports installation and removal).
  140. It uses config file to read it's configuration (see
  141. 3proxy.cfg.sample for details).
  142. 3proxy.exe is all-in-one, it doesn't require all others .exe
  143. to work.
  144. See 3proxy.cfg.sample for examples, see man 3proxy.cfg
  145. proxy HTTP proxy server, binds to port 3128
  146. ftppr FTP proxy server, binds to port 21
  147. socks SOCKS 4/5 proxy server, binds to port 1080
  148. ftppr FTP proxy server, please do not mess it with FTP over HTTP
  149. proxy used in browsers
  150. pop3p POP3 proxy server, binds to port 110. You must specify
  151. POP3 username as username@target.host.ip[:port]
  152. port is 110 by default.
  153. Exmple: in Username configuration for you e-mail reader
  154. set someuser@pop.example.org, to obtains mail for someuser
  155. from pop.somehost.ru via proxy.
  156. smtpp SMTP proxy server, binds to port 25. You must specify
  157. SMTP username as username@target.host.ip[:port]
  158. port is 25 by default.
  159. Exmple: in Username configuration for you e-mail reader
  160. set someuser@mail.example.org, to send mail as someuser
  161. via mail.somehost.ru via proxy.
  162. tcppm TCP port mapping. Maps some TCP port on local machine to
  163. TCP port on remote host.
  164. udppm UDP port mapping. Maps some UDP port on local machine to
  165. UDP port on remote machine. Only one user simulationeously
  166. can use UDP mapping, so it cann't be used for public service
  167. in large networks. It's OK to use it to map to DNS server
  168. in small network or to map Counter-Strike server for single
  169. client (you can use few mappings on different ports for
  170. different clients in last case).
  171. mycrypt Program to obtain crypted password fro cleartext. Supports
  172. both MD5/crypt and NT password.
  173. mycrypt password
  174. produces NT password
  175. mycrypt salt password
  176. produces MD5/crypt password with salt "salt".
  177. dighosts Utility for building networks list from web page.
  178. Run utility with --help option for command line reference.
  179. Latest version is available from https://3proxy.org/
  180. Want to donate the project? https://3proxy.org/donations/