README 7.1 KB

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