Coder Social home page Coder Social logo

initcwnd_check's Introduction

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

initcwnd_check's People

Contributors

redhands avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.