From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 1 13:55:45 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE08116A428 for ; Thu, 1 Dec 2005 13:55:45 +0000 (GMT) (envelope-from aanton@spintech.ro) Received: from smtpx.spintech.ro (smtpx.spintech.ro [81.180.92.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34EA943D5C for ; Thu, 1 Dec 2005 13:55:44 +0000 (GMT) (envelope-from aanton@spintech.ro) Received: from laura-axiomeda (unknown [11.0.0.25]) by smtpx.spintech.ro (Postfix) with ESMTP id 96BCD3A49A; Thu, 1 Dec 2005 14:02:50 +0000 (UTC) X-Laura: version 0.0.1b10-frustratus proxied X-Laura-Remote-IP: 10.0.0.2 Received: from [10.0.0.2] (beastie [10.0.0.2]) by smtpx.spintech.ro (Postfix) with ESMTP id 2CDFA3A498; Thu, 1 Dec 2005 14:02:50 +0000 (UTC) Message-ID: <438F00D8.4040302@spintech.ro> Date: Thu, 01 Dec 2005 15:55:36 +0200 From: Alin-Adrian Anton Organization: Spintech Security Systems User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: cwnd and sstresh monitor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aanton@spintech.ro List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 13:55:46 -0000 Dear Hackers, I would like to monitor the changes of cwnd and sstresh values during TCP traffic, in order to plot graphs and interpret congestion. So I need (cwnd, timestamp) and (sstresh, timestamp) records to be taken everytime one of the two variables is modified. I'd like to ask you for suggestions, which would be the best aproach (kernel patch, kernel module, etc?), and how would this be done best? (the interception of values, the storage of snapshots, etc)? Thanks a lot for your time and valuable informations, I really appreciate any suggestions. Yours Sincerely, -- Alin-Adrian Anton GPG keyID 0x183087BA (B129 E8F4 7B34 15A9 0785 2F7C 5823 ABA0 1830 87BA) gpg --keyserver pgp.mit.edu --recv-keys 0x183087BA "It is dangerous to be right when the government is wrong." - Voltaire