Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch for random proxy selection #73

Merged
merged 1 commit into from
Apr 13, 2018
Merged

Conversation

audibleblink
Copy link
Collaborator

When selecting between multiple random_proxies, and given network connections that resolve in under a second, proxychains will send subsequent requests through the same proxy. In my testing, up to 8 requests can go out through the same proxy. This patch ensures that only one network connection per proxy occurs.

@audibleblink
Copy link
Collaborator Author

Addresses #72

@audibleblink audibleblink merged commit fbfdd99 into haad:master Apr 13, 2018
@mzpqnxow
Copy link

@audibleblink @haad I noticed this also, the randomness was completely based on epoch time which meant if a bunch of connections came in at once (within the same second) they would in effect not be randomized from one another. I can't think of any reason that would be desired behavior and would also prefer this "true randomness" behavior you're proposing. Unless the original behavior was by design and desired for some reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants