[Bro-Dev] #374: Add type testing operator
Bro Tracker
bro at tracker.icir.org
Fri Jan 28 11:14:57 PST 2011
#374: Add type testing operator
-----------------------------+--------------------
Reporter: seth | Owner:
Type: Feature Request | Status: new
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version:
Keywords: |
-----------------------------+--------------------
This is needed for generic filtering of log records in the logging
framework. Initial discussions have used a syntax like this:
{{{
function generic_outbound(rec: any)
{
rec$?<conn_id>cid
...
}}}
That syntax would check that the record type instance 'rec' has a field
named 'cid' with the type 'conn_id'.
--
Ticket URL: <http://tracker.icir.org/bro/ticket/374>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list