Get initial congestion window (initcwnd) and initial receive window (initrwnd) of remote server. Usage: initcwnd_check.pl <dev> <uri> (<dst_ip>) Example: # ./initcwnd_check.pl eth0 http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js + connected from x.x.x.x:1777 to 74.125.71.95:80 * ajax.googleapis.com (74.125.71.95) - init_cwnd: 10 (14300 byte), init_rwnd: 4 (5720 byte) # ./initcwnd_check.pl eth0 http://kr.yahoo.com/ 111.67.226.84 + connected from x.x.x.x:2652 to 111.67.226.84:80 * kr.yahoo.com (111.67.226.84) - init_cwnd: 2 (2875 byte), init_rwnd: 4 (5840 byte) Requirements: * root * /sbin/iptables, /sbin/ip * perl module - Net::RawIP - Net::Pcap - NetPacket::Ethernet - NetPacket::IP - NetPacket::TCP - Socket - POSIX
lastsky/initcwnd_check
Get initial congestion window (initcwnd) and initial receive window (initrwnd) of remote server.
Perl