README 7.0 KB

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