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

Secondary traffic #75

Open
alisaosipova opened this issue Jul 31, 2024 · 7 comments
Open

Secondary traffic #75

alisaosipova opened this issue Jul 31, 2024 · 7 comments

Comments

@alisaosipova
Copy link

Can I not create a reverse connection for secondary traffic from divert-proxy, but go through the connection that has already been created? If yes, then how. Or at least where it is in the source code so that I can study it myself

@alisaosipova
Copy link
Author

image

I want to delete this connection here. To record what happened.

@sonertari
Copy link
Owner

If the listening program does not return the packets to SSLproxy (the connection you crossed over in the diagram), it is effectively disabled.
I don't think I can find where in the sources to do that, probably it's all over the proxy code.

@alisaosipova
Copy link
Author

alisaosipova commented Aug 2, 2024

I use as a divert, a regular echo-tcp-server (listens to 127.0.0.1 8080), which sends (write) what it receives. It writes information to the same connection that it received. The problem is that the SSLproxy implementation does not allow this, and the proxy freezes halfway through. Could you tell me what to do, where to look in the source code to fix this? It might be worth sending some data earlier, etc. thx for answer

@alisaosipova
Copy link
Author

can i transfer all child connections to parent connections when i use divert? That is, I want to remove child connections, but keep all divert functions

@sonertari
Copy link
Owner

It's way more complicated than what you think. That would be a very different project.

@alisaosipova
Copy link
Author

It's way more complicated than what you think. That would be a very different project.

What should I know when performing this task that you could share? I'm currently reworking protohttp, reworking read/write callbacks. response/request headers

@alisaosipova
Copy link
Author

and another question. Can I add a divert branch in split mode?

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