On Mon, Jun 01, 2015 at 10:20 -0500, you wrote:

> We could alternately take the additional step of moving command line
> argument processing into Bro scripts.  I don’t know how exactly we’d
> solve this particular problem, but it should be reasonably solvable
> that way.

If we had that, the '-f' switch would probably be added by the packet
filter script, so it'd be available only when loaded.

I'd like to move argument processing into script-land as well.
Generally, however, I think it would still be good to avoid arguments
controlling script behaviour as much as possible. Main reason is
argument inflation: -f has been historically around but there are
plenty other scripts that in principle could take command-line
arguments as well, which would get messy. And we have the X=Y syntax
already to take care of that.

_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to