Capturing https header from Java
Sorry in advance for my not perfect english.
I am trying to capture realtime http / https traffic from a Java program. Thanks to the Jnetpcap library, I was able to do this quite easily, but for https traffic, I cannot get only the packet headers, even if I ask to capture all the tcp packets without a port filter. I don't understand how sofwares how Fiddler manages to do this for example. have a domain name like facebook.com or google.com.
Is there a way to do this in Java?
Thank!
+3
source to share