Commit 8fe26a9d authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Turn off fastforwarding when linkdelays are turned on. Add comment in

parent 3ff49ce9
......@@ -140,6 +140,11 @@ sub DelaySetup()
if (-e $KERNELDELAY) {
print DEL "sysctl -w kern.polling.enable=1\n";
# Turn off Flow-based IP (fast) forwarding since it causes packets
# to bypass traffic shaping and ipfw. Stupid!
print DEL "sysctl -w net.inet.ip.fastforwarding=0\n";
$count = 69;
foreach $delay (@delays) {
......@@ -37,6 +37,10 @@ granularity allows Dummynet to do a better job of scheduling packets.
<li> IPFW and Dummynet are compiled into the kernel, which affects the
network stack; all incoming and outgoing packets are sent into ipfw to
be matched on.
<li> Flow-based IP forwarding is turned off. This is also known as
IP <em>fast forwarding</em> in the FreeBSD kernel. Note that
regular IP packet forwarding is still enabled.
If you would like to use end node traffic shaping globally, without
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment