[Bro-Dev] [JIRA] (BIT-1225) ReadFile API: topic/seth/readfile

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Tue Aug 5 09:15:07 PDT 2014

    [ https://bro-tracker.atlassian.net/browse/BIT-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403#comment-17403 ] 

Jon Siwek commented on BIT-1225:

In order to make it possible to detect errors reading the file, Seth said he'd reimplement this to use the Exec module internally -- return the stdout from `cat $filename` and also look for abnormal exit status to detect read errors (e.g. permissions, nonexisting).

> ReadFile API: topic/seth/readfile
> ---------------------------------
>                 Key: BIT-1225
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1225
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Seth Hall
>            Assignee: Seth Hall
>             Fix For: 2.4
> The ReadFile module provides a simplified API for reading files off of disk.  

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list