Git Product home page Git Product logo

tcp_probe_fixed's Introduction

UNMAINTED WARNING: I am not actively maintaining this module anymore. This code was designed to run against Ubuntu 12.04 kernel versions and I keep this repo for reference and historical reasons. I am not accepting pull requests and will not answer support inquiries sent to my private email.

About

This is my fixed version of the tcp_probe.c kernel module for linux. The version that ships with the vanilla kernel was not suitable for me as it only writes to /proc/net/tcpprobe in large buffer bursts, whereas I needed to monitor short lived HTTP connections.

This version uses and EVENT_BUF value of 1 by default, which means every event is written to /proc/net/tcpprobe immediately. An event can be either the reception of a tcp segment of an established connection, or the change of the snd_cwnd (depending on whether or not the full module parameter is given).

Additionally, the timestamp is reset on every fopen of the /proc/net/tcp_probe file for easier plotting.

For more information and documentation on original tcp_probe, see:

<http://www.linuxfoundation.org/collaborate/workgroups/networking/tcpprobe>

The sample_plot folder contains a sample gnuplot plus two samples collected via this kernel modules that show congestion behaviour using tcp reno and linux' tcp_cubic.

Install & Usage

Get and install matching linux-header package for your kernel and run make.

Usage: Same as the original tcp_probe module. I.e:

insmod tcp_probe_fixed.ko port=8080 full=1

tcp_probe_fixed's People

Contributors

dynalon avatar foivosmichelinakis avatar karthiknayak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.