# \[Bro-Commits\] \[git/bro\] master: Modification to the Communication framework API. (da9b8cc)

**URL:** <https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057>\
**Category:** Development\
**Tags:** development\
**Created:** [October 10, 2011, 10:06pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057 "2011-10-10T22:06:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Thayer1](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daniel\_Thayer1](https://community.zeek.org/u/Daniel_Thayer1)\
**Post date:** [October 10, 2011, 10:06pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/1 "2011-10-10T22:06:04Z")

</div>

It seems that this change causes Bro to fail to start (due to 'listen\_port\_clear'  
in aux/broctl/BroControl/install.py)

-Daniel

---

<div class="post-metadata">

**Author:** ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)\
**Post date:** [October 11, 2011, 3:39am UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/2 "2011-10-11T03:39:15Z")

</div>

Did you make sure the submodules are all at the correct state? Try

&nbsp;&nbsp;&nbsp;&nbsp;git submodule update --recursive --init

Robin

---

<div class="post-metadata">

**Author:** ![Daniel\_Thayer1](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Daniel\_Thayer1](https://community.zeek.org/u/Daniel_Thayer1)\
**Post date:** [October 11, 2011, 3:13pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/3 "2011-10-11T15:13:59Z")

</div>

Yes, I tried that (didn't seem to make any difference).  
I also started with a fresh copy of the sources:

$ git clone --recursive ssh://git@git.bro-ids.org/bro  
$ grep -R listen\_port\_clear bro  
bro/aux/broctl/BroControl/install.py: print \>\>out, "redef Communication::listen\_port\_clear = %s/tcp;" % nextPort(manager)

After building and installing Bro, I did this:

$ broctl  
[BroControl] \> install  
[BroControl] \> start  
starting bro ...  
bro terminated immediately after starting; check output with "diag"  
[BroControl] \> diag

==== stderr.log  
error in /myprefix/spool/policy/auto/standalone-layout.bro, line 2: "redef" used but not previously defined (Communication::listen\_port\_clear)

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [October 11, 2011, 3:58pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/4 "2011-10-11T15:58:23Z")

</div>

Ugh, sorry about that. It'll be fixed when you pull and update your submodules. Thanks for catching that.  
&nbsp;&nbsp;  
&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)\
**Post date:** [October 11, 2011, 5:35pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/5 "2011-10-11T17:35:46Z")

</div>

Now I'm wondering why it was working fine for me ... Odd.

Robin

---

<div class="post-metadata">

**Author:** ![Jonathan\_Siwek](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@Jonathan\_Siwek](https://community.zeek.org/u/Jonathan_Siwek)\
**Post date:** [October 11, 2011, 5:42pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/6 "2011-10-11T17:42:59Z")

</div>

> > Ugh, sorry about that. It'll be fixed when you pull and update your submodules. Thanks for catching that.
> 
> Now I'm wondering why it was working fine for me ... Odd.

Maybe you hadn't done a `broctl install` yet and so everything still consistently used listen\_port\_clear?

- Jon

---

<div class="post-metadata">

**Author:** ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)\
**Post date:** [October 11, 2011, 5:47pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/7 "2011-10-11T17:47:35Z")

</div>

Actually I was pretty sure I did, but well, perhaps not.

Robin

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [October 11, 2011, 6:35pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/8 "2011-10-11T18:35:47Z")

</div>

I thought I did too. It's fixed now at least.

.Seth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:39pm UTC](https://community.zeek.org/t/bro-commits-git-bro-master-modification-to-the-communication-framework-api-da9b8cc/2057/9 "2022-05-06T15:39:53Z")

</div>


