mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
GH-234: rename Broxygen to Zeexygen along with roles/directives
* All "Broxygen" usages have been replaced in code, documentation, filenames, etc. * Sphinx roles/directives like ":bro:see" are now ":zeek:see" * The "--broxygen" command-line option is now "--zeexygen"
This commit is contained in:
parent
5ba46eaa71
commit
aebcb1415d
254 changed files with 2675 additions and 2656 deletions
|
@ -14,44 +14,44 @@ export {
|
|||
};
|
||||
|
||||
## Maximum number of originator files to log.
|
||||
## :bro:see:`HTTP::max_files_policy` even is called once this
|
||||
## :zeek:see:`HTTP::max_files_policy` even is called once this
|
||||
## limit is reached to determine if it's enforced.
|
||||
option max_files_orig = 15;
|
||||
|
||||
## Maximum number of responder files to log.
|
||||
## :bro:see:`HTTP::max_files_policy` even is called once this
|
||||
## :zeek:see:`HTTP::max_files_policy` even is called once this
|
||||
## limit is reached to determine if it's enforced.
|
||||
option max_files_resp = 15;
|
||||
|
||||
## Called when reaching the max number of files across a given HTTP
|
||||
## connection according to :bro:see:`HTTP::max_files_orig`
|
||||
## or :bro:see:`HTTP::max_files_resp`. Break from the hook
|
||||
## connection according to :zeek:see:`HTTP::max_files_orig`
|
||||
## or :zeek:see:`HTTP::max_files_resp`. Break from the hook
|
||||
## early to signal that the file limit should not be applied.
|
||||
global max_files_policy: hook(f: fa_file, is_orig: bool);
|
||||
|
||||
redef record Info += {
|
||||
## An ordered vector of file unique IDs.
|
||||
## Limited to :bro:see:`HTTP::max_files_orig` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_orig` entries.
|
||||
orig_fuids: vector of string &log &optional;
|
||||
|
||||
## An ordered vector of filenames from the client.
|
||||
## Limited to :bro:see:`HTTP::max_files_orig` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_orig` entries.
|
||||
orig_filenames: vector of string &log &optional;
|
||||
|
||||
## An ordered vector of mime types.
|
||||
## Limited to :bro:see:`HTTP::max_files_orig` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_orig` entries.
|
||||
orig_mime_types: vector of string &log &optional;
|
||||
|
||||
## An ordered vector of file unique IDs.
|
||||
## Limited to :bro:see:`HTTP::max_files_resp` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_resp` entries.
|
||||
resp_fuids: vector of string &log &optional;
|
||||
|
||||
## An ordered vector of filenames from the server.
|
||||
## Limited to :bro:see:`HTTP::max_files_resp` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_resp` entries.
|
||||
resp_filenames: vector of string &log &optional;
|
||||
|
||||
## An ordered vector of mime types.
|
||||
## Limited to :bro:see:`HTTP::max_files_resp` entries.
|
||||
## Limited to :zeek:see:`HTTP::max_files_resp` entries.
|
||||
resp_mime_types: vector of string &log &optional;
|
||||
|
||||
## The current entity.
|
||||
|
|
|
@ -17,18 +17,18 @@ export {
|
|||
## Returns: A vector of strings containing the keys.
|
||||
global extract_keys: function(data: string, kv_splitter: pattern): string_vec;
|
||||
|
||||
## Creates a URL from an :bro:type:`HTTP::Info` record. This should
|
||||
## Creates a URL from an :zeek:type:`HTTP::Info` record. This should
|
||||
## handle edge cases such as proxied requests appropriately.
|
||||
##
|
||||
## rec: An :bro:type:`HTTP::Info` record.
|
||||
## rec: An :zeek:type:`HTTP::Info` record.
|
||||
##
|
||||
## Returns: A URL, not prefixed by ``"http://"``.
|
||||
global build_url: function(rec: Info): string;
|
||||
|
||||
## Creates a URL from an :bro:type:`HTTP::Info` record. This should
|
||||
## Creates a URL from an :zeek:type:`HTTP::Info` record. This should
|
||||
## handle edge cases such as proxied requests appropriately.
|
||||
##
|
||||
## rec: An :bro:type:`HTTP::Info` record.
|
||||
## rec: An :zeek:type:`HTTP::Info` record.
|
||||
##
|
||||
## Returns: A URL prefixed with ``"http://"``.
|
||||
global build_url_http: function(rec: Info): string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue