GNetWatch web site
GNetWatch is a free open source Java application that offers real-time graphical monitoring and analysis of network performance through SNMP and ICMP. To get an instant view of the network state, data are collected, stored and displayed every few seconds. Two traffic generation modules are available. The former can flood UDP packets of any size (jumbo frames for instance) and tagged with any DiffServ/ToS flag for QoS and class of services testing. The latter can generate a huge quantity of parallel requests to any HTTP(s) server, for web applications load testing. To automatically discover new hosts, GNetWatch can make use of Ethereal/WireShark and later invoke NMap to get informations about the remote systems. Note that IPv6 and SNMPv3 are fully supported by GNetWatch.
GNetWatch full documentation
- PDF (acrobat): http://gnetwatch.sourceforge.net/gnetwatch.pdf
- one web page: http://gnetwatch.sourceforge.net/gnetwatch-html.htm
Running a GNetWatch container
docker run -e DISPLAY=DISPLAY_VALUE fenyoa/gnetwatch
Replace DISPLAY_VALUE with the XWindow display you want to start the VPN-over-DNS GUI on.
For instance, if your XWindow display IP address is 192.168.0.40, just run:
docker run -e DISPLAY=192.168.0.40:0 fenyoa/gnetwatch
Like for any Docker application with a GUI for XWindow, don't forget to allow the docker container to connect to you X11 terminal. See http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/ for more informations about it.
In case of trouble, try running "xhost +" (unsecure debug-only configuration !!!) in a XWindow terminal and replace DISPLAY_VALUE with the non local IP address of this XWindow terminal followed by ':0'.
Then do not stay with this unsecure configuration and read http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/ to get a secure way of launching GNetWatch.
This image has been built with the following Docker file:
FROM ubuntu:precise MAINTAINER Alexandre Fenyo <firstname.lastname@example.org> RUN apt-get update && apt-get install -y wget bzip2 openjdk-7-jre libwebkitgtk-1.0-common libwebkitgtk-1.0-0 inetutils-ping nmap tshark RUN wget -O /root/gnetwatch-4.1-linux-x86_64.tar.bz2 http://www.fenyo.net/newweb/GNetWatch/gnetwatch-4.1-linux-x86_64.tar.bz2 RUN cd /root ; bunzip2 gnetwatch-4.1-linux-x86_64.tar.bz2 ; tar xf gnetwatch-4.1-linux-x86_64.tar RUN cd /usr/bin ; ln -s tshark tethereal CMD cd /root/gnetwatch ; ./gnetwatch.sh