MMT Operator is a Web application writting in Nodejs. It receives the protocol stats generated by MMT-Probe, saves them in a MONGO database and allows the user to visualize them in graphical charts.
This chain of tools depends on the following packages:
Follow the instruction on nodejs.org: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
Follow the procedure described on the following link to install Mongodb: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
For example, the following commands will install MongoDB 8.0 on Ubuntu server 22.04:
# install gnupg and curl if they are not already available:
sudo apt-get install gnupg curl
# import the MongoDB public GPG key,
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmor
# create the list file for Ubuntu 22.04
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
# reload the package database
sudo apt-get update
# install MongoDB Community Server
sudo apt-get install -y mongodb-org
cd www
#update configuration in config.json if need
#start
sudo npm start
# use another configuration file
node bin/www --config=test.json
An option in the configuration file can be overriden by giving a new parameter when running operator, for example:
cd www
node bin/www --config=test.json -Xdatabase_server.host=10.0.0.2 -Xlocal_network.0.ip=192.168.1.0
X
parameter is in format: attribute=value
where:
attribute
value
is a primitive value: number, string. It must not be an Object or Array.
Once MMT-Operator is up and running, open your favorite Web browser and goto
localhost:8080
To start GUI of MMT-Attack
npm run attack
# one will get a deb file such as www/dist/mmt-operator_1.6.2_05c27df_2017-05-05.deb
npm run build-deb