Network Probe is a free network monitor and protocol analyzer that runs on Windows NT/2K/XP, Linux, FreeBSD, Solaris (Intel), and Mac OS X. We downloaded the Linux version by filling out the form here. The form wasn’t too intrusive, and the email with the download information came back quickly. We used version 0.4 for this article.
First, let’s extract the tarball:
u-1@srv-1 np $ ls netprobe-0.4.tar.gz u-1@srv-1 np $ tar -xzf net*.gz u-1@srv-1 np $ ls netprobe-0.4 netprobe-0.4.tar.gz u-1@srv-1 np $ cd net* u-1@srv-1 netprobe-0.4 $ ls INSTALL README config license.txt netprobe Probe.jar changes.txt driver logs wwwroot |
The next step is to edit netprobe. We just had to enter the path of our jdk, which happens to be: JAVA_PATH=/opt/blackdown-jdk-1.3.1/bin. Let’s fire this puppy up:
root@srv-1 netprobe-0.4 # ./netprobe start eth0 Password must be set first time Network Probe is started. Next time you start the Network Probe, it will run in background. Starting Network Probe... Probe startup initialized... reading protocol data... This is the first time Network Probe is started. The password for user "admin" must be set. Don't forget the password. Set the admin password:******* Repeat the admin password:******* These are the network adapters installed on your computer: ID, Adapter name 1, eth0 Please enter the ID for the adapter name you wish to use or enter 0 to quit: 1 Probe is running Please open http://srv-1.signalq.com:7030/ in your web browser. |
On the web client this screen pops up. Another entry shows up on the server side:
admin logged in from srv-1.signalq.com |
Here are some good screenshots of the running application, as well as other information. When we control-c and start the program again, it does, indeed run in the background, and has typical service options:
root@srv-1 netprobe-0.4 # ./netprobe start Starting Network Probe... reading protocol data... Probe is running Please open http://srv-1.signalq.com:7030/ in your web browser. root@srv-1 netprobe-0.4 # ./netprobe stop Stopping Network Probe... done root@srv-1 netprobe-0.4 # ./netprobe restart Network Probe is not running root@srv-1 netprobe-0.4 # ./netprobe start Starting Network Probe... reading protocol data... Probe is running Please open http://srv-1.signalq.com:7030/ in your web browser. root@srv-1 netprobe-0.4 # ./netprobe restart Stopping Network Probe... done Starting Network Probe... reading protocol data... Probe is running Please open http://srv-1.signalq.com:7030/ in your web browser. root@srv-1 netprobe-0.4 # |