[olug] Home bandwidth monitoring
Christopher Cashell
topher-olug at zyp.org
Mon Feb 26 00:49:47 CST 2018
I've done a bit of network monitoring in my time, although admittedly it's
usually been a slightly larger scale than home routers. ;-)
For home use, the easiest "go to" solution has traditionally been ntop. If
you can run it on a capture point (it works via libpcap), it will most
likely give you everything you want, and then some. It's a really slick
tool for getting a really good idea for how your network traffic is being
used. ntop is what I usually use at home for watching traffic. It's
available as a Debian/Ubuntu package, and I think the ntop folks have RPMs
available for CentOS/RHEL.
If you can't do that, you might be able to pull Netflow from a router or
switch (or linux box with a netflow generator setup on it). NetFlow (and
related protocols) capture traffic flow data from a network device and
export it for display and analysis, and includes IPs, ports, traffic
amounts, etc. It doesn't dig into packets, but lets you see what kind of
traffic is going where, and how much of it.
On Sun, Feb 25, 2018 at 9:19 PM, Dan Linder <dan at linder.org> wrote:
> And for anyone interested, I just came across a package called "YAMon" -
> Yet Another Monitor.
>
> http://usage-monitoring.com/
>
> I haven't looked into it in depth yet, but the reports and functionality
> seem like what I'm looking for.
>
> Dan
>
>
> On Sat, Feb 24, 2018 at 9:29 PM, Dan Linder <dan at linder.org> wrote:
>
> > Here is my first stab at a script to do something basic I wrote tonight.
> >
> > https://github.com/dglinder/NetBWMon
> >
> > Basically start it running on a system and it starts sniffing the network
> > port (I'm going to make a network tap for my RPi and put it on a common
> > link). It then dumps the stats of conversations to a text file for later
> > processing. I also need to prepend the time on each line to make
> > daily/hourly reports easier.
> >
> > It's a start, though I'm really surprised I didn't find anything that did
> > this pre-existing. Everything I found was for monitoring the bandwidth
> on
> > the single server it was running on.
> >
> > DanL
> >
> > On Wed, Feb 14, 2018 at 9:39 AM, Lou Duchez <lou at paprikash.com> wrote:
> >
> >> I use a Fedora server as my router, and I wrote a Perl script ages ago
> >> that checks the connection tracking table every second and spits out
> stats
> >> of which IPs are sending traffic to where. It's crude and I question
> its
> >> fine-grained accuracy, but it gives me a fair sense of what traffic is
> >> happening.
> >>
> >>
> >> I'm looking to setup a home network bandwidth monitoring system at home
> >>> and
> >>> wanted to see what others might have done.
> >>>
> >>> Optimally I want to see on a per-device level so I can track down
> >>> unexpected usage, but even tracking on a per-destination (YouTube,
> >>> Netflix,
> >>> Amazon Video) and/or per protocol (http/https, BitTorrent, IRC) would
> be
> >>> helpful.
> >>>
> >>> If I can get by with using a RPi with a network TAP I'd go that route,
> >>> but
> >>> I'm also open to reflashing my TP-Link Archer C9 router (nice one BTW)
> >>> with
> >>> something else if that helps.
> >>>
> >>> Anyone gone down this route recently?
> >>>
> >>> Dan
> >>>
> >>>
> >
> >
> > --
> > ***************** ************* *********** ******* ***** *** **
> > "If you wish to make an apple pie from scratch,
> > you must first invent the universe."
> > -- Carl Sagan
> >
> > "Quis custodiet ipsos custodes?"
> > (Who can watch the watchmen?)
> > -- from the Satires of Juvenal
> >
> > "I do not fear computers, I fear the lack of them."
> > -- Isaac Asimov (Author)
> > ** *** ***** ******* *********** ************* *****************
> >
>
>
>
> --
> ***************** ************* *********** ******* ***** *** **
> "If you wish to make an apple pie from scratch,
> you must first invent the universe."
> -- Carl Sagan
>
> "Quis custodiet ipsos custodes?"
> (Who can watch the watchmen?)
> -- from the Satires of Juvenal
>
> "I do not fear computers, I fear the lack of them."
> -- Isaac Asimov (Author)
> ** *** ***** ******* *********** ************* *****************
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://www.olug.org/mailman/listinfo/olug
>
--
Christopher
More information about the OLUG
mailing list