[Bro-Dev] [JIRA] (BIT-1198) Input framework's READER_ASCII can't handle DOS files

grigorescu (JIRA) jira at bro-tracker.atlassian.net
Mon Jun 2 16:37:07 PDT 2014


grigorescu created BIT-1198:
-------------------------------

             Summary: Input framework's READER_ASCII can't handle DOS files
                 Key: BIT-1198
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1198
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: git/master
            Reporter: grigorescu
            Priority: Low
         Attachments: test.intel

DOS files use CR+LF for newlines, while Linux uses only LF. I've heard of a number of cases where people generate files designed to be read with the input framework on Windows (e.g. exporting from Excel). It'd be nice if we could support that.

Trying to load the attached sample file results in:

{code}
error: test.intel/Input::READER_ASCII: Did not find requested field meta.source in input data file test.intel.
error: test.intel/Input::READER_ASCII: Init: cannot open test.intel; headers are incorrect
error: test.intel/Input::READER_ASCII: Init failed
error: test.intel/Input::READER_ASCII: terminating thread
{code}



--
This message was sent by Atlassian JIRA
(v6.3-OD-06-017#6327)


More information about the bro-dev mailing list