[Bro] BRO_CFLAG_RECONNECT error

abhall1 abhall1 at yahoo.com
Sun May 10 07:09:12 PDT 2015


    
With everything being new, what version of Python is Bro running as?  I usually change the python declaration in bro/bin/bro,/bro/bin/broctl, and /bro/share/broctl/scripts/stats-2-csv to python2 because they begin with python and the python wrapper will try send it to the system wide python level which may be a python3 version and you will have problems.
Hope that helps!

Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone

-------- Original message --------
From: bro-request at bro.org 
Date: 05/09/2015  3:00 PM  (GMT-05:00) 
To: bro at bro.org 
Subject: Bro Digest, Vol 109, Issue 5 

Send Bro mailing list submissions to
	bro at bro.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
or, via email, send a message with subject or body 'help' to
	bro-request at bro.org

You can reach the person managing the list at
	bro-owner at bro.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bro digest..."


Today's Topics:

   1. Bro 2.4 beta available (Johanna Amann)
   2.  Bro + elasticsearch + kibana on Docker (Daniel Guerra)
   3. BRO_CFLAG_RECONNECT error (Canton Weston)
   4. Re: BRO_CFLAG_RECONNECT error (Daniel Thayer)
   5. Re: BRO_CFLAG_RECONNECT error (Daniel Thayer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 8 May 2015 13:37:14 -0700
From: Johanna Amann <johanna at icir.org>
Subject: [Bro] Bro 2.4 beta available
To: bro at bro.org
Message-ID: <20150508203714.GA30223 at wifi86.sys.ICSI.Berkeley.EDU>
Content-Type: text/plain; charset=us-ascii

The beta version for Bro 2.4 is now available for testing and can be
downloaded at:

         https://bro.org/download/index.html

Please note that (for the first time for a beta) binary packages are also
available. For more information see http://blog.bro.org/2015/05/bro-24-beta.html
as well as the NEWS/CHANGES files.

Feel free to use this mailing list or the bug tracker (tracker.bro.org) to
provide feedback or report problems.

Johanna


------------------------------

Message: 2
Date: Sat, 9 May 2015 01:22:04 +0200
From: Daniel Guerra <daniel.guerra69 at gmail.com>
Subject: [Bro]  Bro + elasticsearch + kibana on Docker
To: bro at bro.org
Message-ID: <7E283136-32AD-4348-8FEF-C67F410033C1 at gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

I have place an image on docker which runs the git from a few days
ago. Its an experiment to use workers and log to elasticsearch and
view it in kibana. 
Its in the docker repo
danielguerra/bro-node
https://registry.hub.docker.com/u/danielguerra/bro-node/ <https://registry.hub.docker.com/u/danielguerra/bro-node/>
There is always room for improvement...

Regards,

Daniel
(next is 2.4)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150509/f0eb9e6e/attachment-0001.html 

------------------------------

Message: 3
Date: Fri, 08 May 2015 21:10:23 -0400
From: Canton Weston <cantonweston at gmail.com>
Subject: [Bro] BRO_CFLAG_RECONNECT error
To: bro at bro.org
Message-ID: <554D5E7F.8050400 at gmail.com>
Content-Type: text/plain; charset=utf-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Bro Team.

I had done a fresh pull down of Fedora 21 and wanted to upgrade bro as
well. So I pulled down bro-2.3.2 and compiled.  All went fine and no
errors.  After 'make install' I went to start bro via broctl and got
the following error

Traceback (most recent call last):
  File "/usr/local/bro/bin/broctl", line 962, in <module>
    from BroControl import util
  File "/usr/local/bro/lib/broctl/BroControl/util.py", line 10, in
<module>
    import config
  File "/usr/local/bro/lib/broctl/BroControl/config.py", line 9, in
<module>
    import execute
  File "/usr/local/bro/lib/broctl/BroControl/execute.py", line 17, in
<module>
    import broccoli
  File "/usr/local/bro/lib/broctl/broccoli.py", line 11, in <module>
    class Connection:
  File "/usr/local/bro/lib/broctl/broccoli.py", line 13, in Connection
    def __init__(self, destination, broclass="",
flags=BRO_CFLAG_RECONNECT | BRO_CFLAG_ALWAYS_QUEUE, connect=True):
NameError: name 'BRO_CFLAG_RECONNECT' is not defined


Now I thought this was due to an upgrade issue.  So I deleted
everything in /usr/local/bro and reinstalled.  Unfortunately, still
the same error.  Has anyone encountered this before?  I have had bro
running on Fedora 20 just fine before upgrade so I am wondering what
is afoot here.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVTV5/AAoJEI2M5athlEGVH2QQAKFlc43oLq4j6vG8fbRBgEY+
rx8uGhroG38k5A9n/lC/9uv+LuhIFr1W99ka9LSxGzAhevWjLbrGmkjwZNEbYHyC
Cwv5Wv5OXktnMkr9mH5pQOBce2H9PLQDEWKmTCgUQa49iUbqMkeYLq2mJ/yU9i1X
SdRQcPSTlkzhWonNpx2CDK+v+exhAmQvI2Iy+TzOgUR+G4hxV1tn88R2UtR3+nDs
mU4bDIldhIl6Fp5eBw/j4juNr6hd+5i577ySU6a8+uRv5qgNevMyIYhNRgwDosoe
2W8lpFqQifQNrX1cazLSqm3dJnxMowstmchCl2DI/WMiYjgleYOZ6+pbic7c15ty
JDSr14d4e0XFWsJG9lhT4z7R+PXeW3g88N4m4qEuorAuP4HgK/7CvFt+Lwa28QDq
rhQYKGkMeZfJ7qBE10vDrRrYKRVveIiXGj/5PeJ+5NZ6WO33VbXucU/VBbOdsJF5
iygtJV6oQaxN+uZlEXXBESKkuYrKXBq5VYh6XbYApk46MfkkEVsogNVPoHtqy7fV
QigdFlkNFsZaHfWds/kYbqxzhXw4k+YMi+ZdV7bdZQjrvImC8jvw7Hd9nXtiXEd4
m7w/WDJeXGlDFFrZJADRFbhxsPf8qqigsYpHO0xPO9fFeP3fzytk/dC/rtMLyVDn
7vrHqUr37jf0K7krB3oF
=Qxhe
-----END PGP SIGNATURE-----


------------------------------

Message: 4
Date: Fri, 8 May 2015 21:46:26 -0500
From: Daniel Thayer <dnthayer at illinois.edu>
Subject: Re: [Bro] BRO_CFLAG_RECONNECT error
To: Canton Weston <cantonweston at gmail.com>, <bro at bro.org>
Message-ID: <554D7502.1010602 at illinois.edu>
Content-Type: text/plain; charset="windows-1252"; format=flowed

When you compiled Bro, which version of swig was used?



On 05/08/2015 08:10 PM, Canton Weston wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello Bro Team.
>
> I had done a fresh pull down of Fedora 21 and wanted to upgrade bro as
> well. So I pulled down bro-2.3.2 and compiled.  All went fine and no
> errors.  After 'make install' I went to start bro via broctl and got
> the following error
>
> Traceback (most recent call last):
>    File "/usr/local/bro/bin/broctl", line 962, in <module>
>      from BroControl import util
>    File "/usr/local/bro/lib/broctl/BroControl/util.py", line 10, in
> <module>
>      import config
>    File "/usr/local/bro/lib/broctl/BroControl/config.py", line 9, in
> <module>
>      import execute
>    File "/usr/local/bro/lib/broctl/BroControl/execute.py", line 17, in
> <module>
>      import broccoli
>    File "/usr/local/bro/lib/broctl/broccoli.py", line 11, in <module>
>      class Connection:
>    File "/usr/local/bro/lib/broctl/broccoli.py", line 13, in Connection
>      def __init__(self, destination, broclass="",
> flags=BRO_CFLAG_RECONNECT | BRO_CFLAG_ALWAYS_QUEUE, connect=True):
> NameError: name 'BRO_CFLAG_RECONNECT' is not defined
>
>
> Now I thought this was due to an upgrade issue.  So I deleted
> everything in /usr/local/bro and reinstalled.  Unfortunately, still
> the same error.  Has anyone encountered this before?  I have had bro
> running on Fedora 20 just fine before upgrade so I am wondering what
> is afoot here.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJVTV5/AAoJEI2M5athlEGVH2QQAKFlc43oLq4j6vG8fbRBgEY+
> rx8uGhroG38k5A9n/lC/9uv+LuhIFr1W99ka9LSxGzAhevWjLbrGmkjwZNEbYHyC
> Cwv5Wv5OXktnMkr9mH5pQOBce2H9PLQDEWKmTCgUQa49iUbqMkeYLq2mJ/yU9i1X
> SdRQcPSTlkzhWonNpx2CDK+v+exhAmQvI2Iy+TzOgUR+G4hxV1tn88R2UtR3+nDs
> mU4bDIldhIl6Fp5eBw/j4juNr6hd+5i577ySU6a8+uRv5qgNevMyIYhNRgwDosoe
> 2W8lpFqQifQNrX1cazLSqm3dJnxMowstmchCl2DI/WMiYjgleYOZ6+pbic7c15ty
> JDSr14d4e0XFWsJG9lhT4z7R+PXeW3g88N4m4qEuorAuP4HgK/7CvFt+Lwa28QDq
> rhQYKGkMeZfJ7qBE10vDrRrYKRVveIiXGj/5PeJ+5NZ6WO33VbXucU/VBbOdsJF5
> iygtJV6oQaxN+uZlEXXBESKkuYrKXBq5VYh6XbYApk46MfkkEVsogNVPoHtqy7fV
> QigdFlkNFsZaHfWds/kYbqxzhXw4k+YMi+ZdV7bdZQjrvImC8jvw7Hd9nXtiXEd4
> m7w/WDJeXGlDFFrZJADRFbhxsPf8qqigsYpHO0xPO9fFeP3fzytk/dC/rtMLyVDn
> 7vrHqUr37jf0K7krB3oF
> =Qxhe
> -----END PGP SIGNATURE-----
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>


------------------------------

Message: 5
Date: Fri, 8 May 2015 23:16:02 -0500
From: Daniel Thayer <dnthayer at illinois.edu>
Subject: Re: [Bro] BRO_CFLAG_RECONNECT error
To: Canton Weston <cantonweston at gmail.com>, <bro at bro.org>
Message-ID: <554D8A02.1010409 at illinois.edu>
Content-Type: text/plain; charset="windows-1252"; format=flowed

I believe this is an issue with broccoli and newer versions of swig.
This should be fixed in a newer version of Bro (the 2.4 beta was
released today).  Alternatively, if you prefer to use Bro 2.3.2,
then you could copy the files CMakeLists.txt and broccoli.py
from the git repo https://github.com/bro/broccoli-python and
put them in your Bro 2.3.2 source tree (the relative path
is aux/broccoli/bindings/broccoli-python/), then rebuild Bro.



On 05/08/2015 09:52 PM, Canton Weston wrote:
> 3.0.5
>
> Sent from my iPad
>
>> On May 8, 2015, at 10:46 PM, Daniel Thayer <dnthayer at illinois.edu> wrote:
>>
>> When you compiled Bro, which version of swig was used?
>>
>>
>>
>>> On 05/08/2015 08:10 PM, Canton Weston wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>> Hello Bro Team.
>>>
>>> I had done a fresh pull down of Fedora 21 and wanted to upgrade bro as
>>> well. So I pulled down bro-2.3.2 and compiled.  All went fine and no
>>> errors.  After 'make install' I went to start bro via broctl and got
>>> the following error
>>>
>>> Traceback (most recent call last):
>>>    File "/usr/local/bro/bin/broctl", line 962, in <module>
>>>      from BroControl import util
>>>    File "/usr/local/bro/lib/broctl/BroControl/util.py", line 10, in
>>> <module>
>>>      import config
>>>    File "/usr/local/bro/lib/broctl/BroControl/config.py", line 9, in
>>> <module>
>>>      import execute
>>>    File "/usr/local/bro/lib/broctl/BroControl/execute.py", line 17, in
>>> <module>
>>>      import broccoli
>>>    File "/usr/local/bro/lib/broctl/broccoli.py", line 11, in <module>
>>>      class Connection:
>>>    File "/usr/local/bro/lib/broctl/broccoli.py", line 13, in Connection
>>>      def __init__(self, destination, broclass="",
>>> flags=BRO_CFLAG_RECONNECT | BRO_CFLAG_ALWAYS_QUEUE, connect=True):
>>> NameError: name 'BRO_CFLAG_RECONNECT' is not defined
>>>
>>>
>>> Now I thought this was due to an upgrade issue.  So I deleted
>>> everything in /usr/local/bro and reinstalled.  Unfortunately, still
>>> the same error.  Has anyone encountered this before?  I have had bro
>>> running on Fedora 20 just fine before upgrade so I am wondering what
>>> is afoot here.
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v2
>>>
>>> iQIcBAEBCAAGBQJVTV5/AAoJEI2M5athlEGVH2QQAKFlc43oLq4j6vG8fbRBgEY+
>>> rx8uGhroG38k5A9n/lC/9uv+LuhIFr1W99ka9LSxGzAhevWjLbrGmkjwZNEbYHyC
>>> Cwv5Wv5OXktnMkr9mH5pQOBce2H9PLQDEWKmTCgUQa49iUbqMkeYLq2mJ/yU9i1X
>>> SdRQcPSTlkzhWonNpx2CDK+v+exhAmQvI2Iy+TzOgUR+G4hxV1tn88R2UtR3+nDs
>>> mU4bDIldhIl6Fp5eBw/j4juNr6hd+5i577ySU6a8+uRv5qgNevMyIYhNRgwDosoe
>>> 2W8lpFqQifQNrX1cazLSqm3dJnxMowstmchCl2DI/WMiYjgleYOZ6+pbic7c15ty
>>> JDSr14d4e0XFWsJG9lhT4z7R+PXeW3g88N4m4qEuorAuP4HgK/7CvFt+Lwa28QDq
>>> rhQYKGkMeZfJ7qBE10vDrRrYKRVveIiXGj/5PeJ+5NZ6WO33VbXucU/VBbOdsJF5
>>> iygtJV6oQaxN+uZlEXXBESKkuYrKXBq5VYh6XbYApk46MfkkEVsogNVPoHtqy7fV
>>> QigdFlkNFsZaHfWds/kYbqxzhXw4k+YMi+ZdV7bdZQjrvImC8jvw7Hd9nXtiXEd4
>>> m7w/WDJeXGlDFFrZJADRFbhxsPf8qqigsYpHO0xPO9fFeP3fzytk/dC/rtMLyVDn
>>> 7vrHqUr37jf0K7krB3oF
>>> =Qxhe
>>> -----END PGP SIGNATURE-----
>>> _______________________________________________
>>> Bro mailing list
>>> bro at bro-ids.org
>>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>>>


------------------------------

_______________________________________________
Bro mailing list
Bro at bro.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro


End of Bro Digest, Vol 109, Issue 5
***********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150510/a591b50e/attachment-0001.html 


More information about the Bro mailing list