base/protocols/quic/main.zeek
- QUIC
Implements base functionality for QUIC analysis. Generates quic.log.
- Namespace:
QUIC
- Imports:
base/frameworks/notice/weird.zeek, base/protocols/conn/removal-hooks.zeek, base/protocols/quic/consts.zeek
Summary
Runtime Options
The maximum length of the history field. |
Redefinable Options
Well-known ports for DNS-over-QUIC. |
|
Maximum number of QUIC::discarded packet() events to generate. |
|
Well-known ports for QUIC. |
Types
Redefinitions
|
Events
Hooks
Detailed Interface
Runtime Options
- QUIC::max_history_length
-
The maximum length of the history field.
Redefinable Options
- QUIC::doq_ports
-
Well-known ports for DNS-over-QUIC.
Currently not added to likely_server_ports to avoid spurious originator/responder changes in the private testing baseline.
You can always add these to likely_server_ports in your local.zeek file for your environment if needed:
redef likely_server_ports += { 853/udp, 784/udp };
- QUIC::max_discarded_packet_events
-
Maximum number of QUIC::discarded packet() events to generate. Set to 0 for unlimited, -1 for disabled.
- QUIC::quic_ports
-
Well-known ports for QUIC.
Types
- QUIC::Info
- Type:
- Fields:
-
-
version:
string&log QUIC version as found in the first INITIAL packet from the client. This will often be “1” or “quicv2”, but see the
QUIC::version_stringstable for details.
-
client_initial_dcid:
string&log&optional First Destination Connection ID used by client. This is random and unpredictable, but used for packet protection by client and server.
-
server_scid:
string&log&optional Server chosen Connection ID usually from server’s first INITIAL packet. This is to be used by the client in subsequent packets.
-
server_name:
string&log&optional Server name extracted from SNI extension in ClientHello packet if available.
-
client_protocol:
string&log&optional First protocol extracted from ALPN extension in ClientHello packet if available.
-
history:
string&log&default=""&optional QUIC history.
Letters have the following meaning with client-sent letters being capitalized:
Letter
Meaning
I
INIT packet
H
HANDSHAKE packet
Z
0RTT packet
R
RETRY packet
C
CONNECTION_CLOSE packet
S
SSL Client/Server Hello
U
Unfamiliar QUIC version
X
Discarded packet after successful decryption of INITIAL packets
O
Short header packets in binary logarithmic fashion
-
version:
Events
- QUIC::log_quic
- Type:
event(rec:QUIC::Info)