What's out there for setting up your own looking glass? I saw lots of lists of dead projects or projects that hadn't received any love in years. Being as most the people I work with don't run Cisco, Juniper, etc. for routers, likely having those capabilities with the LG would be nice.
Here's a relatively new and fresh perspective on it:
https://github.com/ramnode/LookingGlass
You can see it in action here:
http://lg.nyc.ramnode.com/
-Jim P.
This would be even more AWESOME if you added routing table lookup.
Since posting, I did stumble upon another one (that actually a friend of mine was involved with creating). I'm not likely to find another implementation that works with Mikrotik. https://github.com/TomHetmer/MikroGlass/wiki
I do like the one you linked to. What's holding it back is a lack of BGP information.
I totally agree, it would be awesome if it had routing table lookups / BGP queries. We also have a LG running the original system, https://github.com/telephone/LookingGlass. It would probably be pretty simple to add in BGP options.
There's a nice system called bgplg that is part of OpenBSD. A quick Internet search will bring up many providers that utilize it so that you can check it out.
I'll suggest that to the author.
-Jim P.
Here's a relatively new and fresh perspective on it:
https://github.com/ramnode/LookingGlass
You can see it in action here:
http://lg.nyc.ramnode.com/
looking glass without routing, indeed a new perspective
randy
But routing is so perfect these days...
For those curious, the devs like the idea of adding BGP queries, and
are considering adding it (and I'm fairly certain that they probably
will).
-Jim P.
If you want/need BGP, OpenBSD + OpenBGPD (with their bgplg cgi/restricted shell) is fairly easy to set up. You mesh the looking glass in like any other router in your system, and it gives you full visibility. I wrote a how-to that you can basically copy and paste into a new 1vCPU/1GB vRAM OpenBSD VM which a lot of people have found helpful in setting this type of thing up:
https://ciscodude.net/2014/05/14/openbsd-5-dot-5-bgplg/
This was written for 5.5 but also works on 5.6. I will be checking what changes with 5.7 in the coming weeks as time permits, and will write a followup article if need be.
bgplg also is brandable, there is a template file you can edit to change the logos, and add additional information about your network if desired.
Similar to what I’ve written about with OpenBSD, you could also peer a system running BIRD (not announcing anything) into your network, and run ulg.py (https://github.com/tmshlvck/ulg).
Theo Baschak
If you want/need BGP, OpenBSD + OpenBGPD (with their bgplg
cgi/restricted shell) is fairly easy to set up. You mesh the looking
glass in like any other router in your system, and it gives you full
visibility. I wrote a how-to that you can basically copy and paste
into a new 1vCPU/1GB vRAM OpenBSD VM which a lot of people have found
helpful in setting this type of thing up:
https://ciscodude.net/2014/05/14/openbsd-5-dot-5-bgplg/
Cool, thanks.
Similar to what I’ve written about with OpenBSD, you could also peer a
system running BIRD (not announcing anything) into your network, and
run ulg.py (https://github.com/tmshlvck/ulg
Another BIRD based looking glass which is nice is "bird-lg"
https://github.com/sileht/bird-lg/ - bird-lg makes it easy to deal with
multiple routers and do lookups in parallel.
I have an instance running here for the AS199036 NLNOG RING route
collector: http://lg.ring.nlnog.net/prefix_detail/lg01/ipv4?q=www.nanog.org
(or the nice bgp_map view:
http://lg.ring.nlnog.net/prefix_bgpmap/lg01/ipv6?q=www.nanog.org )
In the past I've set up a VM w/ BIRD next to each important router, have
the router send a full table to the BIRD instance, and use bird-lg to
aggregate lookup access to all those views. This way we didn't need to
expose direct access to the PEs themselves.
Kind regards,
Job
Here's a relatively new and fresh perspective on it:
https://github.com/ramnode/LookingGlass
You can see it in action here:
http://lg.nyc.ramnode.com/looking glass without routing, indeed a new perspective
with a bit more coffee, perhaps i can expand a bit.
for widely distributed data plane probes (ping/traceroute/...), we have
good alternatives, nlring, ripe atlas, traceroute.org, etc. as an op,
nlring is my fave of the month as i can go from question to result in
minimal typing and a matter of seconds.
'looking glass' has traditionally meant a control plane (routing) view.
this is a rarer beast, and setting one up is often a bit crude.
randy
Indeed. As with most things there are always more than one meaning,
and of course even those change with time. I read into the OP's
words that he was looking for a locally hosted capability that he
could easily give out to his people in order to trouble shoot
connectivity.
-Jim P.
If only it wasn't on sourceforge?
(or the original link,
http://www.howtogeek.com/218764/warning-don�t-download-software-from-sourceforge-if-you-can-help-it/)
True.
However, this is not a Microsoft Windows app, so the installer isn’t in play here. The file is a .tar.gz file that contains the perl scripts necessary to set up the looking glass/router proxy, so it should be reasonably safe. Hopefully, the University of Indiana will move the source to a safer delivery system in the future.
Having written two looking glasses from scratch (lg.he.net and and internal
one for Weebly) I can tell you it's actually pretty simple. If you're
interested in writing your own I'm happy to pass along pointers to help you.
Jeff