Looking Glass

I have a linux (ubuntu) box and I would like to install a BGP looking glass. Are there any out there for free and how can one go about it? Is linux the best OS to use?

Thanks,
Peter R.

Hmm, Google says you could use http://www.zebra.org/ to set your box
up as a route, and then you can just view the routes from there?

Or look here; http://www.bgp4.as/tools

The rancid package includes a perl based looking glass CGI thing. You may
want to look at that and modify it to suit your needs.

-Ryan

I have a linux (ubuntu) box and I would like to install a BGP looking
glass. Are there any out there for free and how can one go about it?
Is linux the best OS to use?

i gave up. all but one required telnet access to the router(s). and
the one that did ssh did so by including half of the world's archives
of some abhorrent language's libraries.

randy

Setup quagga [1] and write a perl script [2] to "peer" with the box.
The perl script updates a database as BGP events occur. The rest is
easy web programming.

[1] http://www.quagga.net/
[2] http://search.cpan.org/dist/Net-BGP/

Regards,

--Jason

:I have a linux (ubuntu) box and I would like to install a BGP looking
:glass. Are there any out there for free and how can one go about it?
:Is linux the best OS to use?
:
:Thanks,
:Peter R.

Try OpenBSD w/ OpenBGPd. It includes a looking glass cgi script.

James Bensley <jwbensley@gmail.com> writes:

Hmm, Google says you could use http://www.zebra.org/ to set your box
up as a route, and then you can just view the routes from there?

Aehm, Zebra is dead. Quagga it the successor.

Last change date on zebra.org website is 5 years old.

Jens

FWIW Quagga works fine as a looking glass if you don't mind the telnet
interface. Though, if you really want ssh, you could make a user on the
machine whose login script runs 'vtysh' and logs out on exit, however it's
admittedly less elegant.

-Jack Carrozzo

FWIW Quagga works fine as a looking glass if you don't mind the telnet
interface. Though, if you really want ssh, you could make a user on the
machine whose login script runs 'vtysh' and logs out on exit, however it's
admittedly less elegant.

Anyone know of a good http looking glass that works with quagga?

<>

Nathan Stratton CTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.net http://www.blinkmind.com

I realize this is probably more hacking than you want to do, but Quagga can
expose much of it's info via SNMP. Thus it would be fairly trivial to write
an http front end to it if you were so motivated (or, have some interns on
hand without enough to do).

-Jack Carrozzo

*Install quagga and rancid

sudo apt-get install rancid rancid-cgi quagga

*Enable bgpd in /etc/quagga/daemons

*Hook up your Quagga.conf with all the fun bgp configuration bits. Search on
the intarwebs or man pages for configuration details.

*Set up a user with vtysh as their shell.

*Set up the rancid cloginrc file with the login stuff for your quagga router
using the user with vtysh access. To Randy's point, it can certainly do
ssh... but Rancid certainly uses "some abhorrent language's libraries".

*Edit the configuration for the looking glass CGI /etc/rancid/lg.conf

*Tweak out the CGI to be less horrible.

*Profit.

-Ryan

I have used Mult-Router Looking Glass in the past and it's been pretty
good.

http://freshmeat.net/projects/mrlg4php/

08.09.2010 01:35, Nathan Stratton пишет:

FWIW Quagga works fine as a looking glass if you don't mind the telnet
interface. Though, if you really want ssh, you could make a user on the
machine whose login script runs 'vtysh' and logs out on exit, however
it's
admittedly less elegant.

Anyone know of a good http looking glass that works with quagga?

Try http://wiki.version6.net/LG