Giter Club home page Giter Club logo

bro-install's Introduction

Bro-Install

An Installation Script for Bro IDS on Debian Based Systems

This script compiles Bro-IDS with PF_RING support on Debian based systems. It will also assist in setting up a clustered configuration.

Please note that this type of installation is intended where performance is key. The typical setup assumes that you have one or more interfaces dedicated to capturing traffic (i.e. receive only). These interfaces will be completely taken over for capturing traffic and won't be able to be used for any other purposes.

  1. Run sudo ./setup.sh. This will install PF_RING to /usr/local/pfring/ and Bro to /usr/local/bro/.
  2. Run sudo gen-node-cfg.sh to automatically generate a node.cfg configuration file for your system.
  3. Edit broctl.cfg in /usr/local/bro/etc to further tune your interfaces for performance. Uncomment the line #interfacesetup.enabled=1 to enable.

Resources:

Verified Systems

This script has been tested on:

  • Ubuntu 16.04 LTS

If you successfully use this script on your system, please submit a PR adding your OS to this list.

bro-install's People

Contributors

ethack avatar kaliregenold avatar lijantropique avatar samuelcarroll avatar william-stearns avatar zalgo2462 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bro-install's Issues

Interface Extravaganza

Current behavior

Currently, there are a few bugs involving interface selection when installing Bro. The issues currently include:

  • When selecting interfaces for Bro, AI-Hunter will not receive any data if only the bridge (br-...) interface is selected.
  • When selecting interfaces for Bro, the installer will fail if the user selects the virtual (v...) interfaces.

Desired behavior

The installer should not fail when selecting bro interfaces. The available interface list should be changed to reflect this, or the user should at least be notified of this situation when selecting interfaces.

A prompt will be adjusted in the installer to provide users with more information regarding this issue.

Linking with PF_RING fails

This was on a user's network so I may have trouble reproducing. But even with the latest updates, bro's ./configure line would not link with the libpcap.so.1 library located in /usr/local/pfring/lib. It did not work when the user ran the script themselves and I tried troubleshooting and could not get it working manually either.

Cloning into 'aux/binpac' hangs on Ubuntu server 16.04.5

It appears the the setup.sh script is hanging on the aux/binpac submodule during the script installation.

remote: Counting objects: 99511, done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 99511 (delta 88), reused 123 (delta 57), pack-reused 99314
Receiving objects: 100% (99511/99511), 64.28 MiB | 8.76 MiB/s, done.
Resolving deltas: 100% (69207/69207), done.
Checking connectivity... done.
Note: checking out '697aff2c0d569a8db1ca6b990a10838665a002c8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Submodule 'aux/binpac' (git://git.bro.org/binpac) registered for path 'aux/binpac'
Submodule 'aux/bro-aux' (git://git.bro.org/bro-aux) registered for path 'aux/bro-aux'
Submodule 'aux/broccoli' (git://git.bro.org/broccoli) registered for path 'aux/broccoli'
Submodule 'aux/broctl' (git://git.bro.org/broctl) registered for path 'aux/broctl'
Submodule 'aux/broker' (git://git.bro.org/broker) registered for path 'aux/broker'
Submodule 'aux/btest' (git://git.bro.org/btest) registered for path 'aux/btest'
Submodule 'aux/netcontrol-connectors' (git://git.bro.org/bro-netcontrol) registered for path 'aux/netcontrol-connectors'
Submodule 'aux/plugins' (git://git.bro.org/bro-plugins) registered for path 'aux/plugins'
Submodule 'cmake' (git://git.bro.org/cmake) registered for path 'cmake'
Submodule 'src/3rdparty' (git://git.bro.org/bro-3rdparty) registered for path 'src/3rdparty'
Cloning into 'aux/binpac'...```

CAF Optional Dep Protobuf

While everything compiles just fine as is, CAF lists google protobuf as an optional dependency. Other programs which rely on CAF may need this optional dependency. To resolve it, use apt install libprotobuf-dev protobuf-compiler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.