Rename all scripts to have ".zeek" file extension

This commit is contained in:
Daniel Thayer 2019-04-11 21:12:40 -05:00
parent 537d9cab97
commit 18bd74454b
357 changed files with 169 additions and 169 deletions

View file

@ -2,8 +2,8 @@ include(InstallPackageConfigFile)
install(DIRECTORY ./ DESTINATION ${BRO_SCRIPT_INSTALL_PATH} FILES_MATCHING install(DIRECTORY ./ DESTINATION ${BRO_SCRIPT_INSTALL_PATH} FILES_MATCHING
PATTERN "site/local*" EXCLUDE PATTERN "site/local*" EXCLUDE
PATTERN "test-all-policy.bro" EXCLUDE PATTERN "test-all-policy.zeek" EXCLUDE
PATTERN "*.bro" PATTERN "*.zeek"
PATTERN "*.sig" PATTERN "*.sig"
PATTERN "*.fp" PATTERN "*.fp"
) )
@ -11,6 +11,6 @@ install(DIRECTORY ./ DESTINATION ${BRO_SCRIPT_INSTALL_PATH} FILES_MATCHING
# Install all local* scripts as config files since they are meant to be # Install all local* scripts as config files since they are meant to be
# user modify-able. # user modify-able.
InstallPackageConfigFile( InstallPackageConfigFile(
${CMAKE_CURRENT_SOURCE_DIR}/site/local.bro ${CMAKE_CURRENT_SOURCE_DIR}/site/local.zeek
${BRO_SCRIPT_INSTALL_PATH}/site ${BRO_SCRIPT_INSTALL_PATH}/site
local.bro) local.zeek)

View file

@ -1,6 +1,6 @@
##! A framework for establishing and controlling a cluster of Bro instances. ##! A framework for establishing and controlling a cluster of Bro instances.
##! In order to use the cluster framework, a script named ##! In order to use the cluster framework, a script named
##! ``cluster-layout.bro`` must exist somewhere in Bro's script search path ##! ``cluster-layout.zeek`` must exist somewhere in Bro's script search path
##! which has a cluster definition of the :bro:id:`Cluster::nodes` variable. ##! which has a cluster definition of the :bro:id:`Cluster::nodes` variable.
##! The ``CLUSTER_NODE`` environment variable or :bro:id:`Cluster::node` ##! The ``CLUSTER_NODE`` environment variable or :bro:id:`Cluster::node`
##! must also be sent and the cluster framework loaded as a package like ##! must also be sent and the cluster framework loaded as a package like
@ -192,7 +192,7 @@ export {
global worker_count: count = 0; global worker_count: count = 0;
## The cluster layout definition. This should be placed into a filter ## The cluster layout definition. This should be placed into a filter
## named cluster-layout.bro somewhere in the BROPATH. It will be ## named cluster-layout.zeek somewhere in the BROPATH. It will be
## automatically loaded if the CLUSTER_NODE environment variable is set. ## automatically loaded if the CLUSTER_NODE environment variable is set.
## Note that BroControl handles all of this automatically. ## Note that BroControl handles all of this automatically.
## The table is typically indexed by node names/labels (e.g. "manager" ## The table is typically indexed by node names/labels (e.g. "manager"
@ -200,7 +200,7 @@ export {
const nodes: table[string] of Node = {} &redef; const nodes: table[string] of Node = {} &redef;
## Indicates whether or not the manager will act as the logger and receive ## Indicates whether or not the manager will act as the logger and receive
## logs. This value should be set in the cluster-layout.bro script (the ## logs. This value should be set in the cluster-layout.zeek script (the
## value should be true only if no logger is specified in Cluster::nodes). ## value should be true only if no logger is specified in Cluster::nodes).
## Note that BroControl handles this automatically. ## Note that BroControl handles this automatically.
const manager_is_logger = T &redef; const manager_is_logger = T &redef;

View file

@ -43,8 +43,8 @@ export {
# ### High-level API. # ### High-level API.
# ### # ###
# ### Note - other high level primitives are in catch-and-release.bro, shunt.bro and # ### Note - other high level primitives are in catch-and-release.zeek,
# ### drop.bro # ### shunt.zeek and drop.zeek
## Allows all traffic involving a specific IP address to be forwarded. ## Allows all traffic involving a specific IP address to be forwarded.
## ##

View file

@ -251,7 +251,7 @@ function controller_init_done(controller: Controller)
event OpenFlow::controller_activated(controller$state$_name, controller); event OpenFlow::controller_activated(controller$state$_name, controller);
} }
# Functions that are called from cluster.bro and non-cluster.bro # Functions that are called from cluster.zeek and non-cluster.zeek
function register_controller_impl(tpe: OpenFlow::Plugin, name: string, controller: Controller) function register_controller_impl(tpe: OpenFlow::Plugin, name: string, controller: Controller)
{ {

View file

@ -9,7 +9,7 @@
##! Note that this framework deals with the handling of internally generated ##! Note that this framework deals with the handling of internally generated
##! reporter messages, for the interface ##! reporter messages, for the interface
##! into actually creating reporter messages from the scripting layer, use ##! into actually creating reporter messages from the scripting layer, use
##! the built-in functions in :doc:`/scripts/base/bif/reporter.bif.bro`. ##! the built-in functions in :doc:`/scripts/base/bif/reporter.bif.zeek`.
module Reporter; module Reporter;

Some files were not shown because too many files have changed in this diff Show more