Retour au classement
mattes/rotating-proxy
RubyRotating TOR proxy with Docker
torpolipoproxyhaproxydockerrotating-proxysocks-proxyhttp-proxy
Indicateurs clés
Croissance des étoiles
Étoiles
1.2k
Forks
253
Croissance hebdomadaire
—
Issues
19
5001k
avr. 2014avr. 2016mai 2018mai 2020juin 2022juil. 2024juil. 2026
ArtefactsRubyGems
gem install rotating-proxyREADME
docker-rotating-proxy
Docker Container
-------------------------------------
<-> Polipo 1 <-> Tor Proxy 1
Client <----> HAproxy <-> Polipo 2 <-> Tor Proxy 2
<-> Polipo n <-> Tor Proxy n
Why: Lots of IP addresses. One single endpoint for your client. Load-balancing by HAproxy.
Usage
# build docker container
docker build -t mattes/rotating-proxy:latest .
# ... or pull docker container
docker pull mattes/rotating-proxy:latest
# start docker container
docker run -d -p 5566:5566 -p 4444:4444 --env tors=25 mattes/rotating-proxy
# test with ...
curl --proxy 127.0.0.1:5566 https://api.my-ip.io/ip
# monitor
http://127.0.0.1:4444/haproxy?stats
Further Readings
Please note: Tor offers a SOCKS Proxy only. In order to allow communication from HAproxy to Tor, Polipo is used to translate from HTTP proxy to SOCKS proxy. HAproxy is able to talk to HTTP proxies only.
Dépôts similaires