Is that possible to import the all packet data to request header like getting source/destination ip/port via req.Header.Get("SslProxy") ?
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.
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?
Yes, that's the purpose of SSLproxy with a listening program. See the sample lp program, which is used with e2e tests too.
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.