You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inability to send the packet in the format of Ethernet Header + IP Header + TCP Header + ... (Sending just http or https payload and header from SSLproxy)
#59
I have a simple Go code running on DivertPort 45502. I am trying to dump incoming requests. However, no matter what I do in the Proto part, I can only dump HTTP payloads. I cannot dump the entire packet(*), which continues as OSI Layer 2, Layer 3, Layer 4, Layer 7. When I set Proto to tcp and open a socket to listen on the relevant port and IP, only the HTTP header + payload can be retrieved.
(*)The packet structure I am referring to consists of a 20-byte Ethernet header, a 20 to 60-byte IP header, and after that a 60-byte TCP header. Could it be that the SSL Proxy is only sending the HTTP header and payload? How to send original packet bytes from your code?
I have a simple Go code running on DivertPort 45502. I am trying to dump incoming requests. However, no matter what I do in the Proto part, I can only dump HTTP payloads. I cannot dump the entire packet(*), which continues as OSI Layer 2, Layer 3, Layer 4, Layer 7. When I set Proto to tcp and open a socket to listen on the relevant port and IP, only the HTTP header + payload can be retrieved.
(*)The packet structure I am referring to consists of a 20-byte Ethernet header, a 20 to 60-byte IP header, and after that a 60-byte TCP header. Could it be that the SSL Proxy is only sending the HTTP header and payload? How to send original packet bytes from your code?
Running like this (no error)
./ssl-proxy -cert /etc/certs/web.crt -key /etc/certs/web.key -from 0.0.0.0:45501 -to 127.0.0.1:45502
The text was updated successfully, but these errors were encountered: