diff --git a/CHANGES b/CHANGES index d185b2465a..af31bdea05 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +2.5-946 | 2018-08-30 09:51:16 -0500 + + * Update NEWS with more info about runtime options (Daniel Thayer) + 2.5-944 | 2018-08-30 09:28:41 -0500 * Introduce ssl_plaintext_data event, replacing ssl_application_data event. diff --git a/NEWS b/NEWS index 5b70c37e7c..0af51ef603 100644 --- a/NEWS +++ b/NEWS @@ -120,6 +120,15 @@ New Functionality not send the change to any other nodes, so Config::set_value should typically be used instead of Option::set. + Various redef-able constants in the standard Bro scripts have + been converted to runtime options. This change will not affect any + user scripts because the initial value of runtime options can still be + redefined with a "redef" declaration. Example: + + option testvar = "old value"; + + redef testvar = "new value"; + It is possible to "subscribe" to an option through Option::set_change_handler, which will trigger a handler callback when an option changes. Change handlers can optionally modify diff --git a/VERSION b/VERSION index 0bbe473302..d522ba4d67 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5-944 +2.5-946