[Bro-Dev] Loading directories

Robin Sommer robin at icir.org
Thu Jun 2 09:22:32 PDT 2011

On Thu, Jun 02, 2011 at 09:45 -0500, you wrote:

> If it's just the name of @unload (I'd agree the sound of it is
> misleading), it could be offered as a different command that does the
> same thing.

The name is one piece, but it can also be confusing if one unloads a
script that some other one depends on and then suddendly doesn't work
as expected anymore (or not at all). And the order of @loads and
@unloads matters, which isn't nice either.

> I just think it's nice that a user can choose which approach is best
> for them: either a whitelist that picks individual pieces of a
> "package" or a blacklist that blocks only certain scripts of a
> "package".

That's right, I'm not saying nobody should use @unload, but I don't
want it to be the only part of the story. Having both options is
indeed helpful.


Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org

More information about the bro-dev mailing list