[Bro-Dev] #842: Adding a logging filter without a path hangs bro
Bro Tracker
bro at tracker.bro-ids.org
Wed Jul 25 10:40:44 PDT 2012
#842: Adding a logging filter without a path hangs bro
----------------------+------------------------
Reporter: amannb | Owner:
Type: Problem | Status: new
Priority: High | Milestone: Bro2.1
Component: Bro | Version: git/master
Resolution: | Keywords: beta
----------------------+------------------------
Comment (by jsiwek):
In [2fafadd9300b2abdf9195f7270071d9549850084/bro]:
{{{
#!CommitTicketReference repository="bro"
revision="2fafadd9300b2abdf9195f7270071d9549850084"
Fix differing log filters of streams from writing to same writer/path.
Since WriterFrontend objects are looked up internally by writer type and
path, and they also expect to write consistent field arguments, it could
be the case that more than one filter of a given stream attempts to
write to the same path (derived either from $path or $path_func fields
of the filter) with the same writer type. This won't work, so now
WriterFrontend objects are bound to the filter that instantiated them so
that we can warn about other filters attempting to write to the
conflicting writer/path and the write can be skipped. Remote logs don't
appear to suffer the same issue due to pre-filtering.
Addresses #842.
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/842#comment:3>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list