Jeff Barber created BIT-1530:
--------------------------------
Summary: protocol_confirmation event cannot be hooked by plugin
Key: BIT-1530
URL: https://bro-tracker.atlassian.net/browse/BIT-1530
Project: Bro Issue Tracker
Issue Type: Problem
Components: Bro
Affects Versions: 2.4
Reporter: Jeff Barber
The way the 'protocol_confirmation' event is raised bypasses the plugin
event-hook mechanism. Plugin event hooks are triggered via EventMgr.QueueEvent
which is in the usual event generation interface. However,
protocol_confirmation is generated via this code in src/analyzer/Analyzer.cc:
{{
// We immediately raise the event so that the analyzer can quickly
// react if necessary.
::Event* e = new ::Event(protocol_confirmation, vl, SOURCE_LOCAL);
mgr.Dispatch(e);
}}
The EventMgr.Dispatch method doesn't invoke the hook so at present it's not
possible for a plugin to hook this event. It would be nice if this were
orthogonal with other events.
--
This message was sent by Atlassian JIRA
(v7.1.0-OD-05-006#71001)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev