2.0 KiB
2.0 KiB
type, created, updated
type | created | updated |
---|---|---|
topic | 2024-01-28T04:48:03.346Z | 2024-01-29T18:47:51.859Z |
ntopng
# https://learn.microsoft.com/en-us/windows/wsl/wsl-config
code-insiders .wslconfig
[wsl2]
networkingMode=mirrored
wsl --export Ubuntu "L:\Ubuntu\Ubuntu-ntopng-001.tar"
wsl --unregister Ubuntu
wsl --import Ubuntu-ntopng Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-001.tar"
# wsl --export Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-002.tar"
# del "L:\Ubuntu\Ubuntu-ntopng-002.tar"
Name: Ubuntu-ntopng
Command Line: wsl.exe -d Ubuntu-ntopng
Tab Title: Ubuntu-ntopng
sudo -i
apt-get update
apt upgrade -y
exit
exit
sudo -i
ip a
lsb_release -a
apt-get install links unzip git nano ncdu -y
ncdu
timedatectl set-timezone America/Phoenix
timedatectl
nano /etc/hosts
sudo -i
apt-get install software-properties-common wget
add-apt-repository universe
wget https://packages.ntop.org/apt-stable/22.04/all/apt-ntop-stable.deb
apt install ./apt-ntop-stable.deb
apt-get clean all
apt-get update
apt-get install pfring-dkms nprobe ntopng n2disk cento -y
exit
exit
wsl --export Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-002.tar"
wsl --unregister Ubuntu-ntopng
wsl --import Ubuntu-ntopng Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-002.tar"
lsof -i tcp
# http://localhost:3000
# preferences: Network Discovery: Active Network Discovery
# http://localhost:3000/lua/macs_stats.lua?devices_mode=source_macs_only
# http://localhost:3000/lua/system_stats.lua?ifid=-1
ethtool -K loopback0 gro off gso off tso off
# http://localhost:3000/lua/pro/admin/edit_device_exclusions.lua
# The Device/MAC Address Tracking is still learning the devices...
# http://localhost:3000/lua/discover.lua
wsl --export Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-003.tar"
wsl --unregister Ubuntu-ntopng
wsl --import Ubuntu-ntopng Ubuntu-ntopng "L:\Ubuntu\Ubuntu-ntopng-003.tar"
# sudo -i
# ethtool -K lo gro off gso off tso off
# apt-get install pfring-drivers-zc-dkms -y
# exit
# exit