GithubHelp home page GithubHelp logo

arhue / looking-glass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmazoyer/looking-glass

0.0 2.0 0.0 6.68 MB

Easy to deploy Looking Glass

License: GNU General Public License v3.0

Dockerfile 0.61% PHP 94.81% CSS 1.42% JavaScript 2.63% Shell 0.53%

looking-glass's Introduction

Build Status Documentation Status

Looking Glass

Easy to deploy Looking Glass made in PHP.

Requirements

  • Webserver such as Apache 2, or Lighttpd, etc…
  • PHP (> 5.3) module for the webserver (mod-php5 for Apache 2 for example)
  • When using PHP >= 7, the XML package is required as well (php7.0-xml on Debian for example)

Description

This web application made in PHP is what we call a Looking Glass. This is a tool used to get some information about networks by giving the opportunity to execute some commands on routers. The output is sent back to the user.

For now this looking glass is quite simple. Here you have some features:

  • Interface using Javascript and AJAX calls (needs a decent browser)
  • Support the following router types:
    • Juniper
    • BIRD
    • Cisco (IOS and IOS-XR)
    • Extreme/Brocade NetIron
    • Mikrotik/RouterOS
    • OpenBGPd
    • Quagga
    • Vyatta/VyOS/EdgeOS
    • FRRouting
  • Support of Telnet and SSH connection to routers using password authentication and SSH keys
  • Configurable list of routers
  • Tweakable interface (title, logo, footer, elements order)
  • Log all commands in a file
  • Customizable output with regular expressions
  • Configurable list of allowed commands

And here is a list of what this looking glass should be able to do in the future:

  • Support more routers
  • Support of other types of authentication

Questions? Comments? Join us in the #looking-glass Slack channel on NetworkToCode.

Configuration

Copy the configuration config.php.example file to create a config.php file. It contains all the values (PHP variables) used to customize the looking glass. Details about configuration options are available in the documentation.

Docker

If you want to run the looking glass inside a Docker container, a Dockerfile is provided in this repository. More details can be found here.

Documentation

An up-to-date (hopefully) documentation is available in the docs/ directory. It gives enough details to setup the looking glass, to configure it and to prepare your routers.

You can also find it at Read the Docs.

License

Looking Glass is released under the terms of the GNU GPLv3. Please read the LICENSE file for more information.

Contact

If you have any bugs, errors, improvements, patches, ideas, you can contact me on my email address [email protected]. You are also welcome to fork and make some pull requests.

If you use this looking glass in your company, please drop me a mail. I would be glad to know that this project was helpful for you, and I will update our documentation to include your company inside the list of users if you want me to.

Helping

You can help this project in many ways. Of course you can ask for features, give some ideas for future development, open issues if you found any and contribute to the code with pull requests and patches.

You can also support the development of this project by donating some money. Developing such project can be time consuming and it is done on personal time. Giving few dollars/euros/pounds/etc... can be a way to say thanks and help to free some time to develop this project.

Thanks

  • Bootstrap and jQuery for making CSS and Javascript less painful for people like me.
  • Romain Boissat for all his great ideas, bug reports and contributions.

looking-glass's People

Contributors

amtypaldos avatar arhue avatar d307473 avatar ejectck avatar gmazoyer avatar haeringer avatar ledeuns avatar martijn-schmidt avatar mikenowak avatar pautiina avatar rkandilarov avatar smiles1969 avatar tvberlin avatar uhei avatar xbytez avatar

Watchers

 avatar  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.