zeek/src
Johanna Amann b56b856da9 SSL/TLS: Parse CertificateRequest message
This commit introduces parsing of the CertificateRequest message in the
TLS handshake. It introduces a new event ssl_certificate_request, as
well as a new function parse_distinguished_name, which can be used to
parse part of the ssl_certificate_request event parameters.

This commit also introduces a new policy script, which appends
information about the CAs a TLS server requests in the
CertificateRequest message, if it sends it.
2023-03-09 09:12:29 +01:00
..
3rdparty@58e63b262e Rework zeek-inet-ntop snprintf return value handling 2023-02-15 10:47:43 -07:00
analyzer SSL/TLS: Parse CertificateRequest message 2023-03-09 09:12:29 +01:00
broker Fix for EnumVal's returning their underlying value 2023-03-08 10:10:24 +01:00
file_analysis X.509: expose the signature type inside the tbs certificate 2023-02-28 19:24:16 +00:00
fuzzers fuzzer-setup: Do not always generate new_event 2023-02-06 18:09:11 +01:00
include Creating a symlink src/include/zeek -> src/ 2022-11-09 18:16:13 +02:00
input Fix a bunch of missing class member initializations 2023-01-27 13:03:18 -07:00
iosource Revert "Merge branch 'topic/jgras/iosource-offline-fd' of https://github.com/J-Gras/zeek" 2023-03-08 12:32:14 +01:00
logging logging/Manager: Remove unused variable 2023-02-27 12:51:03 +01:00
packet_analysis Merge remote-tracking branch 'ekoyle/add-protocol-pbb' 2023-02-19 19:24:15 -07:00
plugin zeek-config: Move ZEEK_VERSION* out of zeek-config.h 2023-02-22 16:48:39 +01:00
probabilistic A bunch of other minor issues reported by PVS-Studio 2023-01-27 13:03:52 -07:00
script_opt use a subclass of TableType for incremental construction of compiled scripts 2023-03-08 10:19:21 +01:00
session Remove other general deprecations 2022-06-30 19:17:13 +00:00
supervisor Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
telemetry Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
threading Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
zeekygen Extend Zeekygen manager with method to check if it's active. 2023-02-01 11:31:33 +01:00
Anon.cc Fix/simplify some if statement comparisons 2023-01-27 13:03:19 -07:00
Anon.h Replace most uses of typedef with using for type aliasing 2021-10-11 14:51:10 -07:00
Attr.cc Tame error reporting and abort() for undefined types 2023-01-26 20:05:02 +01:00
Attr.h Add &ordered attribute for tables/sets 2022-10-16 15:31:42 -07:00
Base64.cc Base64: report byte as positive integer 2023-02-02 15:49:22 +01:00
Base64.h clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
BifReturnVal.cc Reformat the world 2021-09-16 15:35:39 -07:00
BifReturnVal.h clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
binpac-lib.pac Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
binpac.pac
binpac_zeek-lib.pac Spelling src 2022-11-09 12:08:15 -05:00
binpac_zeek.h Add GTPv1 packet analyzer, disable old analyzer 2021-11-23 19:36:50 -07:00
CCL.cc Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
CCL.h Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
CMakeLists.txt Add zeek -V/--build-info 2023-02-13 12:23:29 +01:00
CompHash.cc Fix a bunch of variable shadowing issues from LGTM 2022-11-02 15:54:51 -07:00
CompHash.h Spelling src 2022-11-09 12:08:15 -05:00
Conn.cc Spelling src 2022-11-09 12:08:15 -05:00
Conn.h Remove unnecssary includes of Dict.h 2022-07-05 13:33:34 -07:00
const.bif ftp: Introduce FTP::max_command_length 2022-11-21 09:36:29 +01:00
DbgBreakpoint.cc Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
DbgBreakpoint.h updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
DbgDisplay.h updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
DbgHelp.cc updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
DbgWatch.cc clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
DbgWatch.h updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
Debug.cc Rename all of bro lexer methods and such 2022-07-12 12:01:23 -07:00
Debug.h Fix a bunch of missing class member initializations 2023-01-27 13:03:18 -07:00
DebugCmdInfoConstants.in Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
DebugCmds.cc Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
DebugCmds.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
DebugLogger.cc DebugLogger: "auto const" to "const auto" 2022-07-18 09:30:12 +02:00
DebugLogger.h Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
Desc.cc Spelling src 2022-11-09 12:08:15 -05:00
Desc.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
DFA.cc Fix sprintf warnings on macOS 2023-01-03 12:14:41 -07:00
DFA.h dfa: Remove transition_counter 2022-12-06 17:27:31 +01:00
Dict.cc Add support for itertors with ordered dictionaries 2022-10-10 10:08:58 -07:00
Dict.h A bunch of other minor issues reported by PVS-Studio 2023-01-27 13:03:52 -07:00
digest.cc Reformat the world 2021-09-16 15:35:39 -07:00
digest.h Spelling src 2022-11-09 12:08:15 -05:00
Discard.cc Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn 2021-11-23 19:36:49 -07:00
Discard.h Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn 2021-11-23 19:36:49 -07:00
DNS_Mapping.cc Clang format again but now with v13.0.1 2022-11-09 18:56:00 +02:00
DNS_Mapping.h Use shared_ptrs for DNS_Mapping objects 2022-04-22 13:10:37 -07:00
DNS_Mgr.cc Allow async DNS responses with zero TTLs to be considered valid after expriation 2023-02-21 12:27:57 -07:00
DNS_Mgr.h GH-2136: Clean up DNS_Mgr before shutting down 2022-06-01 09:22:29 -07:00
EquivClass.cc clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
EquivClass.h Reformat the world 2021-09-16 15:35:39 -07:00
event.bif Expand docstrings of file_new and file_over_new_connection events 2023-01-09 19:06:27 -08:00
Event.cc Spelling src 2022-11-09 12:08:15 -05:00
Event.h Reformat the world 2021-09-16 15:35:39 -07:00
EventHandler.cc EventHandler: Use telemetry framework for EventHandler.call_count 2023-02-22 12:10:10 +01:00
EventHandler.h EventHandler: Use telemetry framework for EventHandler.call_count 2023-02-22 12:10:10 +01:00
EventLauncher.cc Minor fixes for build problems after reformatting 2021-09-16 15:36:09 -07:00
EventLauncher.h Minor fixes for build problems after reformatting 2021-09-16 15:36:09 -07:00
EventRegistry.cc EventRegistry/Func: Disable events when all bodies are disabled 2023-01-05 12:03:58 +01:00
EventRegistry.h Spelling src 2022-11-09 12:08:15 -05:00
EventTrace.cc EventTrace: take size_t as a constructor argument instead of int 2023-02-22 16:39:54 -07:00
EventTrace.h EventTrace: take size_t as a constructor argument instead of int 2023-02-22 16:39:54 -07:00
Expr.cc Skip somer error reporting when the record type has errors 2023-01-27 20:49:22 +01:00
Expr.h Merge remote-tracking branch 'jsoref/spelling-src' 2022-11-11 12:49:15 -07:00
File.cc Fix compiler warning from applied patch 2022-11-10 13:37:31 -07:00
File.h Fix a bunch of missing class member initializations 2023-01-27 13:03:18 -07:00
Flare.cc Clang format again but now with v13.0.1 2022-11-09 18:56:00 +02:00
Flare.h Rewrote usages of define(_MSC_VER) to ifdef _MSC_VER 2022-11-09 18:56:00 +02:00
Frag.cc Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
Frag.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
Frame.cc better error reporting when ZAM code calls a function 2023-02-09 11:24:35 -08:00
Frame.h better error reporting when ZAM code calls a function 2023-02-09 11:24:35 -08:00
Func.cc Func: Use std::stable_sort() for sorting bodies by priority 2022-12-09 15:34:54 +01:00
Func.h EventRegistry/Func: Disable events when all bodies are disabled 2023-01-05 12:03:58 +01:00
Hash.cc HashKey: Do not call Describe() unconditionally in DEBUG mode 2023-02-14 10:52:54 +01:00
Hash.h Fix a bunch of missing class member initializations 2023-01-27 13:03:18 -07:00
ID.cc ID: Add AddAttr() helper 2022-12-02 18:06:39 +01:00
ID.h Remove unnecessary virtual specifiers from final classes 2023-01-27 13:03:18 -07:00
input.h parse.y/directives: Reject directives as statements 2022-08-26 09:42:50 +02:00
IntrusivePtr.h Fixed initial CR comments 2022-11-09 18:54:42 +02:00
IntSet.cc Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
IntSet.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
IP.cc IP_Hdr: take length value as uint64_t instead of int 2023-02-22 16:39:54 -07:00
IP.h IP_Hdr: take length value as uint64_t instead of int 2023-02-22 16:39:54 -07:00
IPAddr.cc Deprecate bro_inet_ntop.{c,h} 2022-07-12 12:01:23 -07:00
IPAddr.h Remove other general deprecations 2022-06-30 19:17:13 +00:00
List.cc Fix a few minor int pointer value initializations 2023-01-27 13:03:18 -07:00
List.h Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
main.cc Fixes to support the Npcap library on Windows 2023-01-11 11:42:58 -07:00
make_dbg_constants.py Format Python scripts with yapf. 2021-11-24 23:13:24 +01:00
module_util.cc module_util: Change streq helper method to just return bool 2023-02-22 16:39:54 -07:00
module_util.h updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
net_util.cc clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
net_util.h Re-enable the float/double versions of hton{d,f} on Windows 2023-01-19 09:13:33 -07:00
NetVar.cc Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
NetVar.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
NFA.cc Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
NFA.h Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
Notifier.cc Reformat the world 2021-09-16 15:35:39 -07:00
Notifier.h Spelling src 2022-11-09 12:08:15 -05:00
Obj.cc Compile Zeek with MSVC 2022-11-09 18:15:30 +02:00
Obj.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
OpaqueVal.cc Partially revert OpenSSL hashing changes 2022-05-17 08:52:06 +00:00
OpaqueVal.h Merge remote-tracking branch 'microsoft/master' 2022-11-11 15:23:21 -07:00
option.bif option.bif: Short-circuit option changes when terminating 2022-07-29 18:22:03 +02:00
Options.cc Add zeek -V/--build-info 2023-02-13 12:23:29 +01:00
Options.h Add zeek -V/--build-info 2023-02-13 12:23:29 +01:00
Overflow.cc Reformat the world 2021-09-16 15:35:39 -07:00
Overflow.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
PacketFilter.cc Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn 2021-11-23 19:36:49 -07:00
PacketFilter.h Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn 2021-11-23 19:36:49 -07:00
parse.y parse.y: Improve error reporting of type redef 2023-02-21 11:58:33 +01:00
Pipe.cc Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
Pipe.h Spelling src 2022-11-09 12:08:15 -05:00
PolicyFile.cc Compile Zeek with MSVC 2022-11-09 18:15:30 +02:00
PolicyFile.h updated Bro->Zeek in comments in the source tree 2022-01-24 14:26:20 -08:00
PrefixTable.cc clang-format: Set penalty for breaking after assignment operator 2021-09-27 10:49:48 -07:00
PrefixTable.h Move 3rdparty source files to 3rdparty/ 2021-11-09 07:20:18 +01:00
PriorityQueue.cc Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
PriorityQueue.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
RandTest.cc A bunch of other minor issues reported by PVS-Studio 2023-01-27 13:03:52 -07:00
RandTest.h Fix a bunch of missing class member initializations 2023-01-27 13:03:18 -07:00
re-parse.y Add support for /s modifier to RE matcher and parser 2022-08-02 11:31:57 -07:00
re-scan.l Include stdint.h early in flex files to prevent redefinition of int type macros 2023-02-22 16:39:54 -07:00
RE.cc Add support for /s modifier to RE matcher and parser 2022-08-02 11:31:57 -07:00
RE.h Spelling src 2022-11-09 12:08:15 -05:00
Reassem.cc clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
Reassem.h Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
reporter.bif Convert Dictionary types to be templated classes 2022-07-05 13:33:34 -07:00
Reporter.cc GH-2641: Lazy-load syslog to avoid creating bro.log on Windows 2023-01-19 09:13:33 -07:00
Reporter.h GH-2641: Lazy-load syslog to avoid creating bro.log on Windows 2023-01-19 09:13:33 -07:00
rule-parse.y Add missing zeek/ to header includes 2021-01-29 19:16:29 -08:00
rule-scan.l Include stdint.h early in flex files to prevent redefinition of int type macros 2023-02-22 16:39:54 -07:00
Rule.cc clang-format: Force zeek-config.h to be earlier in the config ordering 2021-09-25 11:52:55 -07:00
Rule.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
RuleAction.cc Remove uses of deprecated Tag types 2021-11-23 19:36:49 -07:00
RuleAction.h Remove separate Tag types, note breaking change in NEWS 2021-12-06 11:25:13 -07:00
RuleCondition.cc ID: Add AddAttr() helper 2022-12-02 18:06:39 +01:00
RuleCondition.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
RuleMatcher.cc Spelling src 2022-11-09 12:08:15 -05:00
RuleMatcher.h Spelling src 2022-11-09 12:08:15 -05:00
RunState.cc Remove unneeded forward-declaration of select() 2022-11-14 09:13:31 -07:00
RunState.h Add bare_mode bif. 2022-05-16 09:07:11 +02:00
scan.l Include stdint.h early in flex files to prevent redefinition of int type macros 2023-02-22 16:39:54 -07:00
ScannedFile.cc Reduce startup time on Windows by using std::filesystem::canonical 2023-01-19 09:13:33 -07:00
ScannedFile.h Reduce startup time on Windows by using std::filesystem::canonical 2023-01-19 09:13:33 -07:00
Scope.cc Fix recent Coverity findings 2022-10-12 15:56:03 -05:00
Scope.h fix for deprecated when's where the inner frame is larger than the outer frame 2022-09-25 19:55:47 -07:00
ScriptCoverageManager.cc address some holes in script coverage 2022-05-03 10:47:07 -07:00
ScriptCoverageManager.h Spelling src 2022-11-09 12:08:15 -05:00
ScriptProfile.cc fix for crash when specifying an unwriteable file to --profile-scripts (GH-2645) 2023-01-08 18:03:18 -08:00
ScriptProfile.h Spelling src 2022-11-09 12:08:15 -05:00
ScriptValidation.cc Removed const, Windows build is now working 2022-11-10 19:04:37 +02:00
ScriptValidation.h parse.y: Traverse AST post parsing to detect break/next usage issues 2022-10-28 12:53:37 +02:00
SerializationFormat.cc Fixing some issues from rebasing 2022-11-09 18:16:13 +02:00
SerializationFormat.h Fixing some issues from rebasing 2022-11-09 18:16:13 +02:00
SmithWaterman.cc Spelling src 2022-11-09 12:08:15 -05:00
SmithWaterman.h Reformat the world 2021-09-16 15:35:39 -07:00
Span.h Fix some member-variable shadowing issues 2023-01-27 13:03:19 -07:00
stats.bif Minor renaming changes to event handler stats bif, plus a test 2022-11-14 09:13:31 -07:00
Stats.cc Remove deprecated MemoryAllocation() methods and related code 2022-06-30 18:56:52 +00:00
Stats.h Code modernization: Convert from deprecated C standard library headers 2022-06-27 09:47:31 -07:00
Stmt.cc Fix a few minor int pointer value initializations 2023-01-27 13:03:18 -07:00
Stmt.h parse.y/directives: Reject directives as statements 2022-08-26 09:42:50 +02:00
StmtBase.h parse.y/directives: Reject directives as statements 2022-08-26 09:42:50 +02:00
StmtEnums.h Reformat the world 2021-09-16 15:35:39 -07:00
strings.bif Add max_size argument for find_all/find_all_ordered BIFs 2023-02-21 12:27:54 -07:00
Tag.cc GH-1873: Deprecate the tag types differently to avoid type clashes 2021-12-01 09:43:28 -07:00
Tag.h GH-1873: Deprecate the tag types differently to avoid type clashes 2021-12-01 09:43:28 -07:00
Timer.cc TimerMgr: Add back max_timer_expires=0 special case 2022-11-27 15:02:14 +01:00
Timer.h TimerMgr: Add back max_timer_expires=0 special case 2022-11-27 15:02:14 +01:00
Traverse.cc Reformat the world 2021-09-16 15:35:39 -07:00
Traverse.h broader support for AST traversal, including Attr and Attributes objects 2022-05-26 17:38:34 -07:00
TraverseTypes.h broader support for AST traversal, including Attr and Attributes objects 2022-05-26 17:38:34 -07:00
Trigger.cc Add trigger_mgr to iosource_mgr later during startup 2023-03-06 13:12:45 -07:00
Trigger.h Add trigger_mgr to iosource_mgr later during startup 2023-03-06 13:12:45 -07:00
TunnelEncapsulation.cc Reformat the world 2021-09-16 15:35:39 -07:00
TunnelEncapsulation.h Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn 2021-11-23 19:36:49 -07:00
Type.cc Type/is_supported_index_type: Deal with recursive record types 2023-02-17 17:35:05 +01:00
Type.h use a subclass of TableType for incremental construction of compiled scripts 2023-03-08 10:19:21 +01:00
types.bif GH-1517: Add Geneve decap support 2021-04-27 11:21:29 +02:00
UID.cc Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
UID.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00
util-config.h.in Additional Bro to Zeek renaming 2019-05-19 16:51:36 -05:00
util.cc A bunch of other minor issues reported by PVS-Studio 2023-01-27 13:03:52 -07:00
util.h Make sure the DEBUG flag is defined when building in debug mode 2023-01-19 09:13:33 -07:00
Val.cc Merge remote-tracking branch 'origin/topic/awelzel/propagate-on-change-through-copy' 2023-02-17 17:38:37 +01:00
Val.h Fix for EnumVal's returning their underlying value 2023-03-08 10:10:24 +01:00
Var.cc Reintroduce event groups 2022-10-25 18:03:26 +02:00
Var.h Reintroduce event groups 2022-10-25 18:03:26 +02:00
version.c.in zeek-config: Move ZEEK_VERSION* out of zeek-config.h 2023-02-22 16:48:39 +01:00
WeirdState.cc Reformat the world 2021-09-16 15:35:39 -07:00
WeirdState.h Reformat the world 2021-09-16 15:35:39 -07:00
zeek-affinity.cc clang-format: Other include ordering changes 2021-09-27 10:49:48 -07:00
zeek-affinity.h Reformat the world 2021-09-16 15:35:39 -07:00
zeek-bif.h Reformat the world 2021-09-16 15:35:39 -07:00
zeek-setup.cc Add trigger_mgr to iosource_mgr later during startup 2023-03-06 13:12:45 -07:00
zeek-setup.h Reformat the world 2021-09-16 15:35:39 -07:00
zeek.bif Add BIF have_spicy_analyzers(). 2023-02-03 13:47:26 +01:00
zeek.pac Add GTPv1 packet analyzer, disable old analyzer 2021-11-23 19:36:50 -07:00
ZeekArgs.cc Reformat the world 2021-09-16 15:35:39 -07:00
ZeekArgs.h Reformat the world 2021-09-16 15:35:39 -07:00
ZeekList.h Reformat the world 2021-09-16 15:35:39 -07:00
ZeekString.cc A bunch of other minor issues reported by PVS-Studio 2023-01-27 13:03:52 -07:00
ZeekString.h Spelling src 2022-11-09 12:08:15 -05:00
ZVal.cc remove deprecated union and timer types, addressing #1898 2022-02-19 19:17:51 +13:00
ZVal.h Deprecate bro_int_t and bro_uint_t 2022-07-12 12:01:23 -07:00