[Bro-Dev] [JIRA] (BIT-161) In standalone mode, broctl attempts to connect to wrong port.

Daniel Thayer (JIRA) jira at bro-tracker.atlassian.net
Tue Feb 11 18:03:37 PST 2014


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

Daniel Thayer commented on BIT-161:
-----------------------------------

Why are there three different default values for Communication::listen_port
in Bro 2.2?  (47757 in base/frameworks/communication/main.bro, 
47758 in various broccoli test scripts such as broping, and broctl sets a value of 47760)


> In standalone mode, broctl attempts to connect to wrong port.
> -------------------------------------------------------------
>
>                 Key: BIT-161
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-161
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: BroControl
>    Affects Versions: 1.5.2
>            Reporter: Seth Hall
>            Assignee: Daniel Thayer
>            Priority: Low
>              Labels: warning
>
> I have a standalone instance setup and the bro process is holding open port 47758/tcp, but the broctl interface is attempting to connect to port 47760/tcp when it tries to do anything with broccoli.
> {noformat}
> [BroControl] > netstats
>        bro: <error: cannot connect to 127.0.0.1:47760>
> {noformat}
> {noformat}
> seth at Blake3:~$ sudo lsof -i | grep LISTEN
> bro       74156           root    0u  IPv4 0xb3ad270      0t0    TCP *:47758 (LISTEN)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2-OD-09-036#6252)


More information about the bro-dev mailing list