mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Introduce ZEEK_SEED_VALUES environment variable
For "individually different but deterministic" runs specifying Zeek's seed as an environment variable eases setups as one can avoid creating extra seed files for each of the individual processes. It is an error to specify the new ZEEK_SEED_VALUES variable together with the existing ZEEK_SEED_FILE and -G. ZEEK_SEED takes precedence over deterministic mode (-D) like ZEEK_SEED_FILE does today already.
This commit is contained in:
parent
b98ae9bdb2
commit
b2d934226f
9 changed files with 134 additions and 8 deletions
|
@ -166,6 +166,8 @@ void usage(const char* prog, int code)
|
|||
util::zeek_prefixes().c_str());
|
||||
fprintf(stderr, " $ZEEK_DNS_FAKE | disable DNS lookups (%s)\n",
|
||||
fake_dns() ? "on" : "off");
|
||||
fprintf(stderr, " $ZEEK_SEED_VALUES | list of space separated seeds (%s)\n",
|
||||
getenv("ZEEK_SEED_VALUES") ? "set" : "not set");
|
||||
fprintf(stderr, " $ZEEK_SEED_FILE | file to load seeds from (not set)\n");
|
||||
fprintf(stderr, " $ZEEK_LOG_SUFFIX | ASCII log file extension (.%s)\n",
|
||||
logging::writer::detail::Ascii::LogExt().c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue