policy/misc/unknown-protocols.zeek

UnknownProtocol

This script logs information about packet protocols that Zeek doesn’t know how to process. Mostly these come from packet analysis plugins when they attempt to forward to the next analyzer, but they also can originate from non-packet analyzers.

Namespace

UnknownProtocol

Imports

base/frameworks/notice

Summary

Types

UnknownProtocol::Info: record

Redefinitions

Log::ID: enum

Hooks

UnknownProtocol::log_policy: Log::PolicyHook

Detailed Interface

Types

UnknownProtocol::Info
Type

record

ts: time &log

Timestamp for when the measurement occurred.

analyzer: string &log

The string name of the analyzer attempting to forward the protocol.

protocol_id: string &log

The identifier of the protocol being forwarded.

first_bytes: string &log

A certain number of bytes at the start of the unknown protocol’s header.

Hooks

UnknownProtocol::log_policy
Type

Log::PolicyHook