SSLproxy icon indicating copy to clipboard operation
SSLproxy copied to clipboard

Is that possible to import the all packet data to request header like getting source/destination ip/port via req.Header.Get("SslProxy") ?

Open samueljaydan opened this issue 1 year ago • 4 comments

samueljaydan avatar Jun 12 '24 11:06 samueljaydan

Listening program should parse the SSLproxy line in the first packet of a connection to get the source and destination addresses, as explained in README, if I understand your question right.

sonertari avatar Jun 12 '24 11:06 sonertari

Thanks for the answer. Yes you've explained, but I need all packet data, so I can decode other layers also not just the source/destination ip/port. Is that possible to redirect full packet data from your SSLproxy to Listening program. If it is, how to do that?

samueljaydan avatar Jun 12 '24 11:06 samueljaydan

Yes, that's the purpose of SSLproxy with a listening program. See the sample lp program, which is used with e2e tests too.

sonertari avatar Jun 12 '24 13:06 sonertari

I see, As I understand it, this is redirected by default without adding any config options. just to be able to access this part from the user space.

samueljaydan avatar Jun 13 '24 05:06 samueljaydan