Network Monitor?

Modulok modulok at gmail.com
Sun Aug 12 17:50:45 PDT 2007


On 8/12/07, Jack Barnett <jackbarnett at gmail.com> wrote:
>
> Is there a way to monitor what traffic is coming in/out of my network?
> For example: so me how much bandwidth emails are taking, how much http
> traffic (both in and outgoing), etc.
> I'd like a report broken down by "traffic type" like in windows.

If you're using ipfw(8) on a machine acting as a gateway and your
ruleset is configured with one rule per port, you can read the packet
and byte counters for each rule:

(root)# ipfw show;

By knowing what standard services correlate to each port (http on port
80, FTP on port 21, etc), you can get a pretty good idea of traffic.
It's not exactly the ideal solution, but it's a thought.

-Modulok-


More information about the freebsd-questions mailing list