Giter VIP home page Giter VIP logo

gitter-badger / batfish Goto Github PK

View Code? Open in Web Editor NEW

This project forked from batfish/batfish

0.0 0.0 0.0 100.55 MB

Batfish is a network configuration analysis tool that can find bugs and guarantee the correctness of (planned or current) network configurations. It enables network engineers to rapidly and safely evolve their network, without fear of outages or security breaches.

Home Page: http://www.batfish.org

License: Apache License 2.0

Shell 0.10% Java 90.41% ANTLR 9.48%

batfish's Introduction

What is Batfish?

Batfish is a network configuration analysis tool that can find bugs and guarantee the correctness of (planned or current) network configurations. It enables network engineers to rapidly and safely evolve their network, without fear of outages or security breaches.

Batfish does not require access to network devices. It only needs offline configuration files, e.g., pulled from RANCID or template authoring tools.

The developers of Batfish include researchers from Intentionet, University of California Los Angeles, University of Southern California, and Microsoft Research. See www.batfish.org for technical information on how it works.

What kinds of correctness checks does Batfish support?

Batfish supports many types of correctness checks, including

  1. Compliance and best-practices guidelines, e.g.:
  • Flag undefined-but-referenced or defined-but-unreferenced structures (e.g., ACLs, route maps)
  • Ensure that all interface MTUs are per the network's standard
  • AAA, SNMP, and NTP configuration is correct
  • Devices can only be accessed using SSHv2 and password is not null
  • Logging is on
  1. Consistency of configuration across two or more devices, e.g.:
  • BGP sessions are compatibly configured across neighbors
  • IPSec/VPN tunnels compatibly configured with the same key
  • All interface IP addresses are unique
  • Identically-named structures (e.g., ACLs, route maps) across devices have identical functionality
  1. Checks on data flow, e.g.:
  • Path (shape) between two devices is as expected (e.g., traverses a firewall, valley-free routing)
  • Number of paths between two devices is as expected (i.e., correct multi-path configuration)
  • Paths for two devices inside the data center never leaves the data center
  • Certain services (e.g., DNS) are globally reachable and not blocked by any ACL in the network
  • Certain sensitive services can be reached only from specific subnets or devices
  • All pairs of top-of-rack switches can reach each other
  1. Fault-tolerance, e.g.:
  • End-to-end reachability is not impacted for any flow after any single-link or -device failure
  • Traffic correctly fails over after a failure
  1. "Differential" analysis of two sets of configuration, e.g.:
  • End-to-end reachability is identical across new and old configurations
  • Planned ACL changes have no collateral damage, e.g., relative to the current configuration, only flows that are intended to be (un)blocked are (un)blocked; no other flow is impacted.
  • Two configurations, potentially from different vendors, are semantically equivalent

These checks are performed by asking questions about configurations. See here for the list of questions.

How do I get started?

If you are a DIYer, go to Batfish Wiki

If you'd like a hosted service, drop a line to [email protected].

What configuration formats does Batfish support?

Batfish supports configurations for a large and growing set of (physical and virtual) devices, including:

  • Arista
  • AWS VPCs
  • Cisco (Nexus, IOS, IOS-XR, ASA)
  • Dell Force10
  • Foundry
  • iptables (on hosts)
  • Juniper (JunOS, Firewall)
  • MRV
  • Quagga
  • Quanta
  • VyOS

Batfish does not yet support all devices and may be missing support for less common configuration directives. Please file feature requests or bug reports using the GitHub issue tracker and we'll try to fix. Or, you can :) -- we welcome pull requests!

batfish's People

Contributors

arifogel avatar dhalperi avatar dspicuzzbbn avatar haverma avatar jitupadhye avatar kidsbear avatar millstein avatar nunoplopes avatar rabeckett avatar ratulm avatar virtuald avatar xyzsa avatar

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.