Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/examples/rump/virtual_ip_router



On Mon Mar 29 2010 at 17:40:15 +0000, Christos Zoulas wrote:
> >Added Files:
> >     src/share/examples/rump/virtual_ip_router: startrouters.sh
> 
> Style:
> 
> - errors to stderr and prefixed by the script name.
> - I would have set LIF='10.0.${ip}.1', and used eval to set lif to avoid
>   echo/sed/pipe...
> - `` -> $(), if you really dislike eval.

Yea, it's a script i wrote over a year ago probably at 2000am when I
wanted to measure IP routing instead of write pretty scripts.  As the
README says, this is only an example hack of what you can do instead of
a commercial grade network testing/simulation product.  ... Not that it
couldn't be turned into one and if someone does want to work on producing
one, your suggestions are an excellent place to start tinkering.


Home | Main Index | Thread Index | Old Index