Skip to content

Commit

Permalink
Release 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cougar committed Jul 16, 2002
1 parent dcb60be commit 9673184
Show file tree
Hide file tree
Showing 11 changed files with 57,290 additions and 101 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
16.07.2002 1.6
+ Favicon support
+ Perl script for downloading AS num data from RIPE/ARIN/APNIC
! new IPv6 configuration option
! improved hyperlinking between different IPv6 BGP screens
! new router-servers and one new IPv6 LG


25.06.2002 1.5 Major feature enhancements
! RIPE whois link update
+ HTTPS method
+ configuration option for default router selection
+ separators in router list
! improved hyperlinking between different BGP screens
! other small fixes


28.05.2002 1.4 The first public release, initial freshmeat announcement
+ IPv6 support
+ XML configuration file
! other small fixes and changes


17.05.2001 1.3
small configuration change


19.03.2001 1.2
A lot of changes. More complex configuration file. Telnet support


26.02.2000 1.1
The first version of LG in CVS
It supports remote LG sites with the same variable names
The design is mainly borrowed from KPNQwest LG
(http://stats.kpni.net/cgi-bin/lg.pl)
339 changes: 339 additions & 0 deletions COPYING

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@


SUMMARY


LG is a Looking Glass written in Perl as a CGI script. It can execute almost
all BGP-related commands and do ping and traceroute in routers or relay these
queries to other looking glasses. It supports both IPv4 and IPv6 commands,
and is tested with Cisco and Zebra. It can connect to router using either
telnet or rsh.

LG is released under GPL licence. Look at COPYING file.



INSTALL


This example assumes that you use Apache webserver and LG will be installed
to /usr/local/httpd/htdocs/lg directory.


1. Create directory where you want to keep LG files

mkdir /usr/local/httpd/htdocs/lg

2. Copy lg.cgi, as.txt, as-apnic.txt, as-arin.txt, as-ripe.txt, lg.conf and
favicon.ico to this directory, make CGI executable

cp lg.cgi as*.txt lg.conf favicon.ico /usr/local/httpd/htdocs/lg
chmod 644 /usr/local/httpd/htdocs/lg/*
chmod 755 /usr/local/httpd/htdocs/lg/lg.cgi

3. Add these lines to your webserver config (In SuSE it is located at
/etc/httpd/httpd.conf or /etc/httpd/suse_include.conf). The order of these
lines is VERY IMPORTANT

Alias /lg/favicon.ico /usr/local/httpd/htdocs/lg/favicon.ico
ScriptAlias /lg /usr/local/httpd/htdocs/lg/lg.cgi

4. Restart webserver

killall -1 httpd

5. DONE!



ADVANCED CONFIURATION


You can generate as-apnic.txt, as-arin.txt and as-ripe.txt files yourself.
Just run Perl script makeaslist.pl and it creates these three files in your
current directory. It is recommended to update these files sometimes to get
fresh information about new AS numbers.

You can also edit as.txt file. These three autogenerated files are included
at the beginning of as.txt file. All lines below just overwrites previous
ones. This means that you can put any better names for AS numbers to this file
and will see it instead of these autogenerated names (which are quite hard to
understand some times).

A little bit about lg.conf file. In this example all logins are replaced with
"login" and passwords with "password". These lines are also commented out, so
you can use this configuration file even without any modification.

As long as the configuration file is quite simple, I don't give here any help
how to configure LG. Just look at lg.conf, all possible ways how to configure
it, are shown in ths file already ;-)

Default logfile is /var/log/lg.log, be sure that your webserver can write
it or use any other file (or don't use art all).



NOTES


Don't try to use LG sites with newer DIGEX code as external LG sites. These
will check Referer and therefore deny all outside links.

There are also some LG sites which support only POST method and are also
unusable. LG can forward browsers to any other address but can't send POST
data with it. It is possible to act as proxy for these sites but this is not
implemented yet and I'm not sure it is neccessary at all. At least at the
current moment ;-)




DOWNLOAD


You can get the latest source from http://www.version6.net/

All new releases will be announced in Freshmeat (subscribe!)
http://freshmeat.net/projects/lg/



Enjoy!

---
Cougar <cougar@random.ee>
Loading

0 comments on commit 9673184

Please sign in to comment.