Results 1 to 3 of 3

Thread: Can't get Bandwidthd working properly

  1. #1
    Join Date
    Jan 2005
    Location
    Perth, Western Australia
    Beans
    77
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Can't get Bandwidthd working properly

    Recently our houses internet usage has skyrocketed and i'm trying to keep an eye on it using bandwidthd (installed on the server). It installed fine and counts traffic fine, the problem is we have a server that hosts our music/movies/etc and when people pull music off the server it skews their bandwidth usage.

    I'm looking for a way to exclude all traffic on the local network and only count internet traffic.

    This is the filtering part of the config file
    Code:
    #Libpcap format filter string used to control what bandwidthd see's
    #Please always include "ip" in the string to avoid strange problems
    filter "ip and not ((src net 192.168.0) and (dst net 192.168.0))"
    Using this results in no traffic being counted, local or external.
    Why wouldn't this be working?

    All computers on the network have IPs in the range 192.168.0.x
    The server IP is 192.168.0.150

  2. #2
    Join Date
    Nov 2009
    Location
    Pretoria, South Africa
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't get Bandwidthd working properly

    What software did you install to perform your accounting? I would like to do the same for my setup at home.
    "verum ipsum factum" - Giambattista Vico, Italian philosopher
    Ubuntu User #31974 | Linux User #518527
    Can we try and use thread tools and mark it [SOLVED]? Thanks!

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Can't get Bandwidthd working properly

    You would need to place it between the local machines and the internet.

    You could set it up as a router, but it would be better to just use a router that can use dd-wrt, as it has bandwidthd installed.

    If you've got a file server also handling routing, you are putting all yer eggs in one basket and if that server is compromised, you are boned.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •