OCSP: split into two analysers in scriptland.

Instead of having an additional string argument specifying if we are
sending a request or a reply, we now have an ANALYZER_OCSP_REQUEST and
an ANALYZER_OCSP_REPLY
This commit is contained in:
Johanna Amann 2017-02-09 16:14:08 -08:00
parent e1bcc4509f
commit 1b19ab78b6
4 changed files with 19 additions and 25 deletions

View file

@ -13,7 +13,7 @@ export {
ocsp_type: string &optional;
};
## ocsp logging
## ocsp logging
redef enum Log::ID += { LOG };
## type for pending ocsp request
@ -23,7 +23,7 @@ export {
## one ocsp request record
type Info_req: record {
## time for the request
ts: time;
ts: time;
## file id for this request or
## hash of the GET url if it's GET request
id: string &log &optional;