Jon Siwek
dacdf5424b
Merge remote-tracking branch 'origin/topic/jsiwek/deprecate-zeekenv'
...
* origin/topic/jsiwek/deprecate-zeekenv:
Deprecate zeekenv() and use getenv() directly
2021-02-01 12:13:47 -08:00
Jon Siwek
8a8a983c49
Add missing zeek/ to header includes
...
Related to https://github.com/zeek/zeek/pull/1377
2021-01-29 19:16:29 -08:00
Jon Siwek
b8c563dbdd
Deprecate zeekenv() and use getenv() directly
2021-01-29 16:55:44 -08:00
Tim Wojtulewicz
0618be792f
Remove all of the random single-file deprecations
...
These are the changes that don't require a ton of changes to other files outside
of the original removal.
2021-01-27 10:52:40 -07:00
Vern Paxson
732633ebb4
option handling for new -u/-uu flag for reporting usage issues
2021-01-23 10:25:06 -08:00
Jon Siwek
64631a2d9f
Merge branch 'master' into topic/vern/script-inlining
2021-01-06 22:08:29 -08:00
Jon Siwek
faf6d4ec1a
Rename a 'do_net_run' variable to 'do_run_loop'
...
For clarity, since the net_run() function was renamed to run_loop().
2020-12-14 13:07:47 -08:00
Jon Siwek
09d12c3716
Remove SetupResult::parse_only field
...
For parity with other setup() behavior to simply call exit() directly.
2020-12-13 13:33:50 -08:00
Jon Siwek
ff7d9e3d72
Merge branch 'master' into topic/vern/script-inlining
2020-12-04 16:18:14 -08:00
Robin Sommer
fe45f5335a
Retry loading plugins on failure to resolve to dependencies.
...
Closes #1179 .
2020-11-25 15:07:32 +00:00
Vern Paxson
c42586af2c
inlining of Zeek script functions
2020-11-19 16:16:59 -08:00
Tim Wojtulewicz
96d9115360
GH-1079: Use full paths starting with zeek/ when including files
2020-11-12 12:15:26 -07:00
Tim Wojtulewicz
cd06bf34c7
GH-1215: Remove dispatch_map from packet analysis, replace with BIF methods for registering dispatches
2020-11-02 19:03:25 +00:00
Tim Wojtulewicz
1cf251d1ca
Move IP and IP tunnel code from Sessions into packet analyzers
2020-10-15 12:18:30 -07:00
Jon Siwek
2d3b4dab74
Improve zeek_script_args test case and documentation
2020-10-13 12:40:53 -07:00
Seth Hall
39177ce8c9
Apply suggestions from code review
...
Co-authored-by: Jon Siwek <jsiwek@corelight.com>
2020-10-09 12:16:44 -04:00
Seth Hall
2bdc56dfcd
Make it possible to pass command line options through to scripts.
...
The feature is documented with the zeek_script_args variable in
init-bare.zeek.
2020-10-08 15:46:28 -04:00
Tim Wojtulewicz
23bbe0ac38
Move packet_mgr to the zeek namespace
2020-09-24 09:56:55 -07:00
Jan Grashoefer
e53ec46c23
Renamed LL-Analyzers to Packet Analyzers.
2020-09-23 11:13:28 -07:00
Peter Oettig
b2e6c9ac9a
Initial implementation of Lower-Level analyzers
2020-09-23 11:13:25 -07:00
Jon Siwek
2a8de33c63
Merge remote-tracking branch 'origin/topic/jsiwek/gh-1122'
...
* origin/topic/jsiwek/gh-1122:
GH-165: Fix global initializations that indirectly use builtin types
Improve how primary/top-level BIFs get initialized
GH-1122: Allow initializing globals with calls to subdir BIFs
GH-1122: Improve error for global record initialization exceptions
2020-09-04 17:24:50 -07:00
Jon Siwek
5b25870c83
Merge remote-tracking branch 'origin/topic/timw/158-packet-filter-option'
...
* origin/topic/timw/158-packet-filter-option:
GH-158: Ensure packet-filter framework is loaded if -f option is passed
2020-08-27 15:34:31 -07:00
Tim Wojtulewicz
a3d7284d5e
GH-158: Ensure packet-filter framework is loaded if -f option is passed
2020-08-27 14:06:21 -07:00
Jon Siwek
4a8640d702
Improve how primary/top-level BIFs get initialized
2020-08-27 13:54:43 -07:00
Jon Siwek
1bbae2368d
GH-1122: Allow initializing globals with calls to subdir BIFs
2020-08-27 12:20:37 -07:00
Jon Siwek
ff0aa6b050
Merge remote-tracking branch 'origin/topic/timw/rename-binpac_bro'
...
* origin/topic/timw/rename-binpac_bro:
Rename bro-bif.h to zeek-bif.h
Fix uses of bro.pac to use zeek.pac
Rename the bro-related binpac files to zeek
2020-08-26 11:21:17 -07:00
Tim Wojtulewicz
adcf99b25e
Fix uses of bro.pac to use zeek.pac
2020-08-25 17:03:23 -07:00
Tim Wojtulewicz
fe0c22c789
Base: Clean up explicit uses of namespaces in places where they're not necessary.
...
This commit covers all of the common and base classes.
2020-08-24 12:07:00 -07:00
Tim Wojtulewicz
54215ab9cd
Rename methods in RunState to remove 'net' from their names
2020-08-20 16:11:47 -07:00
Tim Wojtulewicz
0ac3fafe13
Move zeek::net namespace to zeek::run_state namespace.
...
This also moves all of the code from Net.{h,cc} to RunState.{h,cc} and marks Net.h as deprecated
2020-08-20 16:11:47 -07:00
Tim Wojtulewicz
d608e7c9a5
Move ScannedFile class and associated globals into ScannedFile.h and out of Net.h and scan.l
2020-08-20 16:11:47 -07:00
Tim Wojtulewicz
6a3f98c835
Move zeek-setup code into namespaces
2020-08-20 16:11:46 -07:00
Tim Wojtulewicz
db36688bf0
Move a few smaller files to zeek namespaces
2020-08-20 16:11:46 -07:00
Tim Wojtulewicz
ddf48d7529
Move a few of the zeek::util methods and variables to zeek::util::detail
2020-08-20 16:11:44 -07:00
Tim Wojtulewicz
5a2ac84eee
Move zeekygen code to zeek::zeekygen::detail namespace
2020-08-20 16:00:35 -07:00
Tim Wojtulewicz
8d2d867a65
Move everything in util.h to zeek::util namespace.
...
This commit includes renaming a number of methods prefixed with bro_ to be prefixed with zeek_.
2020-08-20 16:00:33 -07:00
Tim Wojtulewicz
e7c6d51ae7
Move the functions and variables in Net.h to the zeek::net namespace. This includes moving network_time out of util.h.
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
ca9baec6e8
Add namespaced version of trigger_mgr, fix a couple uses of event_registry
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
f1cfd5aa2b
Move bro_broker code to zeek::Broker namespace
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
cba1bc18a5
Move notifier code to zeek::notifier::detail namespace
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
1262109e5a
Move threading classes to zeek namespaces
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
be92bd536f
Move iosource code to zeek namespaces
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
45b5c6e619
Move logging code to zeek namespaces
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
9a800265ff
Move input code to zeek namespaces
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
14408235b8
Move file_analysis code to zeek namespaces
2020-08-20 15:55:17 -07:00
Tim Wojtulewicz
3e6ba198db
Rename Brofiler to ScriptCoverageManager
2020-07-31 16:26:11 -04:00
Tim Wojtulewicz
4e9a5e9d98
Move ODesc to zeek namespace
2020-07-31 16:25:54 -04:00
Tim Wojtulewicz
fdcb2760b2
Move Stats and related classes to zeek::detail
2020-07-31 16:25:53 -04:00
Tim Wojtulewicz
45b5a98420
Move EventMgr, EventHandler, and EventRegistry code to zeek namespace. Rename mgr to event_mgr.
2020-07-31 16:23:32 -04:00
Tim Wojtulewicz
1c17700c48
Move Timer and PriorityQueue classes to namespaces
2020-07-31 16:23:02 -04:00