Stars: 183
Forks: 38
Pull Requests: 17
Issues: 9
Watchers: 6
Last Updated: 2023-09-10 12:22:56
Modern, simple and fresh looking glass based on Bootstrap 5 and PHP 8.
License: Mozilla Public License 2.0
Languages: PHP, Dockerfile
Modern, simple and fresh looking glass based on Bootstrap 5 and PHP 8 (also compatible with 7). A looking glass is a network utility which is made user-friendly for everyone to use. It allows you to execute network related commands within a remote network, usually that of an ISP.
For this installation we will assume that we are working on AlmaLinux 8 or 9. Warning: This guide does not cover any security hardening or rate limiting. Note: These steps also work with AlmaLinux 9, but it will install PHP 8 instead of 7.
dnf install mtr traceroute -y.dnf install httpd mod_ssl php php-posix -y.systemctl enable httpd; systemctl enable php-fpm and systemctl start httpd; systemctl start php-fpm.ln -s /usr/sbin/mtr /usr/bin/mtr and also mtr helper called mtr-packet: ln -s /usr/sbin/mtr-packet /usr/bin/mtr-packet.setenforce 0 and possibly make it permanent: nano /etc/selinux/config change to SELINUX=disabled.Upgrading from a previous version is easy, simply overwrite your current installation with the new files. Then update your config.php accordingly, the script will automatically check for missing variables.
If you open up config.dist.php you will see that there are some features that allows you to customize the looking glass, this includes a custom CSS override. You may also extend the looking glass with a custom block.
We would love to receive code contributions in the form of a pull request. We prefer this over forking, so if you have any code improvements feel free to commit.
This project is inspired by the LookingGlass project of @telephone and uses his procExecute() function, although slightly modified.
Mozilla Public License Version 2.0