GithubHelp home page GithubHelp logo

hybula / lookingglass Goto Github PK

View Code? Open in Web Editor NEW
364.0 364.0 70.0 793 KB

Modern, simple and fresh looking glass based on Bootstrap 5 and PHP 8.

Home Page: https://www.hybula.com

License: Other

PHP 99.33% Dockerfile 0.67%

lookingglass's People

Contributors

abrenner avatar amit177 avatar decicus avatar deliciousbob avatar dqos avatar evanebb avatar jkjameson avatar kimma avatar marchagen avatar mrxermon avatar nicholsk18 avatar realbrandon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lookingglass's Issues

mtr not showing

Traceroute and ping work normally and I've done an mtr command in the terminal but there is no output in the looking glass, all I get is:
Host Loss% Snt Last Avg Best Wrst StDev
Any ideas on what I can check for?

Docker installation error.

After install with docker I got this error on browser:

LG_CHECK_LATENCY not found in config.php

Ubuntu 22
docker version: 23.05
docker-compose: 1.27.4

How to use custom css file

We're trying to deploy the application on our production server, but we want to use a custom css file.

Right now we're trying to use the LG_CSS_OVERRIDES but with no success.

The custom css file does not get loaded, keeping just the bootstrap loaded.

Can someone please explain how to use custom css files?

Feature: Add BGP Path

Amazing tool, I will suggest add a bgp path tool too.

Thanks so much for the tool!

How to fully disable IPV4 in the part "Your IP"

Hey guys.

Can you disable the LG to get the user ipv6?

I don't offer ipv6, so it's pointless for them to try running an MTR on their ipv6; it will create confusion.

So I would like only the LG to get the users IPV4.

Kind regards

It's not working

I install it in two servers, one is in March, and one is in May, the first one can work normal, but the second when I type an ip address and click execute, it not works.I don't know why.

Not working?

Hello, I installed this on a fresh VPS and the copy buttons do not work and when I put an IP in the target box and click execute it just redirects to the default apache page, How do I fix this?

Docker error

after docker-compose up i get this error in the browser:

Warning: Constant LG_CUSTOM_HEAD already defined in /var/www/html/config.php on line 20

Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/html/LookingGlass.php on line 135
Could not start session!

Debian 12
Docker version 20.10.24
docker-compose version 1.29.2

and also tried with
Docker version 24.0.6
Docker Compose version v2.20.3

Missing or incorrect CSRF token.

Hi,
I have been testing around with Alma 8 and 9, nginx and php 8.0.27 and I always get the
Missing or incorrect CSRF token error message.
Even with docker I get this error.

The looking glass looks great and we would love to use it.

Any help is appreciated!

Fatal error at end of ipv6 ping

Hi,

When using docker images, after ping finalization i get this error displayed:

Fatal error: Uncaught TypeError: posix_kill(): Argument #1 ($process_id) must be of type int, string given in /var/www/html/LookingGlass.php:348
Stack trace:
#0 /var/www/html/LookingGlass.php(348): posix_kill('14', 9)
#1 /var/www/html/LookingGlass.php(182): Hybula\LookingGlass::procExecute('ping -6 -c4 -w1...', '2001:db8...')
#2 /var/www/html/backend.php(34): Hybula\LookingGlass::ping6('2001:db8..')
#3 {main}
thrown in /var/www/html/LookingGlass.php on line 348

Docker - Confused on Env

How can I disable the Network & Speedtest sections if my LookingGlass is only for one host.
I tried to set env variables in the docker-compose.yml file as the readme says, but using this doesn't work:

LG_BLOCK_NETWORK: 'false';
LG_BLOCK_SPEEDTEST: 'false';

Also confused on if I set this as true: ENABLE_CUSTOM_BLOCK, where should the files go when using Docker, which directory?

Output block shortened

Hi,

When using the mtr functions, if screen is small (Like a mobile) output is not scrollable and you are unable to view mtr times like best or worst, also even using a PC the output gets cuts if there are many longer IPv6 addresses.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.