Skip to content

Source code for the NLNOG Looking Glass front end

License

Notifications You must be signed in to change notification settings

amartins/lg.ring.nlnog.net

 
 

Repository files navigation

NLNOG Looking Glass

This is the NLNOG Looking Glass for OpenBPGD, written by Teun Vink. This code is used as a front end to the OpenBGPD route collector operated by NLNOG. The looking glass is hosted at https://lg.ring.nlnog.net. The code was inspired on bird-lg by Mehdi Abaakouk.

Please note: this code is not intended as general purpose looking glass code. It is custom made for this specific use case.

Questions about the status of the Looking Glass or its peers should be directed at ring-admins@nlnog.net.

Known communities

Where possible the Looking Glass tries to provide information on communities used on routes. This is done using information stored in the communities folder. This folder contains a file per ASN for known communities. Each line should contain a community entry followed by a comma, followed by the description of the community. Any line not matching this format is ignored.

The following types of entries are accepted for communities:

  • exact matches, for example: 65535:666, only matching this exact community
  • ranges, for example: 65535:0-100, matching anything from 65535:0 upto 65535:100
  • single digit wildcards, for example: 65535:x0, matching for 65535:00, 65535:10, 65535:20, etc
  • any number, for example: 65535:nnn, which matches any community staring with 65535:

Additions and updates to the list of communities are welcome, if possible please provide a source for the data as a comment on the first line of the file, and name the file asNNN.txt, where NNN is the ASN.

License

 Copyright (c) 2022 Stichting NLNOG <stichting@nlnog.net>

 Permission to use, copy, modify, and distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.

 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

Source code for the NLNOG Looking Glass front end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 34.9%
  • Python 33.1%
  • CSS 23.9%
  • JavaScript 8.1%