[Bro-Dev] [JIRA] (BIT-1545) SSH connection not recording entire flow correctly

Aaron Eppert (JIRA) jira at bro-tracker.atlassian.net
Mon Mar 7 11:32:01 PST 2016


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

Aaron Eppert commented on BIT-1545:
-----------------------------------

There may be an instance where completely disabling processing still makes sense, in an extreme shunting scenario for instance. A thin wrapper around disable_analyzer would be likely the cleanest way of implementing this with the appropriate desired result, which is why I implemented the suggested change that way. I do that the same for several internal shunting mechanisms. I still want byte counts, clearly, but the analyzer in those instances are no longer helpful.

It is definitely a global issue, though.

> SSH connection not recording entire flow correctly
> --------------------------------------------------
>
>                 Key: BIT-1545
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1545
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master, 2.4
>         Environment: Ubuntu 14.04 LTS, myricom 10g capture card
>            Reporter: Jason Carr
>              Labels: logging
>             Fix For: 2.5
>
>         Attachments: ssh-port22.pcap
>
>
> Making a connection out to a server via ssh does not write to conn.log while running with broctl but it does log to weird.log and ssh.log but nothing to conn.log.
> While running bro -C -r ssh-port22.pcap, a partial log entry is listed with an incorrect and very low number of packets and bytes.
> It was determined that disabling the SSH analyzer gets the correct conn.log output. 
> Analyzer::disable_analyzer(Analyzer::ANALYZER_SSH);	
> Testing on try.bro.org, 2.4+ and master has this problem but 2.3 and below it works as expected.
> Attached is the SSH connection outbound pcap.



--
This message was sent by Atlassian JIRA
(v7.2.0-OD-03-012#72000)


More information about the bro-dev mailing list