Who is to load dummynet.ko?

Yar Tikhiy yar at comp.chem.msu.su
Sat Mar 10 15:35:39 UTC 2007


Hi folks,

Just noticed that neither ipfw(8) nor /etc/rc.d/ipfw cares to load
dummynet.ko.  It can result in a broken setup when one migrates
from a custom monolithic kernel to GENERIC with modules, which is
a nice way to reduce support headache today.

There are at least two possible ways to deal with the issue.  The
easy way is to give the task of loading dummynet.ko to /etc/rc.d/ipfw.
The problem with it is that the script cannot know in advance if
dummynet is really used by the ipfw rules to be loaded.  The decision
whether to load the module is left to rc.conf(5) in this case.

The second way is to move the task of loading modules to ipfw(8).
Then it could load ipfw.ko, divert.ko, and dummynet.ko on demand.

Comments?

-- 
Yar


More information about the freebsd-net mailing list