LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Monitor bandwidth usage and attempted usage! (https://www.linuxquestions.org/questions/linux-networking-3/monitor-bandwidth-usage-and-attempted-usage-454692/)

Depressed_amphibian 06-14-2006 10:11 AM

Monitor bandwidth usage and attempted usage!
 
Ok here's the deal:
One times slackbox on customer premises acting as Internet gateway. On eth0 I have ADSL router on eth1 I have LAN connection.
What is required:
I need to know all traffic trying to escape the network (all except needed ports are fire walled and I need to know what is trying to get out) as well as all traffic leaving and entering the network.
MRTG is not an option. I have tried a host of different applications and nothing can give me the desired result.
I need something that I can install on remote box and leave for a few days to see how much has been blocked and how much has been let through.
The customers need this data to find out what might be hogging their bandwidth at other branches aswell.
(branches without Linux box)

I have searched through the forums and found nothing of any real help(using google site search).
I need assistance please.

win32sux 06-14-2006 02:17 PM

Quote:

Originally Posted by Depressed_amphibian
I need to know all traffic trying to escape the network (all except needed ports are fire walled and I need to know what is trying to get out) as well as all traffic leaving and entering the network.

have you tried iptraf or netwatch?? they are both included in slackware...

as for a web-based solution, i've used bandwidthd before and found it to be very nice...

Quote:

MRTG is not an option.
why not?? is it because you can't use a web-based solution?? are you looking for something command-line based??

Quote:

I have tried a host of different applications and nothing can give me the desired result.
it would be great if you could tell us which applications you've already tried so that we don't waste time suggesting something only to get a reply like "i already tried that and it doesn't do it for me"...

Quote:

I need something that I can install on remote box and leave for a few days to see how much has been blocked and how much has been let through.
well, iptraf sounds like it might be a good choice...

Depressed_amphibian 06-15-2006 07:08 AM

Thanks for the suggestion. bandwidthd was just the thing I was looking for.
I needed a detailed account of what was happening on the network, not just a rough overview.
So this provides me with just what I need.

Thanks again!

Depressed_amphibian 06-15-2006 07:13 AM

oh BTW I HAD SOME TROUBLES with iptraf not logging anything. It would create the log file but would not log anything.
More than likely I just was not using the command correctly but anyway I could not collect all the data at once in a nice easily presentable way.


All times are GMT -5. The time now is 04:46 AM.