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

add proxi list #93

Closed
nekulin opened this issue Dec 24, 2016 · 3 comments
Closed

add proxi list #93

nekulin opened this issue Dec 24, 2016 · 3 comments

Comments

@nekulin
Copy link

nekulin commented Dec 24, 2016

How to add proxy in proxychains
specify random_chain

@darkk
Copy link
Owner

darkk commented Dec 24, 2016

redsocks is not proxychains, redsocks works at firewall level and proxychains works at per-process level using LD_PRELOAD.

You can technically build something like chain of proxies having several redsocks daemons handling each others traffic. Randomization can be implemented at firewall level as well using any of load balancing methods.

@nekulin
Copy link
Author

nekulin commented Dec 24, 2016

as an example of how to make friends ? I tried to run proxychains4 /bin/squid but something is not working properly.

@darkk
Copy link
Owner

darkk commented Dec 27, 2016

Trivial pre-hop randomization may be done by iptables (see #94).

Also, IMHO, you should not mix LD_PRELOAD solutions with event-based daemons (squid, nginx, redsocks) as it's not trivial to implement libc wrapper that will fit nicely in event-based runloop.

Chaining may be done using different trick, each "layer" should be separate redsocks instance and these instances should be handling each others' traffic. These instances can be run under separate UIDs to filter corresponding traffic at firewall level using iptables owner module.

Anyway, I'm unsure if proxy chaining is really the solution for the problem you're actually trying to solve. :)

@darkk darkk closed this as completed Feb 1, 2018
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

No branches or pull requests

2 participants