Date: Thu, 16 May 2002 23:42:40 -0400 From: "Adam Migus" <adam@migus.org> To: <freebsd-net@freebsd.org> Subject: RE: Message-ID: <HGEBLKNLFOJKKBGJBAKDGEBECAAA.adam@migus.org> In-Reply-To: <a05100306b909fd9084b5@[153.9.17.27]>
next in thread | previous in thread | raw e-mail | index | archive | help
James, You could use dummynet(4) to introduce delays, limit throughput, etc. You could also play with the various sysctl(8) variables. net.inet.ip.rtexpire net.inet.ip.rtminexpire net.inet.ip.rtmaxcache net.inet.tcp.delacktime net.inet.tcp.delayed_ack Just to name a few. Trying doing: sysctl -A | grep "net.inet" You can even mess around with some of the ipc related variables: sysctl -A | grep "kern.ipc" You should be able to manipulate the stack enough with that but there is always the source. :-) -- Adam Migus (adam@migus.org) (amigus@FreeBSD.org) FreeBSD (http://www.freebsd.org) | The Power to Serve -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of James B. Wilkinson Sent: Thursday, May 16, 2002 8:25 PM To: freebsd-net@FreeBSD.ORG Subject: I've got to teach a new graduate course in networking this fall. I'm looking at using vol 1 and maybe vol 2 of "TCP/IP Illustrated" by Richard Stevens. The basic premise of the book seems to be to do experiments on a working network in order to learn about the protocols. One thing that I thought about doing is to have them do that sort of thing here as well as to read about what he did to do the book. It seemed useful to me to have some of the machines set up with a version of FreeBSD that let you fool around with what the IP and TCP layers were doing. E.g. introduce delays in the transmission of ack's so that packets get retransmitted or so that you can watch the RTT estimate catch up. Maybe pick out particular TCP segments and lose them. When I started looking at how one might do this, it seemed like it might be hard. So I got to wondering if somebody had already done it so that I don't have to. I have no idea how to do a Google search for something like that. Do any of you guys know about any software like that. I spose it would have to be a hacked version of a kernel. Thanks -- ------------------------------------------------------------- Jimmy Wilkinson | Perfesser of Computer Science jimmy@cs.CofC.edu | The College of Charleston (843) 953-8160 | Charleston SC 29424 If there is one word to describe me, that word would have to be "profectionist". Any form of incompitence is an athema to me. Metathesis??? Don't ax me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HGEBLKNLFOJKKBGJBAKDGEBECAAA.adam>