Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.47 KB

README.en.md

File metadata and controls

55 lines (41 loc) · 1.47 KB

Gus-Proxy

"gus - the heavy-duty drug trafficker in Breaking Bad"

Build Status Go Report Card

README.Chinese


Run

# prepare the proxies
mkdir -p data
touch data/proxies.txt
# put your proxies in data/proxies.txt
# the format could be:
# socks5://127.0.0.1:1080
# http://user:[email protected]:1081
# socks4://127.0.0.1:1082
# direct://0.0.0.0
# ss://AEAD_CHACHA20_POLY1305:[email protected]:1083

# then:
sudo docker run --rm -ti --name gus-proxy \
    -p 8080:8080 \
    -v `pwd`/data:/data \
    wrfly/gus-proxy

Thoughts

Change our IP address every request

  1. Chose a different proxy in our proxy poll every request
  2. If our IP changed, the server side may not auth us because of the session-IP pair
  3. No use for session authentication
  4. The aim for this tool is to resolve the restrict of IP request limit

Design

  1. An top layer HTTP-proxy
  2. The program load a proxy list(HTTP or Socks5) during start
  3. Chose a proxy every request
  4. May have different choose algorithm: round-robin|random|ping
  5. Verify the availability of the proxy
  6. Change our UA every request(it's an option)
  7. Lookup target's all IP address, replace target host per request

Show off

Gus-Running Curl-test