Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


An Optimized User-Friendly LookingGlass With GeoIP Information For All IDCs
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

An Optimized User-Friendly LookingGlass With GeoIP Information For All IDCs

ILLKXILLKX Member
edited June 2018 in General

Hello, everyone.

In the past two years, I have purchased many servers and used a lot of LookingGlasses, but almost all traceroute results from the LG showed only IP and but no GEOIP data. Today I brought a LookingGlasses that modified by me. I know that this LG is not a big contribution to IDCs but I still want to share with you.

The whole repository is based on the LookingGlass by telephone.

https://github.com/ILLKX/LookingGlass-En
This LG will show an English homepage.
https://github.com/ILLKX/LookingGlass This LG will show a Chinese homepage.

Differences With the Original

  • Visitor can change language of the webpage between Chinese and English without setting up two LGs.
  • There will be GeoIP data in English or Chinese (provided by ipip.net) when you traceroute an IPv4 address (depend on the webpage you are browsing);
  • The visitor's real IP will be displayed in "Your IP Address" if you are using CDN.
  • Using DD command to create test files (shred command is not always worked).
  • Traceroute will not timed out anymore.

Demo

https://lgen.illkx.tk English homepage version
https://lg.illkx.tk Chinese homepage version

Screenshot

Install

Everything is as same as the LG by telephone.

  1. Download LookingGlass to the intended
    folder within your web directory
  2. Extract archive:
    • Extract archive to the web directory:
      • unzip master.zip
    • Move all files in LookingGlass(-En)-master to your web directory
      • mv LookingGlass(-En)-master/* .
  3. Navigate to the LookingGlass subdirectory in terminal
  4. Run bash configure.sh
  5. Follow the instructions and configure.sh will take care of the rest

Forgot a setting? Simply run the configure.sh script again

Requirements

Everything is as same as the LG by telephone.

  • PHP >= 5.3
  • PHP PDO with SQLite driver (required for rate-limit)
  • SSH/Terminal access (able to install commands/functions if non-existent)

That's all. Hope you enjoy this version of LookingGlass!

Thanked by 1Jorge

Comments

  • ClouviderClouvider Member, Patron Provider

    Great job! I was looking to deploy one at each of our PoPs :)

    And I can see you're using our network, nice :)

  • ILLKXILLKX Member
    edited June 2018

    @Clouvider said:
    Great job! I was looking to deploy one at each of our PoPs :)

    And I can see you're using our network, nice :)

    Thank you! Yes, I'm using your AMAZING vps to set up my other websites. But the LG demo is not on it. The screenshot of the LG is.

    Thanked by 2Clouvider Ympker
  • BlaZeBlaZe Member, Host Rep

    Thanks! Will install it :)

Sign In or Register to comment.