sonertari / SSLproxy

Transparent SSL/TLS proxy for decrypting and diverting network traffic to other programs, such as UTM services, for deep SSL inspection
BSD 2-Clause "Simplified" License
377 stars 98 forks source link

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

Open samueljaydan opened 1 month ago

sonertari commented 1 month ago

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.

samueljaydan commented 1 month ago

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?

sonertari commented 1 month ago

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

samueljaydan commented 1 month ago

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.