[c-nsp] Looking-glass software?

Richard Hicks richard.hicks at gmail.com
Thu May 18 19:47:50 EDT 2017


https://github.com/rhicks/bgp-dashboard

Something I wrote for our Internal network.
I'm not much a programmer, but provides BGP stats and looking glass
functionality.

GoBGP peers with the real network.
GoBGP updates fed into MongoDB.
MongoDB queries, via Python, to get stats and looking glass info.
Flask to display web data.
JSON api for use by other tools, and for Looking Glass functionality.



Example Output from  the JSON API:

http://xxx.xxx.xx/bgp/api/v1.0/ip/8.8.8.8

{

  "as_path": [
    15169
  ],
  "communities": [
    "3701:392"
  ],
  "is_transit": false,
  "local_pref": 1050,
  "med": 0,
  "name": "GOOGLE - Google Inc.",
  "next_hop_asn": 15169,
  "nexthop": "198.32.195.34",
  "origin_as": 15169,
  "prefix": "8.8.8.0/24",
  "updated": "2017-04-26 11:56:32 UTC"
}


*http://xxx.xxx.xxx/bgp/api/v1.0/asn/10745
<http://xxx.xxx.xxx/bgp/api/v1.0/asn/10745>*

{

  "asn": 10745,
  "is_peer": false,
  "name": "ARIN-ASH-CHA - ARIN Operations",
  "origin_prefix_count": 3,
  "origin_prefix_list": [
    {
      "as_path": [
        6939,
        2914,
        10745
      ],
      "is_transit": false,
      "name": "ARIN-ASH-CHA - ARIN Operations",
      "nexthop_asn": 6939,
      "nexthop_ip": "207.98.64.235",
      "nexthop_ip_dns": "ptck-core2-gw.nero.net",
      "origin_as": 10745,
      "prefix": "2001:500:4::/48",
      "updated": "2017-02-18 23:32:08 UTC"
    },
    {
      "as_path": [
        11164,
        6461,
        10745
      ],
      "is_transit": false,
      "name": "ARIN-ASH-CHA - ARIN Operations",
      "nexthop_asn": 11164,
      "nexthop_ip": "207.98.64.236",
      "nexthop_ip_dns": "ptck-core1-gw.nero.net",
      "origin_as": 10745,
      "prefix": "2001:500:110::/48",
      "updated": "2017-02-18 23:32:08 UTC"
    },
    {
      "as_path": [
        11164,
        6461,
        10745
      ],
      "is_transit": false,
      "name": "ARIN-ASH-CHA - ARIN Operations",
      "nexthop_asn": 11164,
      "nexthop_ip": "198.32.165.253",
      "nexthop_ip_dns": "internet2-cps-seat-gw.oregon-gigapop.net",
      "origin_as": 10745,
      "prefix": "192.136.136.0/24",
      "updated": "2017-02-18 23:32:11 UTC"
    }
  ]
}




Thanks,
Rick

On Thu, May 18, 2017 at 7:03 AM, Patrick M. Hausen <hausen at punkt.de> wrote:

> Hi, all
>
> can anyone recommend a free looking-glass tool
> to run on my own NOC server for my own core routers?
>
> My problem is finding a software that is preferably written in
> Perl or PHP and
>
> * not unmaintained for years
> * breaking with current versions (5.24) of Perl
> * only supporting telnet instead of ssh
> * ...
>
> I've been spending almost a day already chasing dead links
> on historic sites like traceroute.org, downloading, configuring,
> testing ...
>
> So, any hints?
>
> I had set up routerproxy to hand my less IOS-savvy colleagues a
> tool to quickly check some things, but that one goes in the
> "breaks with Perl 5.24" category ...
>
> Thanks!
> Patrick
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list