Date: Sat, 23 Nov 2002 20:49:38 -0500 From: Alex Newman <dolemite@psiu.dyndns.org> To: freebsd-hackers@freebsd.org Subject: getting the rtt in a divert socket Message-ID: <20021124014938.GA21312@ultraalex.psiu.dyndns.org>
next in thread | raw e-mail | index | archive | help
I just finnished writing a program which introduces a small random delay on the sending times in tcp to prevent synchronization of windows. I did it with divert sockets and ipfw. The one problem is , I was planning on setting the random delay =RTT(1+x)/cwnd where x is a random number. Currently i just have a small random number. Does anyone know a good way of picking out the cwnd and make a good estimate of the roundtrip time from the information flowing over divert sockets? Obviously i don't have to worry about the first calculation so i will probably set the RTT= something small. -- Alex Newman Quidquid latine dictum sit, altum viditur. dolemite@wuli.nu I don't know who came up with this quote. www.wuli.nu/users/dolemite To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021124014938.GA21312>