[Bro-Dev] [JIRA] (BIT-1294) Input framework: table name truncated at underscore

Wouter Clarie (JIRA) jira at bro-tracker.atlassian.net
Thu Nov 27 07:50:07 PST 2014


Wouter Clarie created BIT-1294:
----------------------------------

             Summary: Input framework: table name truncated at underscore
                 Key: BIT-1294
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1294
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: git/master
            Reporter: Wouter Clarie


When loading a table in the input framework, e.g.:

    Input::add_table([  $source="/tmp/sdb_servers",
                                                $name="sdb_servers",
                                                $idx=sdb_servers_idx,
                                                $val=sdb_servers_val,
                                                $destination=sdb_servers,
                                                $mode=Input::REREAD
                                        ]);

And later on reporting when the input has been fully read:

event Input::end_of_data(name: string, source: string)
        {
        Reporter::info(fmt("Input stream name %s source %s ready", name, source));
        }

This is what ends up in the reporter log:

0.000000	Reporter::INFO	Input stream name sdb source /tmp/sdb_servers ready	<script location redacted>, line 101

So it is truncating the input stream name before the underscore.



--
This message was sent by Atlassian JIRA
(v6.4-OD-09-008#64005)


More information about the bro-dev mailing list