I need a simple program which I cannot find anywhere.
It will be used to see traffic on specific ports. It should be console based and will be used via SSH.
The lower you will charge the better, as I do not think this should be very complicated. If you know of a program that does what I am asking for already, I would be most grateful if you could show me to it as I cannot find any.
Full details of what I need are in the Deliverables section.
## Deliverables
All I need is a program that will do the following:
1. Allow me to start it with screen application (works with it)
2. Specify which port/s I wish to listen to.
3. Allow me to specify kilobits, kilobytes, megabits, megabytes, gigabits, or gigabytes to be used as the data format
The program would then listen to the specified port/s and show/do the following:
a. Data (in format specified above) per second ingoing/outgoing/total on selected port
b. Average amount of data per second/minute/hour that is ingoing/outgoing/total on selected port*
c. Show amount of data that went ingoing/outgoing/total for the past minute/hour on selected port*
d. A total, showing how much data has been ingoing/outgoing/total on the selected port since the program was started, and show the date and time that the program was started.
e. A total showing the ingoing/outgoing/total of all specified ports combined since the program was started. Again need to see when program was started somewhere.
f. The ability to add a port to listen to after the program was started already. This would have to show the start date and time when this port was added to be listened to instead of the program start date. Also would like ability to switch between data formats (specified above) at any time.
----------------------------------------------
What is very important is that each port must be separate; I need to be able to see the data for each port alone, as well as combined (as written in d and e). For instance I should see the total since it was started for port 100, then be able to move down to see the total for port 200. The clearer and easier to see all the info the better.
When I say selected port I mean the keyboard, or arrow key, has moved on it, and it displays its relevant info. If you move the arrow to another port it shows that’s ports info.
If it would not be possible to display all the info of ingoing/outgoing and total on the requirements marked with *’s easily and clearly, then it would be enough to just show the total for those. The others would still need ingoing/outgoing/total.
The program must be console based as I will be using it over SSH. I would like it to be easy to use, using the up/down arrow to switch between port info and for menus (if any menus are required). You can see an example of this kind of interface here: [login to view URL]
I would like the program in a [login to view URL] file, but other formats are ok too most likely. It needs to have an easy installation with instructions.
It also needs to create a link, so that when I type the program name it starts, rather then the whole path to the program. A name I thought of is portlog. You can suggest a different name.
That is all, thanks for reading. If you have any questions feel free to ask.
## Platform
I need it to run on Linux, in particular Red Hat 9.0 and 7.3. It's better if it can run on all or most Linux distros.