Hi, I just found this project https://github.com/GyulyVGC/sniffnet Here is how to use it on sys-net to have a quick overview of what's happening on your network
Sniffnet_LinuxRPM_x86_64.rpm
sudo rpm -i Sniffnet_LinuxRPM_x86_64.rpm
sniffnet
Sniffnet_LinuxDEB_amd64.deb
sudo dpkg -i Sniffnet_LinuxDEB_amd64.deb
sniffnet
sys-net should either be an AppVM or fully disposable, so installing a package in it like we did above won't persist after a reboot. There are different solutions though:
If you are a wifi user, you are likely to have an AppVM where /home/ is persistent.
In order to install sniffnet automatically at every boot, modify the file /rw/config/rc.local
to add the command installing the program as explained above, make sure to use the full path to the file, like /home/user/Sniffnet_LinuxDEB_amd64.deb
(example using the Debian file name).
This is my least favorite but the most practical. You can install sniffnet in the template used by sys-net (or the template for the dvm template). Sniffnet can be barely trusted, it's not ideal to do that, but this would provide siffnet in all your qubes.
This setup is trickier, the easiest way (but not really bandwidth efficient) is to download the file at every boot and install it, but this should be done in the DVM template. I won't go into details, it's meant for users who understand the process.
if [ "$(hostname)" = "sys-net" ]
then
cd /tmp/
curl -OL https://path/to/package_file
rpm -i package_file # for fedora
dpkg -i package_file # for debian
fi