diff --git a/SRC/DETAILS b/SRC/DETAILS index 8d221e3..871c867 100644 --- a/SRC/DETAILS +++ b/SRC/DETAILS @@ -114,5 +114,33 @@ TCP/IP Internets and Interconnected Devices"), specially its "Benchmark" section and the W. Richard Stevens' books (all of them), published by Addison-Wesley. +If you want to modify echoping and test it against slow or lossy +connections, it is good to be able to reporudce these bad conditions +at will. To do so, you can use: + +On Linux, Netem : + +tc qdisc add dev eth0 root netem delay 50ms loss 10% +tc qdisc add dev eth1 root netem delay 50ms loss 10% + +It depends on Netem (network emulation) + + Networking --> + Networking Options --> + QoS and/or fair queuing --> + Network emulator + +We can also use a patch to the Linux kernel's Netfilter : + + + +On FreeBSD, dummynet (): + +ipfw add 1000 pipe 1 tcp from judith to kiwi echo +ipfw pipe 1 config plr 0.5 + +It works fine to test echoping with 50 % of loss. + + $Id$