MonNet is a hybrid of a homepage accessible from your web browser and a preview/summary of your network, featuring additional options.
MonNet is currently in an early version. It is possible that issues may arise between versions. The compatibility is not guaranteed.
You can add bookmarks, networks, and other elements, but some features, modification is not yet possible. (Except by directly accessing the database, obviously)
The English language (EN/US) is IA generated.
LAMP Composer phpseclib (Composer) (features disable due rewriting but going to be used) arp - Optional for get mac
mysql -u root -p
mysql> CREATE DATABASE monnet;
mysql> CREATE USER 'monnet'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON monnet.* TO 'monnet'@'localhost'
/var/www/html# git clone https://github.com/diegargon/monnet .
/var/www/html# chown -R www-data:www-data *
/var/www/html# chmod 755 cache
#
/path/to/monnet# composer require phpseclib/phpseclib:~3.0
#optional for send messsages
/path/to/monnet# composer require phpmailer/phpmailer
Copy config/config.defaults.php to /etc/monnet/config.inc.php and change whatever you want, you can remove all unnchaged config. Don't rename or modify directly config.defaults.php
/var/www/html# mysql monnet < config/monnet.sql -p
monnet : monnetadmin
Times depends of your network
$ nano /etc/crontab
*/5 * * * * root /usr/bin/php /var/www/html/monnet-cli.php
*/15 * * * * root /usr/bin/php /var/www/html/monnet-discovery.php
(without password)
$ mkdir /var/certs && cd /var/certs
$ ssh-keygen -m PEM -t rsa -b 4096
add /var/certs/id_rsa to cfg[‘certs’]
$ adduser monnet
$ usermod -aG sudo monnet
$ usermod -aG adm monnet
Add to /etc/sudoers
monnet ALL=(ALL) NOPASSWD: /sbin/poweroff, /sbin/reboot, /sbin/shutdown
From monnet server to server to monitor
$ ssh-copy-id -i /var/certs/id_rsa.pub monnet@ip.ip.ip.ip
https://regauth.standards.ieee.org/standards-ra-web/pub/view.html
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv