Benjamin Bannier
f5a76c1aed
Reformat Zeek in Spicy style
...
This largely copies over Spicy's `.clang-format` configuration file. The
one place where we deviate is header include order since Zeek depends on
headers being included in a certain order.
2023-10-30 09:40:55 +01:00
Tim Wojtulewicz
0d78eb1933
packet_analysis: Define all plugin type as final
2023-07-07 09:17:05 -07:00
Tim Wojtulewicz
84e3f414a7
Use the same rules as cmake submodule to reformat Zeek
2023-05-09 08:31:43 -07:00
Tim Wojtulewicz
31afe082ac
ARP: add support for IEEE802 hardware type
2023-04-25 12:12:49 -07:00
Dominik Charousset
9aeed5284d
Redesign subdir-libs and plugin scaffolding
2023-04-13 22:23:46 +02:00
Tomer Lev
5cdc6e150e
Clang format it all
2022-11-09 18:55:51 +02:00
Elad Solomon
3a80b79497
Compile Zeek with MSVC
...
Allow Zeek to be embedded in another project
2022-11-09 18:15:30 +02:00
Tim Wojtulewicz
4993a51c29
Add some sanity checking to BadARPEvent method
2022-08-26 10:59:49 -07:00
Tim Wojtulewicz
fe932944c4
GH-1620: Add event and plugin hook to track packets not processed
2021-11-12 09:30:26 -07:00
Tim Wojtulewicz
4423574d26
clang-format: Set IndentCaseBlocks to false
2021-09-27 10:49:48 -07:00
Tim Wojtulewicz
e97c14add5
clang-format: Other include ordering changes
2021-09-27 10:49:48 -07:00
Tim Wojtulewicz
30aa4621c5
Minor fixes for build problems after reformatting
2021-09-16 15:36:09 -07:00
Tim Wojtulewicz
b2f171ec69
Reformat the world
2021-09-16 15:35:39 -07:00
Jon Siwek
c44cbe1feb
Prefix #includes of .bif.h files with zeek/
...
This enables locating the headers within the install-tree using the
dirs provided by `zeek-config --include_dir`.
To enable locating these headers within the build-tree, this change also
creates a 'build/src/include/zeek -> ..' symlink.
2021-02-02 19:15:05 -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
Tim Wojtulewicz
e27008ef26
GH-1184: Add 'source' field to weird log denoting where the weird was reported
2020-12-01 09:34:37 -07:00
Tim Wojtulewicz
5589484f26
Fix includes of bif.h and _pac.h files to use full paths inside build directory
2020-11-12 12:15:26 -07: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
c21504deed
Fix build on FreeBSD, which was missing full definition of sockaddr for ARP
2020-09-23 11:14:01 -07:00
Jan Grashoefer
38337d799b
Improve packet analysis data flow.
2020-09-23 11:13:29 -07:00
Jan Grashoefer
90eb97876f
Improve packet analyzer API.
2020-09-23 11:13:28 -07:00
Jan Grashoefer
24babf096e
Move ARP analysis into packet analyzer.
2020-09-23 11:13:28 -07:00
Jan Grashoefer
4aeab7402d
Improve naming in packet analysis.
2020-09-23 11:13:28 -07:00
Jan Grashoefer
6365fa6d80
Migrate all packet analyzers to new API.
2020-09-23 11:13:28 -07:00
Jan Grashoefer
96d0e11bb8
Move cur_pos from packet into packet manager loop.
2020-09-23 11:13:28 -07:00
Tim Wojtulewicz
c2500d03d6
Remove packet_analysis/Defines.h
...
- Replace uses of identifier_t with uint32_t
- Replace repeated usage of tuple type for Analysis results with type alias
2020-09-23 11:13:28 -07:00
Tim Wojtulewicz
f39d6bb4c4
Use shared_ptr instead of raw pointers in packet_analysis for analyzers and dispatchers
2020-09-23 11:13:28 -07:00
Jan Grashoefer
1e0e8e35af
Minor fixes for packet analyzer renaming.
2020-09-23 11:13:28 -07:00
Jan Grashoefer
e53ec46c23
Renamed LL-Analyzers to Packet Analyzers.
2020-09-23 11:13:28 -07:00