>From my mozilla I opened a secured page at https://<domain> and got the
following output
No. Time Source Destination Protocol
Info
1 0.000000 141.204.200.232 135.214.40.162 TCP
39018 > 8080 [SYN] Seq=1259141925 Ack=0 Win=5840 Len=0
2 0.009486 135.214.40.162 141.204.200.232 TCP
8080 > 39018 [SYN, ACK] Seq=4278220552 Ack=1259141926 Win=65535 Len=0
3 0.009553 141.204.200.232 135.214.40.162 TCP
39018 > 8080 [ACK] Seq=1259141926 Ack=4278220553 Win=5840 Len=0
4 0.010617 141.204.200.232 135.214.40.162 TLS
Continuation Data, [Unreassembled Packet (incorrect TCP checksum)]
5 0.018092 135.214.40.162 141.204.200.232 TCP
8080 > 39018 [ACK] Seq=4278220553 Ack=1259142112 Win=65535 Len=0
6 0.021773 135.214.40.162 141.204.200.232 TLS
Continuation Data, [Unreassembled Packet]
7 0.021802 141.204.200.232 135.214.40.162 TCP
39018 > 8080 [ACK] Seq=1259142112 Ack=4278220634 Win=5840 Len=0
8 0.022481 141.204.200.232 135.214.40.162 SSLv2
Client Hello
9 0.041882 135.214.40.162 141.204.200.232 TLS
Server Hello, Certificate, Server Hello Done
10 0.051873 141.204.200.232 135.214.40.162 TLS
Client Key Exchange, Change Cipher Spec, Encrypted Handshake Message
11 0.070331 135.214.40.162 141.204.200.232 TLS
Change Cipher Spec, Encrypted Handshake Message
12 0.071733 141.204.200.232 135.214.40.162 TLS
Application Data
13 0.111422 135.214.40.162 141.204.200.232 TLS
Application Data, [Unreassembled Packet]
14 0.111677 135.214.40.162 141.204.200.232 TLS
Continuation Data, [Unreassembled Packet]
15 0.111756 141.204.200.232 135.214.40.162 TCP
39018 > 8080 [ACK] Seq=1259142843 Ack=4278223255 Win=10136 Len=0
16 0.117032 135.214.40.162 141.204.200.232 TLS
Application Data
17 0.156321 141.204.200.232 135.214.40.162 TCP
39018 > 8080 [ACK] Seq=1259142843 Ack=4278223410 Win=13032 Len=0
>From my perl code I opened the same url but did not see any ssl
handshake.
. Time Source Destination Protocol Info
1 0.000000 141.204.200.232 135.214.40.162 TCP
39327 > 8080 [SYN] Seq=2759374308 Ack=0 Win=5840 Len=0
2 0.002582 135.214.40.162 141.204.200.232 TCP
8080 > 39327 [SYN, ACK] Seq=3031981377 Ack=2759374309 Win=65535 Len=0
3 0.002673 141.204.200.232 135.214.40.162 TCP
39327 > 8080 [ACK] Seq=2759374309 Ack=3031981378 Win=5840 Len=0
4 0.049683 141.204.200.232 135.214.40.162 SSL
Continuation Data
5 0.097805 135.214.40.162 141.204.200.232 SSL
Continuation Data
6 0.097887 141.204.200.232 135.214.40.162 TCP
39327 > 8080 [ACK] Seq=2759374464 Ack=3031982674 Win=7776 Len=0
7 0.499219 141.204.200.232 135.214.40.162 SSL
Continuation Data
8 0.502003 135.214.40.162 141.204.200.232 SSL
Continuation Data
9 0.502077 141.204.200.232 135.214.40.162 TCP
39327 > 8080 [ACK] Seq=2759374579 Ack=3031982824 Win=10368 Len=0
10 0.502332 135.214.40.162 141.204.200.232 TCP
8080 > 39327 [FIN, ACK] Seq=3031982824 Ack=2759374579 Win=65535 Len=0
11 0.506211 141.204.200.232 135.214.40.162 TCP
39327 > 8080 [FIN, ACK] Seq=2759374579 Ack=3031982825 Win=10368 Len=0
12 0.508147 135.214.40.162 141.204.200.232 TCP
8080 > 39327 [ACK] Seq=3031982825 Ack=2759374580 Win=0 Len=0
I used the following code:
my $ua = LWP::UserAgent->new(keep_alive => 1, timeout =>30);
$ua->proxy(['http','https',],'http://domain of proxy server');
my $rq=HTTP::Request->new(GET => "https://same domain used in the
browser <https://same%20domain%20used%20in%20the%20browser/> ");
my $rsp=$ua->request($rq);
print $rsp->code;
print "\n";
Why am I not able to see the ssl handshakes with perl.