base/utils/conn-ids.zeek

GLOBAL

Simple functions for generating ASCII strings from connection IDs.

Namespace

GLOBAL

Summary

Functions

directed_id_string: function

Calls id_string or reverse_id_string if the second argument is T or F, respectively.

id_string: function

Takes a conn_id record and returns a string representation with the general data flow appearing to be from the connection originator on the left to the responder on the right.

reverse_id_string: function

Takes a conn_id record and returns a string representation with the general data flow appearing to be from the connection responder on the right to the originator on the left.

Detailed Interface

Functions

directed_id_string
Type

function (id: conn_id, is_orig: bool) : string

Calls id_string or reverse_id_string if the second argument is T or F, respectively.

id_string
Type

function (id: conn_id) : string

Takes a conn_id record and returns a string representation with the general data flow appearing to be from the connection originator on the left to the responder on the right.

reverse_id_string
Type

function (id: conn_id) : string

Takes a conn_id record and returns a string representation with the general data flow appearing to be from the connection responder on the right to the originator on the left.