fastnetmon-ng/src/scripts/README.md
2015-06-23 17:00:04 +03:00

759 B

Here you could find nice scripts for subnet's collection from the BGP router server

  • Clone ExaBGP master's repository:
cd /usr/src
https://github.com/Exa-Networks/exabgp.git
  • Put exabgp_network_collector.conf to /etc
  • Put bgp_network_collector.py to /usr/local/bin
  • Run ExaBGP:
env exabgp.log.level=DEBUG  exabgp.daemon.user=root exabgp.tcp.bind="0.0.0.0" exabgp.tcp.port=179 exabgp.daemon.daemonize=false exabgp.daemon.pid=/var/run/exabgp.pid exabgp.log.destination=/var/log/exabgp.log sbin/exabgp exabgp_network_collector.conf
  • Wait few minutes while all announces received (depends on router server size)
  • Retrieve learned networks from database (/var/lib/bgp_network_collector.db): python bgp_network_retriever.py