SSLproxy icon indicating copy to clipboard operation
SSLproxy copied to clipboard

Secondary traffic

Open alisaosipova opened this issue 1 year ago • 7 comments

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 avatar Jul 31 '24 12:07 alisaosipova

image

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

alisaosipova avatar Aug 01 '24 14:08 alisaosipova

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.

sonertari avatar Aug 01 '24 15:08 sonertari

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 avatar Aug 02 '24 10:08 alisaosipova

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

alisaosipova avatar Aug 06 '24 12:08 alisaosipova

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

sonertari avatar Aug 06 '24 19:08 sonertari

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 avatar Aug 06 '24 19:08 alisaosipova

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

alisaosipova avatar Aug 06 '24 19:08 alisaosipova