bgp- research & experiments with border gateway protocol |
git clone git://git.acid.vegas/bgp.git |
Log | Files | Refs | Archive | README |
README.md (2346B)
1 # BGP Stream 2 > [www](https://bgpstream.caida.org/) | [github](https://github.com/caida/libbgpstream) | [bgpstream-info@caida.org](mailto:bgpstream-info@caida.org) 3 4 ![](.screens/preview.png) 5 6 ### Overview 7 - [BGP Stream: A framework for BGP analysis](https://ripe70.ripe.net/presentations/55-bgpstream.pdf) *(pdf)* 8 9 # Install BGP Stream 10 11 You can visit the official [install page](https://bgpstream.caida.org/docs/install) to see if there is a difvferent approach you want to take. There is also a [docker](https://hub.docker.com/r/caida/bgpstream) image. 12 13 The follow outlines compiling it from source for simplicity across distros. 14 15 ###### Requirements 16 - [libcurl](https://curl.se/libcurl/) 17 - [wandio 4.2.4-1](https://github.com/LibtraceTeam/wandio/releases/tag/4.2.4-1) *(wandio 4.2.5 was released recently, but not sure if it will break bgpstream)* 18 19 ###### Compiling wandio 20 1. Install the required packages: `build-essential curl zlib1g-dev libbz2-dev libcurl4-openssl-dev librdkafka-dev automake1.11 libtool` 21 2. Grab the source: `curl -LO https://github.com/LibtraceTeam/wandio/archive/refs/tags/4.2.4-1.tar.gz` 22 3. Extract the archive & then compile with `./configure && make && sudo make install` 23 4. Lastly, run `sudo ldconfig` 24 25 ###### Compiling libbgpstream 26 1. Install required packages: `sudo apt-get install -y curl apt-transport-https ssl-cert ca-certificates gnupg lsb-release` 27 1. Grab the source: `curl -LO https://github.com/CAIDA/libbgpstream/releases/download/v2.2.0/libbgpstream-2.2.0.tar.gz` 28 2. Extract the archive & then compile with `./configure && make && sudo make install` 29 3. Lastly, run `sudo ldconfig` 30 31 This will create `/usr/local/bin/bgpreader` *([documentation](https://bgpstream.caida.org/docs/tools/bgpreader))* 32 33 Lastly, for Python support, `pip install pybgpstream` *([documentation](https://bgpstream.caida.org/docs/api/pybgpstream))* *([pypi](https://pypi.org/project/pybgpstream/))* 34 35 **NOTE:** `sudo apt-get install python3-pybgpstream` 36 37 **NOTE:** The [Broker HTTP API](https://bgpstream.caida.org/docs/api/broker) may come to use... 38 ___ 39 40 ###### Mirrors for this repository: [acid.vegas](https://git.acid.vegas/bgp) • [SuperNETs](https://git.supernets.org/acidvegas/bgp) • [GitHub](https://github.com/acidvegas/bgp) • [GitLab](https://gitlab.com/acidvegas/bgp) • [Codeberg](https://codeberg.org/acidvegas/bgp)