Update example config to show examples of RR usage in hypothetical situations.

pull/22/head
crass 2013-06-24 01:16:29 +07:00
parent 8918dc8a76
commit cd63dc7949
1 changed files with 52 additions and 0 deletions

View File

@ -107,7 +107,59 @@ tcp_connect_time_out 8000
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
# Select the list you want to use by setting the PROXYCHAINS_CHAIN envvar to
# the name of the list. If the envvar is not set, the default chain is
# "ProxyList".
#
# Example 1: Your corporate network admin is the BOFH. You're not officially
# allowed access to the internet. But you've found a sequence of proxies
# setup to connect the various internal networks, with one of them having
# internet access.
# [LetMeOut]
# strict_chain
# socks5 192.168.89.2 1080
# http 172.16.30.10 8080
# http 10.10.5.4 80
#
# Example 2: Suppose you have access to several fast caching proxies and you
# want to load balance connections across them. Since they're fast, they
# shouldn't need large timeouts. If one of them happens to go down, it will
# be removed from the active list and each connect() will use the next proxy,
# going back to the beginning once the end is reached.
# [LoadBalanceList]
# round_robin_chain
# max_chain = 1
# tcp_read_time_out 2000
# tcp_connect_time_out 1000
# http 192.168.89.2 8080
# http 192.168.89.3 8080
# http 192.168.89.4 8080
# http 192.168.89.5 8080
#
# Example 3: We're doing some scraping again the wishes of our target, so we
# come at him from all sides. But since we're using random free proxies found
# on the web, many of the proxies are slow an unreliable. Give a larger
# timeout to account for this. The broken/dead ones will be removed as they
# are encountered and we'll cycle through each live proxy sequentially per
# connect().
# [AvoidDetection]
# round_robin_chain
# max_chain = 1
# tcp_read_time_out 20000
# tcp_connect_time_out 10000
# http 91.106.83.204 80
# http 178.237.184.222 3128
# http 109.207.61.164 8090
# http 190.75.178.219 8080
# http 168.63.43.185 3128
# http 193.95.90.194 3128
# http 54.214.237.232 80
# http 81.169.166.83 80
# http 201.85.50.249 80
# http 173.192.81.137 8080
# http 79.127.101.96 8080
[ProxyList]
# add proxy here ...
# meanwile