[Bro-Dev] [JIRA] (BIT-1199) Better error messages for input file errors in READER_ASCII
Johanna Amann (JIRA)
jira at bro-tracker.atlassian.net
Tue Mar 17 11:28:00 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20004#comment-20004 ]
Johanna Amann commented on BIT-1199:
------------------------------------
I will take a look. It might be possible to output the file name and the offending entry - line numbers are sadly not available in the core.
> Better error messages for input file errors in READER_ASCII
> -----------------------------------------------------------
>
> Key: BIT-1199
> URL: https://bro-tracker.atlassian.net/browse/BIT-1199
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Reporter: grigorescu
> Assignee: Johanna Amann
> Priority: Low
> Fix For: 2.4
>
> Attachments: test.intel
>
>
> This came up on the mailing list a few weeks ago. If one tries to load the attached file as Intelligence, Bro will error out, with:
> {code}
> internal error: Value not found in enum mappimg. Module: GLOBAL, var: , var size: 0
> {code}
> The attached file contains an extra tab after downloader.com.
> It'd be nice if Bro would tell you that this was an issue with the input reader, which file it occurred in, and a line number.
> I think generally speaking, if there's an issue with an input file, it'd be nice to know the line number.
> (Also, there's a typo in mappimg in the error message that's currently displayed).
--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)
More information about the bro-dev
mailing list