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

Is there a smarter way to communicate with control port when using HAProxy #25

Open
ash0080 opened this issue Apr 14, 2020 · 1 comment

Comments

@ash0080
Copy link

ash0080 commented Apr 14, 2020

eg.

Client
|--------> HAProxy (127.0.0.1:16379)
|--------> TOR Instance (127.0.0.1:9000) (cp: 9900)
|--------> TOR Instance (127.0.0.1:9001) (cp: 9901)

When client found a tor circle not work, ( eg, 9000 )
how to send signal newnym to renew it?
cuz client doesn't know which one used

or at least during 15s ( default renew duration ),
the HAProxy will still keep forwarding traffic to this broken instance?

So, my question is,
Is there a possibility to "smart communicate" with control ports?
Besides, is there a command forward interface for docker container?

@bloigge
Copy link

bloigge commented Mar 28, 2022

Any news on this? I also would like to renew a broken connection. If it is not possible for the client, how could a script look like on the server which checks for broken connections repeatedly?

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

No branches or pull requests

3 participants