Merge remote-tracking branch 'origin/topic/jsiwek/zeek-script-args'

* origin/topic/jsiwek/zeek-script-args:
  Improve zeek_script_args test case and documentation
  Apply suggestions from code review
  Add a test for script args.
  Fixed an option processing bug
  Make it possible to pass command line options through to scripts.
This commit is contained in:
Jon Siwek 2020-10-13 13:32:18 -07:00
commit d62fb3ab9a
9 changed files with 103 additions and 4 deletions

9
NEWS
View file

@ -37,7 +37,7 @@ New Functionality
- Added a ``udp-state`` signature condition to enforce matching against
either "originator" or "responder" flow direction of UDP packets.
- Improvements to catpure-loss.zeek:
- Improvements to capture-loss.zeek:
- A new option, ``CaptureLoss::initial_watch_interval``. When restarting a
Zeek cluster, one usually wants some immediate feedback as to the health of
@ -54,6 +54,13 @@ New Functionality
capture-loss.zeek would have previously only reported that "0 gaps and 0
ACKs is 0% loss".
- A new ``zeek_script_args`` variable contains a list of arguments passed
to a script. E.g. either when explicitly executing Zeek like
``zeek -- myscript.zeek -arg1 -arg2``, or when using Zeek to interpret
executable scripts that contain a hashbang line at the top like::
#!/usr/local/zeek/bin/zeek --
Changed Functionality
---------------------