[Bro-Dev] [JIRA] (BIT-1254) file analysis framework sometimes returns hashes despite missing packets

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Thu Sep 18 12:23:07 PDT 2014


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

Jon Siwek commented on BIT-1254:
--------------------------------

{quote}
However there are not as many bytes as the Content-Length indicates, so it is definitly truncated. Should I get a hash if this happens?
{quote}

I'm kind of inclined to leave it and let the user decide whether to trust the hash in the case that there's no missing_bytes and the total_bytes field is set, but not equal to seen_bytes.  But open to opinions.

> file analysis framework sometimes returns hashes despite missing packets
> ------------------------------------------------------------------------
>
>                 Key: BIT-1254
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1254
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master, 2.3
>         Environment: CentOS 6
>            Reporter: Jimmy Jones
>         Attachments: sample-3streams-hole.pcap
>
>
> Putting the attached sample (3 streams, each with missing packets) though the file analysis framework, in files.log I see hashes for one streams but not the other 2. Should I get any hashes if there are missing packets?
> bro -r sample-3streams-hole.pcap frameworks/files/hash-all-files.bro



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


More information about the bro-dev mailing list