Knocke wrote:
thanks :-) I must admit that Stevens says sth about that tool.
But there's still (at least) one thing I don't understand: how to enable
socket debbuging? Is it possible only when socket is created (fe: by some
special system call) ? If yes, does it mean that it depends on the
aplication itself, if it opens its sockets for debbuging and/or if it gives
a command line switch command to turn it on?
Yes, the application must use setsockopt() call to enable socket debugging.
If an application does not turn it on, you can create a simple library
which would substitute socket() with socket()+setsockopt(SO_DEBUG) pair,
and attach it to the application via LD_PRELOAD.
hk
----- Original Message -----
From: "Bruce M Simpson" <[EMAIL PROTECTED]>
To: "Knocke" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 2:00 PM
Subject: Re: [nwebe] How to track TCP socket variables? (cwnd, ssthresh)
On Sat, Apr 10, 2004 at 01:23:24PM +0200, Knocke wrote:
Could somebode give me hint what to do? Is there any tool to connect to
existing TCP socket and dump its state per each segment sent or received? Or
any other way to achive the goal? It could be also a kind of dedicated
benchmark tool (lice ttcp) that comes togehter with what i need, I don't
necesarly need to track existing sshd or apache owned sockets.
man 8 trpt
BMS
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
__________ NOD32 Informacje 1.713 (20040409) __________
Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32
http://www.nod32.com lub http://www.nod32.pl
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Lev Walkin
[EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"