base/utils/conn-ids.bro

GLOBAL

Simple functions for generating ASCII strings from connection IDs.

Namespace:GLOBAL
Source File:/scripts/base/utils/conn-ids.bro

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.


Next Page

base/utils/dir.bro

Previous Page

base/utils/addrs.bro

Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.