Added protocol description functions that provide a super compressed log representation.

This commit is contained in:
Seth Hall 2013-07-16 12:01:50 -04:00
parent 4dd4c5344e
commit 0bfdcc1fbc
13 changed files with 190 additions and 75 deletions

View file

@ -24,7 +24,8 @@ function get_file_handle(c: connection, is_orig: bool): string
event bro_init() &priority=5
{
Files::register_protocol(Analyzer::ANALYZER_IRC_DATA, IRC::get_file_handle);
Files::register_protocol(Analyzer::ANALYZER_IRC_DATA,
[$get_file_handle = IRC::get_file_handle]);
}
event file_over_new_connection(f: fa_file, c: connection, is_orig: bool) &priority=5