Hi Stephen,
Good effort but we could do more to capture the essence of nistnet. I am
not familiar with dummynet so cant comment on it.
For example just with the delaying action nistnet does a lot more
(cutnpaste):
Fixed delays, variable delays with loadable delay probability
distribution (Default distribution is pareto-normal, empirically
parametrized to match observed packet delays), settable mean/variance.
It can also introduce Packet reordering, packet loss, packet
duplication, as well as bandwidth limitation to induce congestion.
You get the point: essentially you have barely scratched the surface.
I think putting all the above in one huge monolithic module is wrong
this being one of the problems i had with nistnet.
The better alternative is to use the tc extension patches i have
because then you could write little modules which do different things
and cascade them.
Maybe as an example i can rewrite the fixed delayer you wrote as an
action module. The only catch is the patches i have are still in 2.4.x
at the moment. Let me know if you are interested and i could pass you
the patches.
cheers,
jamal
|