monitors your net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

909 B

netmon

super basic way to run

touch db.sqlite3
docker run --rm -d \
  --name netmon \
  -p 4000:3000 \
  -e dstHost=1.1.1.1 \
  -e dstPort=53 \
  --mount type=bind,source=$(pwd)/db.sqlite3,target=/app/db.sqlite3 \
  daveplsno/netmon:latest

bunch of misc cmds used along the way

docker run --rm -it --name pls -w /app -p 3000:3000 -p 5000:5000 -e dstHost=localhost -e dstPort=8000 -e TZ=Australia/Sydney -v /home/blender/projects/netmon:/app nikolaik/python-nodejs:python3.9-nodejs16-alpine sh
docker exec -it pls sh
apk add sqlite
npm install -g nodemon
npm install express sqlite
python -m http.server 8000
export dstHost=localhost dstPort=8000
python netmon.py monitor

sqlite3 db.sqlite3
.headers on
.mode column
`SELECT * FROM netmonResults;`

npm install -D tailwindcss@latest postcss@latest autoprefixer@latest postcss-cli

npm install tailwindcss postcss autoprefixer postcss-cli